[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSX 10.4 and CVS Guile

From: Bill Schottstaedt
Subject: OSX 10.4 and CVS Guile
Date: Wed, 20 Jul 2005 04:10:48 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20041004

On OSX 10.4 the CVS Guile hits:

eval.c:2657: error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here 
(not in a function)
make[2]: *** [libguile_la-eval.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

/usr/include/pthread.h on this system does not define this identifier.

Then (configured --without-threads):

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -no-cpp-precomp -I/Users/bil/test/include -Wall -Wmissing-prototypes -Werror -c posix.c -MT posix.lo -MD -MP -MF .deps/posix.TPlo -fno-common -DPIC -o .libs/posix.o
In file included from /usr/include/netinet/in.h:78,
                 from /usr/include/netdb.h:86,
                 from posix.c:122:
/usr/include/sys/socket.h:99: error: two or more data types in declaration 
make[2]: *** [posix.lo] Error 1

As far as I can tell, socklen_t is defined in both netdb.h and socket.h
(included by netinet/in.h), but both are protected by #ifndef __SOCKLEN_T.
Not sure why this is happening.

In Fedora Core 4 (gcc 4.0), the CVS Guile hits:

cc1: warnings being treated as errors
numbers.c: In function 'scm_is_unsigned_integer':
numbers.c:5711: warning: control may reach end of non-void function 
'__gmpz_get_ui' being inlined
make[2]: *** [libguile_la-numbers.lo] Error 1

I forgot to check which version of gmp this is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]