Compilation Error
Qwerty Asdfg <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I encountered some problems when I try to compile the gateway-1.1.6 ..I try to enable the mysql dlr ... ./configure --with-mysql=/root/mysql/mysql-3.23.49 --disable-docs --enable-mysql-dlr Configuring MySQL support ... checking for mysql_config... (cached) /usr/bin/mysql_config checking mysql version... 3.23.49a checking for mysql/mysql.h... (cached) yes checking for mysql/mysql_com.h... (cached) yes checking for mysql/mysql_version.h... (cached) yes checking for mysql_init in -lmysqlclient... (cached) no then some errors occur... gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/include/libxml -I/usr/include -I/usr/include/openssl -I'/usr/include/mysql' -o gwlib/utils.o -c gwlib/utils.c gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/include/libxml -I/usr/include -I/usr/include/openssl -I'/usr/include/mysql' -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c ar rc libgwlib.a gwlib/accesslog.o gwlib/cfg.o gwlib/charset.o gwlib/conn.o gwlib/counter.o gwlib/date.o gwlib/dict.o gwlib/fdset.o gwlib/gwlib.o gwlib/gwmem-check.o gwlib/gwmem-native.o gwlib/gwpoll.o gwlib/gwthread-pthread.o gwlib/http.o gwlib/list.o gwlib/log.o gwlib/octstr.o gwlib/parse.o gwlib/pki.o gwlib/protected.o gwlib/semaphore.o gwlib/socket.o gwlib/ssl.o gwlib/thread.o gwlib/utils.o gwlib/xmlrpc.o ranlib libgwlib.a gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/include/libxml -I/usr/include -I/usr/include/openssl -I'/usr/include/mysql' -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lpthread -lresolv -lnsl -lm -L/usr/lib -lxml2 -lz -L/lib -lm -L/usr/lib -lcrypto -lssl -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm -Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Need help.... Advanced thanks.... Regards, a2kannel --------------------------------- Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax