hi
i was not able to build log4cplus on Darwin-8.4.1
[i386] machine.
however i was able to build log4cplus on Darwin-8.7.0
[PPC] machine.
infact i have tried in a lot of websites but no solution.
please help me in this issue as soon as possible .
Thanking you
Venkat Naidu
i am submitting the follwoing details
#########################
Machine Details
#########################
x86mac:~/log4cplus/log4cplus-1.0.2$ uname -a
Darwin x86mac.######.com 8.4.1 Darwin Kernel Version
8.4.1: Tue Jan 3 18:23:53 PST 2006;
root:xnu-792.7.90.obj~1/RELEASE_I386 i386 i386
#######################
Build Log
#######################
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -D_REENTRANT -g -O2 -c property.cxx
-fno-common -DPIC -o .libs/property.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../include/log4cplus -I../include
-D_REENTRANT -g -O2 -c -o rootlogger.lo `test -f
'rootlogger.cxx' || echo './'`rootlogger.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -D_REENTRANT -g -O2 -c rootlogger.cxx
-fno-common -DPIC -o .libs/rootlogger.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../include/log4cplus -I../include
-D_REENTRANT -g -O2 -c -o sleep.lo `test -f
'sleep.cxx' || echo './'`sleep.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -D_REENTRANT -g -O2 -c sleep.cxx
-fno-common -DPIC -o .libs/sleep.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../include/log4cplus -I../include
-D_REENTRANT -g -O2 -c -o socket.lo `test -f
'socket.cxx' || echo './'`socket.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -D_REENTRANT -g -O2 -c socket.cxx
-fno-common -DPIC -o .libs/socket.o
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../include/log4cplus -I../include
-D_REENTRANT -g -O2 -c -o socket-unix.lo `test -f
'socket-unix.cxx' || echo './'`socket-unix.cxx
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -D_REENTRANT -g -O2 -c socket-unix.cxx
-fno-common -DPIC -o .libs/socket-unix.o
/usr/include/sys/socket.h:99: error: multiple types in
one declaration
/usr/include/sys/socket.h:99: error: declaration does
not declare anything
make[1]: *** [socket-unix.lo] Error 1
make: *** [all-recursive] Error 1
Logged In: NO
Remove the following from include/log4cplus/config-macosx.h
#define socklen_t int
This infact has worked.
sorry for disturbing you people.
i hope the issue can be closed now.
Thanks one and all