note
dsb
output from the failures in <tt>make</tt>:
<code>
>:~/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/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c
cc -c -I/apps/sybase/include -DSYB_LP64 -I/export/home/scratch/perl/lib/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_OFFSET_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/lib/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_OFFSET_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 incompatible pointer type
/apps/sybase/include/ctpublic.h:363: note: expected ‘CS_INT *’ but argument is of type ‘int *’
dbdimp.c:3930: warning: passing argument 5 of ‘ct_bind’ from incompatible pointer type
/apps/sybase/include/ctpublic.h:110: note: expected ‘CS_INT *’ but argument 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/usr/local/lib -fstack-protector Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so \
-L/apps/sybase/lib -lct -lcs -lcomn -lintl -lblk -lskrb -ldl -lm \
/usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.so when searching for -lct
/usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.a when searching for -lct
/usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.so when searching for -lct
/usr/bin/ld: skipping incompatible /apps/sybase/lib/libct.a when searching for -lct
/usr/bin/ld: cannot find -lct
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Sybase/Sybase.so] Error 1
</code>
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.
<br>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-6762">
<P>
<b>dsb</b><br>
<font size="-1">This <TT>@ISA my( $cool ) %SIG</TT></font>
</div></div>
1087016
1087162