Hello I am trying to build log4cxx on Linux 2.4.21-32.ELsmp and have installed apr-util-1.2.8 and apr-1.2.9. When I give make, I get the following error:
make[2]: Entering directory `/users/a24141/log4cxx-0.10.0/src/test' Making all in cpp make[3]: Entering directory `/users/a24141/log4cxx-0.10.0/src/test/cpp' source='net/socketservertestcase.cpp' object='socketservertestcase.o' libtool=no \ depfile='.deps/socketservertestcase.Po' tmpdepfile='.deps/socketservertestcase.T Po' \ depmode=gcc3 /bin/sh ../../../depcomp \ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_ STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHA VE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_ST DINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -I/usr/local/in clude -DLOG4CXX -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I /users/a24141/apr-1.2.9/include -I/users/a24141/apr-util-1.2.8/include -g -O 2 -c -o socketservertestcase.o `test -f 'net/socketservertestcase.cpp' || echo ' ./'`net/socketservertestcase.cpp net/socketservertestcase.cpp: In constructor `ShortSocketServerLauncher::ShortSocketServerLauncher()': net/socketservertestcase.cpp:116: `::fork' undeclared (first use here) net/socketservertestcase.cpp:118: `::execl' undeclared (first use here) net/socketservertestcase.cpp:125: `sleep' undeclared (first use this function) net/socketservertestcase.cpp:125: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [socketservertestcase.o] Error 1 make[3]: Leaving directory `/users/a24141/log4cxx-0.10.0/src/test/cpp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/users/a24141/log4cxx-0.10.0/src/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/users/a24141/log4cxx-0.10.0/src' make: *** [all-recursive] Error 1 Can anyone please let me know why I am getting the above stated error. Regards Manik Gupta. -- View this message in context: http://www.nabble.com/Building-log4cxx-on-linux2.4-tf4259612.html#a12121964 Sent from the Log4cxx - Users mailing list archive at Nabble.com.