OK, I have installed 32 bit binary package of mysql and it compiled OK.
I just curious if somebody tried to build 64 bit kannel binaries and how stable they are. P.S. Are Solaris users forced to use revision 1.140? On Wednesday 23 March 2005 19:00, Stipe Tolj wrote: > David Chkhartishvili wrote: > > I've reverted to revision 1.140 (configure.in). autoconf reported > > similar error as in latest rev, but configure script found mysql > > libraries. > > > > compilation returned error: > > > > ld: warning: file /usr/local/mysql/lib/libmysqlclient_r.a(libmysql.o): > > wrong ELF class: ELFCLASS64 > > Undefined first referenced > > symbol in file > > mysql_get_client_info libgw.a(shared.o) > > ld: fatal: Symbol referencing errors. No output written to utils/mtbatch > > collect2: ld returned 1 exit status > > gmake: *** [utils/mtbatch] Error 1 > > hm, did you compile mysql on your own on the box or installed a solaris > package? > > obviously the linkder (ld) is unable to include the reentrant mysqlclient > lib while in linking stage, and hence the reference to > mysql_get_client_info() fails. > > So it's obviusly something "wrong" with the libmysqllcient_r.a lib here. > Don't know. > > Ok, googling for the ld error brings up: the ld threads the > libmysqlclient_r.a as 32bit file, since you build Kannel in 32bit as it > seems. But he finds 64bit objects in there. > > Please check your gcc version on how to make Kannel build in 64bit mode. > (hint: gcc -m64 ?) which would mean do a > > $ ./configure --with-cflags="-m64" > > Stipe > > mailto:stolj_{at}_wapme.de > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 DÃsseldorf, NRW, Germany > > phone: +49.211.74845.0 > fax: +49.211.74845.299 > > mailto:info_{at}_wapme-systems.de > http://www.wapme-systems.de/ > ------------------------------------------------------------------- -- Best Regards, David Chkhartishvili MagtiCom Ltd. Tel: +995 32 321881 Fax: +995 32 252551 Mob: +995 99 182418 www.magtigsm.com