[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glibc build
From: |
Rui Paulo |
Subject: |
glibc build |
Date: |
Sat, 28 Dec 2002 15:12:28 +0000 |
Hi,
Recently I downloaded glibc 2.3.1 and gcc 3.2.1. My problem is that I
can't compile glibc. It gives me this error when I do a 'make':
(...)
make[1]: Entering directory `/tmp/glibc-2.3.1/time'
(echo '#define gettimeofday(P1, P2) i0v; \'; \
echo 'extern P1, P1v; extern P2, P2v; \'; \
echo '__typeof (i0v) BP_SYM (__gettimeofday) (__typeof (P1v) *__bounded
P1a, __
typeof (P2v) *__bounded P2a) { \'; \
echo ' extern __typeof (i0v) (gettimeofday) (__typeof (P1v)
*__unbounded, __ty
peof (P2v) *__unbounded); \'; \
echo ' return (gettimeofday) (CHECK_1_NULL_OK (P1a), CHECK_1_NULL_OK
(P2a)); \
'; \
echo '} \'; \
echo 'libc_hidden_def (BP_SYM (__gettimeofday)) \'; \
echo 'weak_alias (BP_SYM (__gettimeofday), BP_SYM (gettimeofday)) \'; \
echo 'libc_hidden_weak (BP_SYM (gettimeofday)) \'; \
echo 'weak_alias (BP_SYM (__gettimeofday), BP_SYM
(__gettimeofday_internal)) \'
; \
echo 'libc_hidden_weak (BP_SYM (__gettimeofday_internal)) \'; \
echo ''; \
echo '#include <bp-thunks.h>'; \
) | gcc -O2 -Wall -Wbad-function-cast -Wcast-qual -Wcomment -Wcomments
-Wfloat-e
qual -Winline -Wmissing-declarations -Wmissing-noreturn
-Wmissing-prototypes -Wm
ultichar -Wsign-compare -Wstrict-prototypes -Wtrigraphs
-Wwrite-strings -g -g -
O2 -fno-optimize-sibling-calls -fno-strict-aliasing
-I../include -I. -I.. -I
../libio -I../sysdeps/i386/elf
-I../linuxthreads//sysdeps/unix/sysv/linux/i386
-I../linuxthreads//sysdeps/unix/sysv/linux
-I../linuxthreads//sysdeps/pthread -I
../sysdeps/pthread
-I../linuxthreads//sysdeps/unix/sysv -I../linuxthreads//sysde
ps/unix
-I../linuxthreads//sysdeps/i386/i686 -I../linuxthreads//sysdeps/i386 -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/i686/fpu -I../sysdeps/i386/i686 -I../sysdep
s/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-3
2 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -I /lib/mo
dules/2.4.20/build/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h
-fbounded-pointers -c -x c -o
BP-gettimeofday.ob -
In file included from ../include/sys/time.h:2,
from ../sysdeps/generic/bp-thunks.h:60,
from <stdin>:13:
../time/sys/time.h:74: warning: no previous prototype for
`__gettimeofday'
In file included from ../sysdeps/generic/bp-thunks.h:60,
from <stdin>:13:
../include/sys/time.h:6: conflicting types for `__gettimeofday'
../time/sys/time.h:74: previous declaration of `__gettimeofday'
../include/sys/time.h:8: conflicting types for `__gettimeofday_internal'
../time/sys/time.h:74: previous declaration of `__gettimeofday_internal'
make[1]: *** [BP-gettimeofday.ob] Error 1
make[1]: Leaving directory `/tmp/glibc-2.3.1/time'
make: *** [time/subdir_lib] Error 2
The configure arguments were:
--enable-omitfp --prefix=/usr
The configure arguments for gcc were:
--prefix=/usr --enable-languages=c,c++ --enable-threads=posix
PS: I don't know if this is the right email address. If not, my
appologies.
Regards,
Rui Paulo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- glibc build,
Rui Paulo <=