public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h
@ 2004-08-06 20:42 j at bitron dot ch
2004-08-06 20:51 ` [Bug libc/306] " roland at gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: j at bitron dot ch @ 2004-08-06 20:42 UTC (permalink / raw)
To: glibc-bugs
I'm getting the following compile errors when trying to build iproute2 on a
system with today's glibc (2004-08-06) and gcc 3.3.4:
In file included from ll_map.c:19:
/usr/include/netinet/in.h:283: field `gr_group' has incomplete type
/usr/include/netinet/in.h:292: field `gsr_group' has incomplete type
/usr/include/netinet/in.h:295: field `gsr_source' has incomplete type
/usr/include/netinet/in.h:327: field `gf_group' has incomplete type
/usr/include/netinet/in.h:335: field `gf_slist' has incomplete type
make[1]: *** [ll_map.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2-2.4.7-now-ss020116-try/lib'
make: *** [all] Error 2
The same version of iproute2 compiled fine with glibc cvs as of 2004-07-19. The
reason for the problem seems to be today's added structs in
libc/inet/netinet/in.h I'm rebuilding right now with glibc cvs as of yesterday
and will post here results when done.
I can supply more information about my system if that helps.
--
Summary: Bug in added structs in libc/inet/netinet/in.h
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: j at bitron dot ch
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=306
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/306] Bug in added structs in libc/inet/netinet/in.h
2004-08-06 20:42 [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h j at bitron dot ch
@ 2004-08-06 20:51 ` roland at gnu dot org
2004-08-06 21:18 ` j at bitron dot ch
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2004-08-06 20:51 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2004-08-06 20:51 -------
Please show the whole compile command that produced the problem.
Then, attach the cpp output for that file (made with -E or -save-temps).
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=306
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/306] Bug in added structs in libc/inet/netinet/in.h
2004-08-06 20:42 [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h j at bitron dot ch
2004-08-06 20:51 ` [Bug libc/306] " roland at gnu dot org
@ 2004-08-06 21:18 ` j at bitron dot ch
2004-08-06 21:20 ` j at bitron dot ch
2004-08-06 21:28 ` roland at gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: j at bitron dot ch @ 2004-08-06 21:18 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From j at bitron dot ch 2004-08-06 21:18 -------
The rebuild with glibc cvs as of yesterday didn't succeed either. It seems that
the change in libc/inet/netinet/in.h on 2004-07-20 is the cause.
Build log including compile command with glibc of yesterday:
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
-I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/include
-I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c
In file included from ll_map.c:19:
/usr/include/netinet/in.h:283: error: field `gr_group' has incomplete type
/usr/include/netinet/in.h:292: error: field `gsr_group' has incomplete type
/usr/include/netinet/in.h:295: error: field `gsr_source' has incomplete type
make[1]: *** [ll_map.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=306
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/306] Bug in added structs in libc/inet/netinet/in.h
2004-08-06 20:42 [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h j at bitron dot ch
2004-08-06 20:51 ` [Bug libc/306] " roland at gnu dot org
2004-08-06 21:18 ` j at bitron dot ch
@ 2004-08-06 21:20 ` j at bitron dot ch
2004-08-06 21:28 ` roland at gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: j at bitron dot ch @ 2004-08-06 21:20 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From j at bitron dot ch 2004-08-06 21:20 -------
Created an attachment (id=154)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=154&action=view)
requested output of gcc -E
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=306
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/306] Bug in added structs in libc/inet/netinet/in.h
2004-08-06 20:42 [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h j at bitron dot ch
` (2 preceding siblings ...)
2004-08-06 21:20 ` j at bitron dot ch
@ 2004-08-06 21:28 ` roland at gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2004-08-06 21:28 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2004-08-06 21:28 -------
This output shows that your sources override libc headers with their own copies,
particularly bits/socket.h. This is never a supported thing to do, and you
should certainly expect any such crazy kludges to break when some libc headers
change.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=306
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-06 21:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 20:42 [Bug libc/306] New: Bug in added structs in libc/inet/netinet/in.h j at bitron dot ch
2004-08-06 20:51 ` [Bug libc/306] " roland at gnu dot org
2004-08-06 21:18 ` j at bitron dot ch
2004-08-06 21:20 ` j at bitron dot ch
2004-08-06 21:28 ` roland at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).