Re: Kannel-1.4.0 Error Compile in Solaris 10?
"Luis Augusto C. Sauerbronn" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, You can find many opensource programs and libraries packaged for Solaris (Sparc and x86) in http://www.sunfreeware.com. Libiconv is there: http://www.sunfreeware.com/programlistsparc10.html#libiconv Sauer 2006/6/22, Stipe Tolj <[email protected]>: > > 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 > ------------------------------------------------------------------- > > -- Luis Augusto C. Sauerbronn Prill Tecnologia [email protected] Cel: +55 21 91631329