On RedHat Enterprise Linux 3, I get the following build problem with Andreas Fester tarball (from littletux.net) using due to @ problems I have with CVS-HEAD.

 

Any ideas (I want to evaluate if I should use log4cxx for a project as already use log4j)

 

./configure –prefix=/usr –with-apr=/usr –with-apr-util=/usr –with-logchar=wchar_t

 

make[3]: Leaving directory `/usr/src/johnr/log4cxx-0.9.8/tests/src/helpers'

Making all in net

make[3]: Entering directory `/usr/src/johnr/log4cxx-0.9.8/tests/src/net'

if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.9.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_SWPRINTF=1 -DHAVE_SYSLOG=1 -DHAVE_PTHREAD=1 -DHAVE_THREAD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_SETSOCKOPT=1 -DHAVE_LIBXML2=1 -DHAVE_XML=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_SETENV=1 -DHAVE_MBSNRTOWCS=1 -DHAVE_WCSNRTOMBS=1  -I. -I. -I../../../include -I../../../include  -DLOG4CXX   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/include/apr-1   -I/usr/include/apr-1  -D_REENTRANT  -g -O2 -MT socketservertestcase.o -MD -MP -MF ".deps/socketservertestcase.Tpo" \

  -c -o socketservertestcase.o `test -f 'socketservertestcase.cpp' || echo './'`socketservertestcase.cpp; \

then mv -f ".deps/socketservertestcase.Tpo" ".deps/socketservertestcase.Po"; \

else rm -f ".deps/socketservertestcase.Tpo"; exit 1; \

fi

socketservertestcase.cpp: In constructor

   `ShortSocketServerLauncher::ShortSocketServerLauncher()':

socketservertestcase.cpp:115: `::fork' undeclared (first use here)

socketservertestcase.cpp:117: `::execl' undeclared (first use here)

socketservertestcase.cpp:124: `sleep' undeclared (first use this function)

socketservertestcase.cpp:124: (Each undeclared identifier is reported only once

   for each function it appears in.)

make[3]: *** [socketservertestcase.o] Error 1

 

Many Thanks

John

Reply via email to