http://qs1969.pair.com?node_id=1087253


in reply to Re: building perl with 64-bit
in thread building perl with 64-bit

output from the failures in make:
>:~/packages/DBD-Sybase-1.15$ make 2>&1 | tee -a make.1.log cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod cp Sybase.pm blib/lib/DBD/Sybase.pm /export/home/scratch/perl/bin/perl -p -e "s/~DRIVER~/Sybase/g" /export +/home/scratch/perl/lib/site_perl/5.16.3/x86_64-linux/auto/DBI/Driver. +xst > Sybase.xsi /export/home/scratch/perl/bin/perl /export/home/scratch/perl/lib/5.16. +3/ExtUtils/xsubpp -typemap /export/home/scratch/perl/lib/5.16.3/ExtU +tils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c cc -c -I/apps/sybase/include -DSYB_LP64 -I/export/home/scratch/perl/l +ib/site_perl/5.16.3/x86_64-linux/auto/DBI -fno-strict-aliasing -pipe +-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OF +FSET_BITS=64 -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I +/export/home/scratch/perl/lib/5.16.3/x86_64-linux/CORE" Sybase.c cc -c -I/apps/sybase/include -DSYB_LP64 -I/export/home/scratch/perl/l +ib/site_perl/5.16.3/x86_64-linux/auto/DBI -fno-strict-aliasing -pipe +-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OF +FSET_BITS=64 -O2 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I +/export/home/scratch/perl/lib/5.16.3/x86_64-linux/CORE" dbdimp.c dbdimp.c: In function ‘syb_st_execute’: dbdimp.c:3906: warning: passing argument 2 of ‘ct_results’ from incomp +atible pointer type /apps/sybase/include/ctpublic.h:363: note: expected ‘CS_INT *’ but arg +ument is of type ‘int *’ dbdimp.c:3930: warning: passing argument 5 of ‘ct_bind’ from incompati +ble pointer type /apps/sybase/include/ctpublic.h:110: note: expected ‘CS_INT *’ but arg +ument is of type ‘int *’ Running Mkbootstrap for DBD::Sybase () chmod 644 Sybase.bs rm -f blib/arch/auto/DBD/Sybase/Sybase.so LD_RUN_PATH="/apps/sybase/lib" cc -L/apps/sybase/lib -shared -O2 -L/u +sr/local/lib -fstack-protector Sybase.o dbdimp.o -o blib/arch/auto/D +BD/Sybase/Sybase.so \ -L/apps/sybase/lib -lct -lcs -lcomn -lintl -lblk -lskrb -ld +l -lm \ /usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.so when sear +ching for -lct /usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.a when searc +hing for -lct /usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.so when sear +ching for -lct /usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.a when searc +hing for -lct /usr/bin/ld: cannot find -lct collect2: ld returned 1 exit status make: *** [blib/arch/auto/DBD/Sybase/Sybase.so] Error 1
Part of my own confusion is whether I need to point the CONFIG towards the freetds directories or the sybase directories. These are errors are with the sybase directories.

dsb
This @ISA my( $cool ) %SIG