Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 cannot compile under opensuse11 64 bit

open
nobody
None
5
2008-09-01
2008-09-01
andy
No

Hi,

I've installed Regina-3.4-1.x86_64 under suse 11.0 64 and i now want to install REXXSQL from RexxSQL-2.5.

../configure --with-rexx=regina --with-db=mysq runs fine, but make issues a number of errors as show below.

I did need to fetch the sources for mysql, and could not find any that where specifically for mysql 5.0 64 bit, so i used these: MySQL-devel-5.0.51a-0.i386

any idea's where i have gone wrong?

Here is the result of the make:-

AC85489@ac85489n:~/.local/share/Trash/files/RexxSQL-2_1.5/regina> make
gcc -c -O2 -m64 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG -I. -I.. -I../my -I../common -I../general -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/mysql -I../my -o loader.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../common/loader.c
../common/loader.c:21: warning: ‘RCSid’ defined but not used
gcc -c -O2 -m64 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG -I. -I.. -I../my -I../common -I../general -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/mysql -I../my -o my.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../my/my.c
../my/my.c: In function ‘FetchRow’:
../my/my.c:1143: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c: In function ‘FetchInfoRow’:
../my/my.c:1279: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1299: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1303: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1305: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1307: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1309: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1313: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1315: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1317: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1319: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1321: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c:1323: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’
../my/my.c: In function ‘SetRowCountVar’:
../my/my.c:1343: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
../my/my.c: In function ‘SetInfoRowCountVar’:
../my/my.c:1363: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
../my/my.c: In function ‘GetColumn’:
../my/my.c:2338: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
../my/my.c:2340: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
../my/my.c: In function ‘SQLValSetSupportsTransactions’:
../my/my.c:2578: warning: unused variable ‘show_variables’
In file included from ../my/my.c:2767:
../general/rxsqlinc2.h: In function ‘SetRowCount’:
../general/rxsqlinc2.h:957: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
../my/my.c: At top level:
../my/my.c:38: warning: ‘RCSid’ defined but not used
../general/rxsqlinc2.h:859: warning: ‘SelectStatement’ defined but not used
../general/rxsqlinc2.h:1180: warning: ‘CountQuestionMarks’ defined but not used
../general/rxsqlinc2.h:1346: warning: ‘InitRexxSQL’ defined but not used
../general/rxsqlinc2.h:1355: warning: ‘TerminateRexxSQL’ defined but not used
../general/rxsqlinc2.h:1221: warning: ‘ArrayToArgv’ defined but not used
../general/rxsqlinc2.h:1298: warning: ‘ArgvToArgv’ defined but not used
../general/rxsqlinc2.h:1320: warning: ‘FreeArgv’ defined but not used
../general/rxsqlinc2.h:668: warning: ‘ValidateDataType’ defined but not used
../general/rxsqlinc2.h:1535: warning: ‘DumpBucket’ defined but not used
gcc -c -O2 -m64 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG -I. -I.. -I../my -I../common -I../general -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/mysql -I../my -o rxpack.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../common/rxpack.c
../common/rxpack.c:19: warning: ‘RCSid’ defined but not used
gcc -c -O2 -m64 -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG -I. -I.. -I../my -I../common -I../general -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.5"\" -DREXXSQL_DATE=\""15 Oct 2006"\" -I/usr/include -I/usr/include/mysql -I../my -o rxmt_notmt.o -DINIT_RXPACKAGE=init_RexxSQL -DTERM_RXPACKAGE=term_RexxSQL ../common/rxmt_notmt.c
gcc -m64 -o rexxsql loader.o my.o rxpack.o rxmt_notmt.o -L/usr/lib64 -lregina -lm -lnsl -lcrypt -ldl -L/usr/lib/mysql -lmysqlclient -lz -lm -lnsl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status

Discussion