This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4461] New: compilation failure for glibc 2.5


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]