GNU bug report logs - #8561
24.0.50; Test programme to check net/if.h is faulty

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 26 Apr 2011 21:16:01 UTC

Severity: normal

Merged with 8383

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 8561 <at> debbugs.gnu.org
Subject: bug#8561: 24.0.50; Test programme to check net/if.h is faulty
Date: Wed, 06 Dec 2017 13:40:11 -0500
Peter Dyballa wrote:

> Now at revno: 104020 I see that this test programme is faulty. It has
>
> 	#if HAVE_SYS_SOCKET_H
> 	#include <sys/socket.h>
> 	#endif
>
> but HAVE_SYS_SOCKET_H is neither defined in the test programme nor on
> the command line of gcc's invocation. So sys/socket.h is not included,
> sockaddr and sockaddr_storage are not declared and gcc complains:

It follows a line AC_CHECK_HEADERS_ONCE(sys/socket.h),
which defines HAVE_SYS_SOCKET_H is sys/socket.h is present.

If this still happens, I guess your system is misconfigured somehow.





This bug report was last modified 7 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.