Donate Share

Logging Framework for C++

Tracker: Bugs

5 Mac OS X 10.4.7 Build Error - ID: 1535771
Last Update: Settings changed ( wilx )

Hi,
I tried building v. 1.0.2 on Mac OS X 10.4.7 and I
got the following error.
Br,
Oliver

g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus
-I../include -Wall -D_REENTRANT -g -O2 -c socket.cxx -o
socket.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../include/log4cplus -I../include -Wall
-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 -Wall -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


Oliver Carr ( olmo76 ) - 2006-08-07 07:50

5

Closed

Duplicate

Vaclav Haisman

None

None

Public


Comments ( 2 )

Date: 2007-04-23 09:09
Sender: nobody

Logged In: NO

I had the same problem on my MacBook. I just removed "#define socklen_t
int" in config-macosx.h and it works fine now.


Date: 2006-08-28 10:55
Sender: nobody

Logged In: NO

Even i am facing similar problem on Darwin - 8.4.1 { intel
based } i386 machine.

however i was sucessfully built log4cplus on Darwin-8.7.0
{Power PC} PPC macine.

please help us in this issue as soon as possible.


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2008-09-01 12:23 wilx
resolution_id None 2008-09-01 12:23 wilx
assigned_to nobody 2008-09-01 12:23 wilx
close_date - 2008-09-01 12:23 wilx