ot00ng wrote:
dear all...

I just try to compile Kannel-1.4.0 to my Solaris 10
sparc box
with:
# ./configure --disable-ssl --disable-docs
--disable-assertions
# gmake
but it always end up with:
--
gcc -D_REENTRANT=1 -I. -Igw  -DSunOS=1
-I/usr/include/libxml2  -o utils/mtbatch
utils/mtbatch.o libgw.a libwmlscript.a libwap.a
libgwlib.a -lrt -lresolv -lnsl -lsocket -lm  -lpthread
-L/usr/lib -R/usr/lib -lxml2 -lz -lpthread -lm
-lsocket -lnsl

Undefined                       first referenced
 symbol                             in file
libiconv_close libgwlib.a(charset.o) libiconv_open libgwlib.a(charset.o) libiconv libgwlib.a(charset.o)
ld: fatal: Symbol referencing errors. No output
written to utils/mtbatch
collect2: ld returned 1 exit status
gmake: *** [utils/mtbatch] Error 1
--
I search in list with similar problem, I should add
"-lrt" but in 1.4.0 the Makefile already have
"-lrt"...
anything that I miss, to make it success?


you are missing the iconv() et al functions, so the linker can't find the references. I'm not quite sure which library on Solaris contains the functions, but you may addd libiconv.a to the build stage.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to