GNU bug report logs -
#8561
24.0.50; Test programme to check net/if.h is faulty
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8561 in the body.
You can then email your comments to 8561 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8561
; Package
emacs
.
(Tue, 26 Apr 2011 21:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 26 Apr 2011 21:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
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:
In file included from conftest.c:87:0:
/usr/include/net/if.h:259:19: error: field 'ifru_addr' has incomplete
type
/usr/include/net/if.h:260:19: error: field 'ifru_dstaddr' has
incomplete type
/usr/include/net/if.h:261:19: error: field 'ifru_broadaddr' has
incomplete type
/usr/include/net/if.h:298:18: error: field 'ifra_addr' has incomplete
type
/usr/include/net/if.h:299:18: error: field 'ifra_broadaddr' has
incomplete type
/usr/include/net/if.h:300:18: error: field 'ifra_mask' has incomplete
type
/usr/include/net/if.h:374:26: error: field 'addr' has incomplete type
/usr/include/net/if.h:375:26: error: field 'dstaddr' has incomplete
type
This is related to bug#8383.
--
Greetings
Pete <]
o __o |__ o HPV, the real
___o /I -\<, |o \ -\),-% high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8561
; Package
emacs
.
(Wed, 06 Dec 2017 18:41:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 8561 <at> debbugs.gnu.org (full text, mbox):
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.
Forcibly Merged 8383 8561.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 06 Dec 2017 19:16:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 04 Jan 2018 12:24:05 GMT)
Full text and
rfc822 format available.
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.