Mail Archives: cygwin/2002/03/25/17:36:46
DBD::ODBC Version 0.38 builds and passes the tests, but 0.39 wont even
compile. Here are the error messages:
$ make
cp ODBC.pm blib/lib/DBD/ODBC.pm
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" <
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c
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.39\"
-DXS_VERSION=\"0.39\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE ODBC.c
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.39\"
-DXS_VERSION=\"0.39\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE dbdimp.c
dbdimp.c: In function `odbc_db_login6':
dbdimp.c:211: `SQL_ATTR_ODBC_VERSION' undeclared (first use in this function)
dbdimp.c:211: (Each undeclared identifier is reported only once
dbdimp.c:211: for each function it appears in.)
dbdimp.c:211: `SQL_IS_INTEGER' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:1644: warning: `_dbd_rebind_ph' was declared implicitly `extern'
and later `static'
dbdimp.c:1190: warning: previous declaration of `_dbd_rebind_ph'
make: *** [dbdimp.o] Error 1
When I look, the undeclared symbols are really, truly undefined.
SQL_ATTR_ODBC_VERSION does not even appear to exist in version 0.38.
(BTW, as far as I can tell, the patch file used some time ago by CYGWIN
users to fix the Makefile.pl has been fully incorporated into more recent
builds, so I know that is not the problem.)
I just upgraded today to the latest version of CYGWIN, and with it comes
perl v5.6.1.
- Paul
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Paul Anton Chernoch
Zeborg, Inc.
500 West Cummings Park
Woburn, MA 01801
t: 781.759.0105
f: 781.935.5090
c: 781.606.7382
http://www.zeborg.com
This message is a personal and confidential communication. If you are not
the intended recipient, please do not read, copy, or use it, and do not
disclose it to others. Please notify the sender of the delivery error by
replying to this message, and then delete it from your system. Thank you.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
--
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/
- Raw text -