Hi,
 
I have downloaded the latest log4cxx version from http://littletux.homelinux.org/log4cxx/ (log4cxx-.9.8.tar.gz   11-Mar-2006 12:32   716k). When I tried to build the source on Solaris 5.8 with APR-1.2.2 & apr-util-1.2.2 using configure script, i got the following link errors
 
--------------------------------------------------------------------------------
CC -g -o .libs/simplesocketserver simplesocketserver.o -xarch=v8plus  -L/home/vinayakm/source/bkp/tools/apr-1.2.2 -L/home/vinayakm/source/bkp/tools/apr-util-1.2.2 -L/home/vinayakm/source/bkp/tools/apr-util-1.2.2/xml/expat/lib ../src/.libs/liblog4cxx.so /home/vinayakm/source/bkp/tools/apr-util-1.2.2/.libs/libaprutil-1.so /home/vinayakm/source/bkp/tools/apr-util-1.2.2/xml/expat/lib/.libs/libexpat.so -L/usr/local/lib /usr/local/lib/libxml2.so -lz -lm /home/vinayakm/source/bkp/tools/apr-1.2.2/.libs/libapr-1.so -luuid -lsendfile -lsocket -lnsl -ldl -lpthread -lrt -R/usr/local/lib -R/usr/local/apr/lib
Undefined                       first referenced
 symbol                             in file
int log4cxx::helpers::UnicodeHelper::lengthUTF8(wchar_t) ../src/.libs/liblog4cxx.so
int log4cxx::helpers::UnicodeHelper::encodeWide(unsigned,wchar_t*) ../src/.libs/liblog4cxx.so
unsigned log4cxx::helpers::UnicodeHelper::decodeWide(const wchar_t*&,const wchar_t*) ../src/.libs/liblog4cxx.so
ld: fatal: Symbol referencing errors. No output written to .libs/simplesocketserver
make[1]: *** [simplesocketserver] Error 1
make[1]: Leaving directory `/home/vinayakm/source/bkp/log4cxx-11Mar06-liitletux-02/log4cxx-0.9.8/simplesocketserver'
make: *** [all-recursive] Error 1
--------------------------------------------------------------------------------
 
I got the same linking error when I tried to link the log4cxx lib with my application.
Is there any problem related to tar ball available at liitletux?
Is there any other way by which I can get the older tar balls of log4cxx?
 
 

Best regards,

Vinayak Mithbaokar

 

Reply via email to