Hi Michael
 I'm trying to compile this on a x86_64 platform running SuSE Enterprise
Server 8.
I had to edit the Makefile.PL to have the ldflags & lddlflags point to
$SYBASE/lib64

This is what I get:


Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lsybtcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Using DBI 1.42 (for perl 5.008001 on x86_64-linux-thread-multi) installed
in /usr/lib/perl5/site_perl/5.8.1/x86_64-linux-thread-multi/auto/DBI
Writing Makefile for DBD::Sybase
cfl-squidward:/opt/src/suse/perl_cruft/DBD-Sybase-1.03 # make
cc -c  -I/usr/include -DNO_THREADS  -DSYB_LP64
-I/usr/lib/perl5/site_perl/5.8.1/x86_64-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-Wall -pipe   -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -fPIC
"-I/usr/lib/perl5/5.8.1/x86_64-linux-thread-multi/CORE"   Sybase.c
Sybase.xs: In function `XS_DBD__Sybase__st_cancel':
Sybase.xs:75: warning: implicit declaration of function `syb_st_cancel'
Sybase.c: In function `XS_DBD__Sybase__st_ct_data_info':
Sybase.xs:99: warning: `sybaction' might be used uninitialized in this
function
cc -c  -I/usr/include -DNO_THREADS  -DSYB_LP64
-I/usr/lib/perl5/site_perl/5.8.1/x86_64-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-Wall -pipe   -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -fPIC
"-I/usr/lib/perl5/5.8.1/x86_64-linux-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function `clientmsg_cb':
dbdimp.c:174: warning: long int format, different type arg (arg 3)
dbdimp.c:174: warning: long int format, different type arg (arg 4)
dbdimp.c:177: warning: long int format, different type arg (arg 3)
dbdimp.c:177: warning: long int format, different type arg (arg 4)
dbdimp.c: In function `servermsg_cb':
dbdimp.c:373: warning: long int format, different type arg (arg 3)
dbdimp.c:373: warning: long int format, different type arg (arg 4)
dbdimp.c:376: warning: long int format, different type arg (arg 3)
dbdimp.c:376: warning: long int format, different type 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: `CS_MAX_CONNECT' undeclared (first use in this function)
dbdimp.c:935: (Each undeclared identifier is reported only once
dbdimp.c:935: for each function it appears in.)
dbdimp.c:1158: `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, different type arg (arg 3)
/usr/include/bits/stdio.h: At top level:
/usr/lib/perl5/5.8.1/x86_64-linux-thread-multi/CORE/patchlevel.h:121:
warning: `local_patches' defined but not used
make: *** [dbdimp.o] Error 1

-- 
Brian Millett
Enterprise Consulting Group  "Shifts in paradigms
(314) 205-9030           often cause nose bleeds."
bpmATec-groupDOTcom                     Greg Glenn



Reply via email to