Compilation Error w/ 90, 91 and 44, not 42

Moritz Schulte mo at g10code.com
Sun Jan 25 12:52:13 CET 2004


On Wed, Jan 21, 2004 at 05:59:50PM -0500, Danny Schaffer wrote:

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -O2 -Wall -MT 
> ath-pthread-compat.lo -MD -MP -MF .deps/ath-pthread-compat.Tpo -c 
> ath-pthread-compat.c  -fno-common -DPIC -o .libs/ath-pthread-compat.lo
> In file included from ath-pthread-compat.c:25:
> ath.h:74: error: parse error before "socklen_t"

This is strange.  There was such a build failure before, which was
fixed by including `<sys/sockets.h>'.  I don't have access to a Mac OS
X system, could you please try to find out what header file declares
`socklen_t' on your system?

Anyway, the code should work properly without a system-defined
`socklen_t' - after including config.h (where socklen_t should be
defined to an `int' in case the type could not be found in the
system's include files) in ath.h it should work now.

Thanks.

-- 
((gpg-key-id . "6F984199")
 (email      . "moritz at duesseldorf.ccc.de")
 (webpage    . "http://duesseldorf.ccc.de/~moritz/"))



More information about the Gcrypt-devel mailing list