|
|
[PHP]make[2]: Entering directory `/mnt/lfs_root/sources/glibc-2.3.3-lfs-5.1/elf'
gcc -B/tools/bin/ dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2 -fexceptions -fasynchronous-unwind-tables -I../include -I. -I/mnt/lfs_root/sources/glibc-build/elf -I.. -I../libio -I/mnt/lfs_root/sources/glibc-build -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/sysdeps/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../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 -nostdinc -isystem /mnt/lfs_root/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/lfs_root/sources/glibc-build/elf/dl-runtime.o -MD -MP -MF /mnt/lfs_root/sources/glibc-build/elf/dl-runtime.o.dt
dl-runtime.c:57: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:57: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:137: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup' was here
dl-runtime.c:137: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup' was here
../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:161: warning: 'profile_fixup' declared `static' but never defined
make[2]: *** [/mnt/lfs_root/sources/glibc-build/elf/dl-runtime.o] Error 1
make[2]: Leaving directory `/mnt/lfs_root/sources/glibc-2.3.3-lfs-5.1/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs_root/sources/glibc-2.3.3-lfs-5.1'
make: *** [all] Error 2
[/PHP]
编译glibc出错,使用gcc-3.4.3(LFS中编译好的),linux-2.6.9,宿主系统gentoo,gcc-3.3.4
已经尝试过在本板搜索答案和google上搜索答案
这里是一个同样的错误
http://www.linuxquestions.org/qu ... amp;threadid=253415
我的env如下
[PHP]
TERM=xterm
LC_ALL=POSIX
LFS=/mnt/lfs_root
PATH=/tools/bin:/bin:/usr/bin
PWD=/mnt/lfs_root/sources/glibc-build
PS1=\u:\w$
SHLVL=1
HOME=/home/lfs
_=/bin/env
[/PHP]
我有什么做错的地方吗? |
|