You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by CREMARENCO Cosmin <Co...@murex.com> on 2009/05/19 12:21:59 UTC

Compiling with sunstudio 11

Hi

I've been running into some issues when compiling log4cxx.
Mostly standard library functions that aren't declared before they are
used.
I attached a patch that fixes the problems I found.

CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC
CC=/nettools/sunstudio/sunstudio11/SUNWspro/bin/cc ./configure
--with-apr=/src/work/mw/log4cxx-sunstudio11/apr-1.3.3
--with-apr-util=/src/work/mw/log4cxx-sunstudio/apr-util-1.3.4
--prefix=/src/work/mw/log4cxx-sunstudio11/log4cxx-build
CXXFLAGS="-library=stlport4"

bash$ CC -V
CC: Sun C++ 5.8 Patch 121018-11 2007/05/02

bash$ uname -a
SunOS pegasus 5.10 Generic_118855-33 i86pc i386 i86pc


Best regards,

Cosmin