guile-devel
[Top][All Lists]
Advanced

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

Re: build error on my system (Mac OS 10.4.5)


From: Jay Cotton
Subject: Re: build error on my system (Mac OS 10.4.5)
Date: Wed, 29 Mar 2006 10:01:42 -0500


On Mar 28, 2006, at 7:34 PM, Kevin Ryde wrote:

Jay Cotton <address@hidden> writes:

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 specifiers

What does that offending sys/socket.h:99 line say?

It's probably some extra header required before including <netdb.h>.
See if the man page for gethostbyname says how it should look.

The offending sys/socket.h says, in lines 97-100:

97              #ifndef _SOCKLEN_T
98              #define _SOCKLEN_T
99              typedef __darwin_socklen_t      socklen_t;
100             #endif

The man page for gethostbyname just says to #include <netdb.h>.

Jay





reply via email to

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