public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4461] New: compilation failure for glibc 2.5
@ 2007-05-04 11:14 dragos dot dimitriu at gmail dot com
2007-05-04 12:02 ` [Bug libc/4461] " dragos dot dimitriu at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dragos dot dimitriu at gmail dot com @ 2007-05-04 11:14 UTC (permalink / raw)
To: glibc-bugs
gcc (GCC) 4.1.1
glibc 2.5
Building glibc 2.5 fails when compiling /sysdeps/unix/sysv/linux/ifaddrs.c
{$path_binutils}/bin/gcc -B{$path_binutils}/bin/
../sysdeps/unix/sysv/linux/ifaddrs.c -c -std=gnu99 -O2 -Wall -Winline
-Wwrite-strings -fmerge-all-constants -g -mnew-mnemonics -Wstrict-prototypes
-mlong-double-128 -I../include -I/home/tools/glibc-build/inet
-I/home/tools/glibc-build -I../sysdeps/powerpc/powerpc32/elf
-I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32/fpu
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../nptl/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu -I../nptl/sysdeps/powerpc
-I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl
-I.. -I../libio -I. -I /lib/modules/2.6.19/build/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h -o
/home/tools/glibc-build/inet/ifaddrs.o -MD -MP -MF
/home/tools/glibc-build/inet/ifaddrs.o.dt -MT /home/tools/glibc-build/inet/ifaddrs.o
../sysdeps/unix/sysv/linux/ifaddrs.c: In function 'getifaddrs':
../sysdeps/unix/sysv/linux/ifaddrs.c:426: warning: implicit declaration of
function 'IFLA_RTA'
../sysdeps/unix/sysv/linux/ifaddrs.c:426: warning: initialization makes pointer
from integer without a cast
../sysdeps/unix/sysv/linux/ifaddrs.c:427: warning: implicit declaration of
function 'IFLA_PAYLOAD'
../sysdeps/unix/sysv/linux/ifaddrs.c:500: warning: initialization makes pointer
from integer without a cast
../sysdeps/unix/sysv/linux/ifaddrs.c:584: warning: implicit declaration of
function 'IFA_RTA'
../sysdeps/unix/sysv/linux/ifaddrs.c:584: warning: initialization makes pointer
from integer without a cast
../sysdeps/unix/sysv/linux/ifaddrs.c:585: warning: implicit declaration of
function 'IFA_PAYLOAD'
../sysdeps/unix/sysv/linux/ifaddrs.c:593: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:606: error: 'IFA_ADDRESS' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:606: error: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/ifaddrs.c:606: error: for each function it appears in.)
../sysdeps/unix/sysv/linux/ifaddrs.c:629: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:631: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:649: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:661: error: 'IFA_LOCAL' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:676: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:678: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:696: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:708: error: 'IFA_BROADCAST' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:717: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:719: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:737: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:749: error: 'IFA_LABEL' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:760: error: 'IFA_UNSPEC' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:762: error: 'IFA_CACHEINFO' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/ifaddrs.c:775: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:811: error: dereferencing pointer to
incomplete type
../sysdeps/unix/sysv/linux/ifaddrs.c:814: error: dereferencing pointer to
incomplete type
--
Summary: compilation failure for glibc 2.5
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: dragos dot dimitriu at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc-8641D-linux-gnu
GCC host triplet: powerpc-8641D-linux-gnu
GCC target triplet: powerpc-8641D-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4461
------- 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] 4+ messages in thread
* [Bug libc/4461] compilation failure for glibc 2.5
2007-05-04 11:14 [Bug libc/4461] New: compilation failure for glibc 2.5 dragos dot dimitriu at gmail dot com
@ 2007-05-04 12:02 ` dragos dot dimitriu at gmail dot com
2007-05-04 12:09 ` dragos dot dimitriu at gmail dot com
2007-05-04 13:00 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: dragos dot dimitriu at gmail dot com @ 2007-05-04 12:02 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=4461
------- 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] 4+ messages in thread
* [Bug libc/4461] compilation failure for glibc 2.5
2007-05-04 11:14 [Bug libc/4461] New: compilation failure for glibc 2.5 dragos dot dimitriu at gmail dot com
2007-05-04 12:02 ` [Bug libc/4461] " dragos dot dimitriu at gmail dot com
@ 2007-05-04 12:09 ` dragos dot dimitriu at gmail dot com
2007-05-04 13:00 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: dragos dot dimitriu at gmail dot com @ 2007-05-04 12:09 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From dragos dot dimitriu at gmail dot com 2007-05-04 13:09 -------
config.status file has set the correct path to system headers :
s,@SYSINCLUDES@,-I /lib/modules/2.6.19/build/include,;t t
Inside the /lib/modules/2.6.19/build/include/linux there is the header resolving
at least the unresolved symbols IFA_ADDRESSetc., called if_addr.h.
That is also where the struct ifaddrmsg is defined probably solving the
`dereferencing pointer to incomplete type` error.
But still, this path is used.
Many thanks for your support
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4461
------- 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] 4+ messages in thread
* [Bug libc/4461] compilation failure for glibc 2.5
2007-05-04 11:14 [Bug libc/4461] New: compilation failure for glibc 2.5 dragos dot dimitriu at gmail dot com
2007-05-04 12:02 ` [Bug libc/4461] " dragos dot dimitriu at gmail dot com
2007-05-04 12:09 ` dragos dot dimitriu at gmail dot com
@ 2007-05-04 13:00 ` drepper at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2007-05-04 13:00 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2007-05-04 13:59 -------
*** This bug has been marked as a duplicate of 333 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |DUPLICATE
http://sourceware.org/bugzilla/show_bug.cgi?id=4461
------- 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] 4+ messages in thread
end of thread, other threads:[~2007-05-04 13:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-04 11:14 [Bug libc/4461] New: compilation failure for glibc 2.5 dragos dot dimitriu at gmail dot com
2007-05-04 12:02 ` [Bug libc/4461] " dragos dot dimitriu at gmail dot com
2007-05-04 12:09 ` dragos dot dimitriu at gmail dot com
2007-05-04 13:00 ` drepper at redhat dot com
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).