PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: nh at 1go dot dk
Subject: DBD::Sybase compile problems (warning: `local_patches' defined but not used)
Date: Jun 18 2004 8:59AM

I have some problems compiling DBD::Sybase. I've tried ealier versions and
ealier versions of freetds. But simply can't get it to compile properly.

# make
gcc -c  -I/usr/local/include -DNO_THREADS
-I/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -pipe   -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\"
-fPIC "-I/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function `clientmsg_cb':
dbdimp.c:174: warning: long int format, int arg (arg 3)
dbdimp.c:174: warning: long int format, int arg (arg 4)
dbdimp.c:177: warning: long int format, int arg (arg 3)
dbdimp.c:177: warning: long int format, int arg (arg 4)
dbdimp.c: In function `servermsg_cb':
dbdimp.c:373: warning: long int format, CS_MSGNUM arg (arg 3)
dbdimp.c:373: warning: long int format, CS_INT arg (arg 4)
dbdimp.c:376: warning: long int format, CS_INT arg (arg 3)
dbdimp.c:376: warning: long int format, CS_INT arg (arg 4)
dbdimp.c: In function `syb_init':
dbdimp.c:609: warning: unused variable `boolean'
dbdimp.c: In function `syb_db_connect':
dbdimp.c:935: error: `CS_MAX_CONNECT' undeclared (first use in this function)
dbdimp.c:935: error: (Each undeclared identifier is reported only once
dbdimp.c:935: error: for each function it appears in.)
dbdimp.c:1158: error: `CS_PROP_SSL_CA' undeclared (first use in this
function)
dbdimp.c: In function `syb_db_opentran':
dbdimp.c:1464: warning: unsigned int format, pointer arg (arg 3)
dbdimp.c: In function `dbd_preparse':
dbdimp.c:1974: warning: unused variable `STATES'
dbdimp.c: In function `syb_bind_ph':
dbdimp.c:3925: warning: operation on `lna' may be undefined
dbdimp.c: In function `fetch_data':
dbdimp.c:4065: warning: long int format, CS_INT arg (arg 3)
/usr/include/bits/mathinline.h: At top level:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/patchlevel.h:121:
warning: `local_patches' defined but not used
make: *** [dbdimp.o] Error 1



Any help would be appriciated

Best Regards
Michael