Subject: | Fails to compile on RHEL 64 |
I compiled DBD-Sybase 1.08 using DBI 1.604, and the perl Makefile.PL
works fine, but then when I do a make I get this
Sybase.xsi:275: error: invalid lvalue in assignment
Sybase.xsi: In function âXS_DBD__Sybase__db_DESTROYâ:
Sybase.xsi:334: error: invalid lvalue in assignment
make: *** [Sybase.o] Error 1
Subject: | DBD_sybase_error.txt |
gcc -c -I/usr/local/include -DNO_THREADS -DSYB_LP64 -DNO_BLK=1 -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Sybase.c
In file included from Sybase.h:50,
from Sybase.xs:14:
dbdimp.h:32: error: expected specifier-qualifier-list before âCS_BIGINTâ
Sybase.c: In function âXS_DBD__Sybase__db__isdeadâ:
Sybase.c:103: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__db__date_fmtâ:
Sybase.c:121: warning: unused variable âixâ
Sybase.xs: In function âXS_DBD__Sybase__db_pingâ:
Sybase.xs:83: warning: implicit declaration of function âsyb_pingâ
Sybase.xs: In function âXS_DBD__Sybase__st_cancelâ:
Sybase.xs:95: warning: implicit declaration of function âsyb_st_cancelâ
Sybase.c:157: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__st_ct_get_dataâ:
Sybase.c:175: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__st_ct_data_infoâ:
Sybase.c:205: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__st_ct_send_dataâ:
Sybase.c:240: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__st_ct_prepare_sendâ:
Sybase.c:260: warning: unused variable âixâ
Sybase.c: In function âXS_DBD__Sybase__st_ct_finish_sendâ:
Sybase.c:278: warning: unused variable âixâ
Sybase.xsi: In function âXS_DBD__Sybase__db_disconnectâ:
Sybase.xsi:275: error: invalid lvalue in assignment
Sybase.xsi: In function âXS_DBD__Sybase__db_DESTROYâ:
Sybase.xsi:334: error: invalid lvalue in assignment
make: *** [Sybase.o] Error 1