Re: Compilation Error

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Qwerty Asdfg wrote:

> 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

the last ld instructions seem to be coming from mysql_config and hence
this is up to your mysql installation and/or your system setup, which
seems unable to find the standard C library.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.