This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DBD-ODBC Perl module fails to compile



Hi,

I have the following errors when trying to compile DBD-ODBC :

$ make
gcc -c -I. -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE ODBC.c
In file included from /usr/include/w32api/sql.h:9,
                 from dbdodbc.h:6,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/usr/include/w32api/sqltypes.h:13: parse error before `UDWORD'
/usr/include/w32api/sqltypes.h:13: warning: data definition has no type or storage class
/usr/include/w32api/sqltypes.h:14: parse error before `UWORD'
/usr/include/w32api/sqltypes.h:14: warning: data definition has no type or storage class
/usr/include/w32api/sqltypes.h:20: parse error before `PTR'
...a lot of same parse error. 

I read the README.cygwin, but it seems to be rather old, speaking
about Windows ODBC headers and import libraries, but the http link is
broken. Don't know if it's related to my problem.

-- 
Julien Gilles


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]