logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anatoly Kournik <Anato...@enigma.com>
Subject RE: Solaris compilation problem...
Date Wed, 01 Sep 2004 13:46:39 GMT
library must be compiled with -D__PRAGMA_REDEFINE_EXTNAME to override 
 
#define bind    __xnet_bind 
 
definition in sys/socket.h
 
--
Toly Kournik



-----Original Message-----
From: Surekha Guntur [mailto:guntur_surekha@yahoo.com]
Sent: Tuesday, August 31, 2004 8:43 PM
To: log4cxx-user@logging.apache.org
Subject: Solaris compilation problem...


Hi,
 
I am trying to build log4cxx on Sun solaris and I am getting following
problems. I have used following following flags for configure script.
 
./configure CC=CC CXX=CC CXXFLAGS="-g -mt -KPIC -xarch=v8plus"
 
Following are the errors I get while doing 'make'. There are many undefined
symbols similar to these. Can somebody please help me on this. 
 
ild: (undefined symbol)
log4cxx::helpers::ObjectPtrT<log4cxx::spi::RepositorySel
ector>&log4cxx::helpers::ObjectPtrT<log4cxx::spi::RepositorySelector>::opera
tor=
<log4cxx::spi::DefaultRepositorySelector*>(const __type_1&) -- referenced in
../
src/.libs/liblog4cxx.so
ild: (undefined symbol) void
log4cxx::helpers::ObjectPtrT<log4cxx::helpers::Obje
ct>::cast<log4cxx::net::SocketAppender*>(const __type_1&) -- referenced in
../sr
c/.libs/liblog4cxx.so
ild: (undefined symbol)
log4cxx::helpers::ObjectPtrT<log4cxx::helpers::PatternCo
nverter>&log4cxx::helpers::ObjectPtrT<log4cxx::helpers::PatternConverter>::o
pera
tor=<log4cxx::helpers::PatternParser::LiteralPatternConverter*>(const
__type_1&)
 -- referenced in ../src/.libs/liblog4cxx.so
*** Error code 5
make: Fatal error: Command failed for target `simplesocketserver'
Current working directory /csf/csf/w951bdz/log4cxx/log4cxx-0.9.7/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
 
Thanks a lot,
 
Surekha.



  _____  

Do you Yahoo!?
New
<http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions.yahoo.com/new
_mail/static/efficiency.html> and Improved Yahoo! Mail - Send 10MB messages!

--------------------------------------------------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom
they are addressed. If you have received this email in error please notify the originator
of the message.
Scanning of this message is performed by SurfControl E-mail Filter software in conjunction
with  virus detection software.

Mime
View raw message