<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 18: cannot compile under opensuse11 64 bit</title><link href="https://sourceforge.net/p/rexxsql/support-requests/18/" rel="alternate"/><link href="https://sourceforge.net/p/rexxsql/support-requests/18/feed.atom" rel="self"/><id>https://sourceforge.net/p/rexxsql/support-requests/18/</id><updated>2008-09-01T18:12:31Z</updated><subtitle>Recent changes to 18: cannot compile under opensuse11 64 bit</subtitle><entry><title>cannot compile under opensuse11 64 bit</title><link href="https://sourceforge.net/p/rexxsql/support-requests/18/" rel="alternate"/><published>2008-09-01T18:12:31Z</published><updated>2008-09-01T18:12:31Z</updated><author><name>andy</name><uri>https://sourceforge.net/u/andycorpes/</uri></author><id>https://sourceforge.netbe6007b2bfff0b5847b8cb1708cd506c580e42b3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;../configure --with-rexx=regina --with-db=mysq runs fine, but make issues a number of errors as show below.&lt;/p&gt;
&lt;p&gt;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&lt;/p&gt;
&lt;p&gt;any idea's where i have gone wrong?&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Here is the result of the make:-&lt;/p&gt;
&lt;p&gt;AC85489@ac85489n:~/.local/share/Trash/files/RexxSQL-2_1.5/regina&amp;gt; make&lt;br /&gt;
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&lt;br /&gt;
../common/loader.c:21: warning: ‘RCSid’ defined but not used&lt;br /&gt;
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&lt;br /&gt;
../my/my.c: In function ‘FetchRow’:&lt;br /&gt;
../my/my.c:1143: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c: In function ‘FetchInfoRow’:&lt;br /&gt;
../my/my.c:1279: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1299: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1303: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1305: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1307: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1309: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1313: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1315: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1317: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1319: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1321: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c:1323: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c: In function ‘SetRowCountVar’:&lt;br /&gt;
../my/my.c:1343: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c: In function ‘SetInfoRowCountVar’:&lt;br /&gt;
../my/my.c:1363: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c: In function ‘GetColumn’:&lt;br /&gt;
../my/my.c:2338: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’&lt;br /&gt;
../my/my.c:2340: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’&lt;br /&gt;
../my/my.c: In function ‘SQLValSetSupportsTransactions’:&lt;br /&gt;
../my/my.c:2578: warning: unused variable ‘show_variables’&lt;br /&gt;
In file included from ../my/my.c:2767:&lt;br /&gt;
../general/rxsqlinc2.h: In function ‘SetRowCount’:&lt;br /&gt;
../general/rxsqlinc2.h:957: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’&lt;br /&gt;
../my/my.c: At top level:&lt;br /&gt;
../my/my.c:38: warning: ‘RCSid’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:859: warning: ‘SelectStatement’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1180: warning: ‘CountQuestionMarks’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1346: warning: ‘InitRexxSQL’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1355: warning: ‘TerminateRexxSQL’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1221: warning: ‘ArrayToArgv’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1298: warning: ‘ArgvToArgv’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1320: warning: ‘FreeArgv’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:668: warning: ‘ValidateDataType’ defined but not used&lt;br /&gt;
../general/rxsqlinc2.h:1535: warning: ‘DumpBucket’ defined but not used&lt;br /&gt;
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&lt;br /&gt;
../common/rxpack.c:19: warning: ‘RCSid’ defined but not used&lt;br /&gt;
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&lt;br /&gt;
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&lt;br /&gt;
/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&lt;br /&gt;
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lmysqlclient&lt;br /&gt;
collect2: ld returned 1 exit status&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>