* bug#8561: 24.0.50; Test programme to check net/if.h is faulty
@ 2011-04-26 21:15 Peter Dyballa
2017-12-06 18:40 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Peter Dyballa @ 2011-04-26 21:15 UTC (permalink / raw
To: 8561
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_________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#8561: 24.0.50; Test programme to check net/if.h is faulty
2011-04-26 21:15 bug#8561: 24.0.50; Test programme to check net/if.h is faulty Peter Dyballa
@ 2017-12-06 18:40 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2017-12-06 18:40 UTC (permalink / raw
To: Peter Dyballa; +Cc: 8561
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-06 18:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 21:15 bug#8561: 24.0.50; Test programme to check net/if.h is faulty Peter Dyballa
2017-12-06 18:40 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.