Re: Compiling kannel 1.4 on FC3
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
It seems that kannel is not linking it. Just add library ti the Makefile. Aarno On 30 Nov 2005, at 02:28, <[email protected]> <[email protected]> wrote: > > I'm compiling kannel version 1.4 > using gcc-3.4 and libiconv-1.9.1 on FC3 > > Can somebody help me on my problem? > > CFLAGS='-Wall -O2 -g' ./configure --includedir=/usr/local/lib/ > --libdir=/usr/include/ --disable-wap --disable-ssl > > make > > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g -D_XOPEN_SOURCE=600 - > D_BSD_SOURCE > -I/usr/include/libxml2 -o utils/seewbmp.o -c utils/seewbmp.c > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g -D_XOPEN_SOURCE=600 - > D_BSD_SOURCE > -I/usr/include/libxml2 -o utils/mtbatch.o -c utils/mtbatch.c > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g -D_XOPEN_SOURCE=600 - > D_BSD_SOURCE > -I/usr/include/libxml2 -o utils/run_kannel_box.o -c utils/ > run_kannel_box.c > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g -D_XOPEN_SOURCE=600 - > D_BSD_SOURCE > -I/usr/include/libxml2 -rdynamic -o wmlscript/wmlsc wmlscript/ > wmlsc.o libgw.a > libwmlscript.a libwap.a libgwlib.a -lrt -lresolv -lnsl -lm -lpthread > -L/usr/lib -lxml2 -lz -lpthread -lm > libgwlib.a(charset.o)(.text+0x5c0): In function `charset_convert': > gwlib/charset.c:536: undefined reference to `libiconv_open' > libgwlib.a(charset.o)(.text+0x638):gwlib/charset.c:550: undefined > reference to > `libiconv' > libgwlib.a(charset.o)(.text+0x643):gwlib/charset.c:551: undefined > reference to > `libiconv_close' > collect2: ld returned 1 exit status > make: *** [wmlscript/wmlsc] Error 1 > > >