Symptom
When you make the DBD::SQLAnywhere, the following error occurs.
cp SQLAnywhere.pm blib/lib/DBD/SQLAnywhere.pm
cp lib/DBD/SQLAnywhere/GetInfo.pm blib/lib/DBD/SQLAnywhere/GetInfo.pm
/bin/sh -c true
/bin/sh -c true
/usr/bin/perl -p -e "s/~DRIVER~/SQLAnywhere/g" < /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/Driver.xst > SQLAnywhere.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap SQLAnywhere.xs > SQLAnywhere.xsc && mv SQLAnywhere.xsc SQLAnywhere.c
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xCC -g -O -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -D_SACAPI_VERSION=2 -DUNIX SQLAnywhere.c
"SQLAnywhere.xs", line 100: warning: implicit function declaration: sqlanywhere_st_more_results
cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xCC -g -O -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -D_SACAPI_VERSION=2 -DUNIX dbdimp.c
"dbdimp.c", line 70: undefined symbol: LOCK_DOLLARZERO_MUTEX
"dbdimp.c", line 85: undefined symbol: UNLOCK_DOLLARZERO_MUTEX
"dbdimp.c", line 98: undefined symbol: LOCK_DOLLARZERO_MUTEX
"dbdimp.c", line 100: undefined symbol: UNLOCK_DOLLARZERO_MUTEX
"dbdimp.c", line 108: undefined symbol: LOCK_DOLLARZERO_MUTEX
"dbdimp.c", line 129: undefined symbol: UNLOCK_DOLLARZERO_MUTEX
cc: acomp failed for dbdimp.c
*** Error code 2
make: Fatal error: Command failed for target `dbdimp.o'
Read more...
Environment
- SAP IQ 15.4
- SAP IQ 16.0
- SAP SQL Anywhere 12.0.1
- SAP SQL Anyhwere 16.0
- SAP SQL Anyhwere 17.0
Product
Keywords
KBA , BC-SYB-IQ , Sybase IQ , BC-SYB-SQA-CLI , SQL Anywhere - Client libraries (odbc, jdbc ...) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.