Jean-François Mertens wrote: > On 13 Mar 2008, at 01:04, Alexander Hansen wrote: > >> I got the following error (10.5.2) when I set Type: sys_nspr (no): >> >> ... >> gcc -o unix.o -c -pipe -Wmost -fno-common -pthread -Os -fPIC - >> UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 - >> DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DDARWIN=1 - >> DHAVE_BSD_FLOCK=1 -Dppc=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 - >> DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 - >> D_NSPR_BUILD_ -I/sw/src/fink.build/seamonkey-1.1.7-3.test/mozilla/ >> dist/ >> include/nspr -I../../../../pr/include -I../../../../pr/include/ >> private unix.c >> In file included from /sw/src/fink.build/seamonkey-1.1.7-3.test/ >> mozilla/dist/include/nspr/md/prosdep.h:100, >> from ../../../../pr/include/private/primpl.h:78, >> from unix.c:38: >> /sw/src/fink.build/seamonkey-1.1.7-3.test/mozilla/dist/include/nspr/ >> md/ >> _darwin.h:72:1: warning: "_PR_INET6" redefined >> <command line>:1:1: warning: this is the location of the previous >> definition >> In file included from unix.c:41: >> /usr/include/signal.h:84: error: syntax error before numeric constant >> unix.c: In function '_MD_unix_get_nonblocking_connect_error': >> unix.c:3296: warning: pointer targets in passing argument 5 of >> 'getsockopt' differ in signedness >> make[6]: *** [unix.o] Error 1 >> > At that place I get only : > >> In file included from /sw/.bld/seamonkey-1.1.8-3/mozilla/dist/ >> include/nspr/md/prosdep.h:100, >> from ../../../../pr/include/private/primpl.h:78, >> from unix.c:38: >> /sw/.bld/seamonkey-1.1.8-3/mozilla/dist/include/nspr/md/_darwin.h: >> 72:1: warning: "_PR_INET6" redefined >> <command line>:1:1: warning: this is the location of the previous >> definition >> unix.c: In function '_MD_unix_get_nonblocking_connect_error': >> unix.c:3296: warning: pointer targets in passing argument 5 of >> 'getsockopt' differ in signedness > > and my /usr/include/signal.h has as line 84 : > 84 int pthread_kill(pthread_t, int); > > which seems irrelevant .. > Could someone with a 10.5 system try to see what could be this > "syntax error before numeric constant" > in /usr/include/signal.h ?
I have a fix for akh's problem (/usr/include/signal.h:84: error:...) in one of my private firefox2 or firefox3 files, but apparently I haven't checked it into my cvs tree to find it quickly. I'm not near my mac right now but will get it tomorrow. Hanspeter ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
