bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glibc 2.2.5 build fails on linux libc5


From: Oliver Schurr
Subject: glibc 2.2.5 build fails on linux libc5
Date: Wed, 21 Aug 2002 18:04:28 -0400

Linux x86, libc5, 2.0.39, gcc 2.95.3 compiled from sources,
binutils 2.11.2 also compiled from sources, all that using gcc 2.7.2.3
successfully.

gcc 2.95 and binutils installed in /opt tree and LD_LIBRARY_PATH defined

as /opt/lib in addition to the ususal standard locations in 'ldconfig'

mkdir glibc-obj
cd glibc-obj
../gcc-2.2.5/configure --prefix=/opt  --disable-sanity-checks
make -j2

The compilation is done using gcc 2.95.3 and the error messages as
follows


gcc syslog.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-g      -I../include -I. -I/opt/sources/glibc-obj/misc -I.. -I../libio
-I/opt/sources/glibc-obj -I../sysdeps/i386/elf
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic    -include
../include/libc-symbols.h     -o /opt/sources/glibc-obj/misc/syslog.o
syslog.c: In function `vsyslog':
syslog.c:219: `cancel_handler' undeclared (first use in this function)
syslog.c:219: (Each undeclared identifier is reported only once
syslog.c:219: for each function it appears in.)
syslog.c:219: warning: type defaults to `int' in declaration of
`__save_FCT'
syslog.c:272: called object is not a function
syslog.c: In function `openlog':
syslog.c:331: parse error before `)'
syslog.c:331: `__save_FCT' undeclared (first use in this function)
syslog.c:331: parse error before `)'
syslog.c:338: `__save_ARG' undeclared (first use in this function)
syslog.c: In function `closelog':
syslog.c:363: parse error before `)'
syslog.c:363: `__save_FCT' undeclared (first use in this function)
syslog.c:363: parse error before `)'
syslog.c:372: `__save_ARG' undeclared (first use in this function)


Using 'make' only does not change things at all.

Any help would be appreciated.

Oliver Schurr
Department of Chemistry
Georgetown University
Washington, DC 20057






reply via email to

[Prev in Thread] Current Thread [Next in Thread]