LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 820|回复: 1

做Glibc-2.3.3-lfs-5.1 的时候 运行make check 的时候出错了。请大家帮忙看看!

[复制链接]
发表于 2005-1-24 09:06:55 | 显示全部楼层 |阅读模式
make check
gcc -B/tools/bin/ tst-regex.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2     -I../include -I. -I/mnt/lfs/sources/glibc-build/posix -I.. -I../libio  -I/mnt/lfs/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/tools/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -o /mnt/lfs/sources/glibc-build/posix/tst-regex.o -MD -MP -MF /mnt/lfs/sources/glibc-build/posix/tst-regex.o.dt
gcc -B/tools/bin/   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2  -B/mnt/lfs/sources/glibc-build/csu/  -Wl,--version-script=/mnt/lfs/sources/glibc-build/librt.map -Wl,-soname=librt.so.1 -Wl,-z,combreloc  -L/mnt/lfs/sources/glibc-build -L/mnt/lfs/sources/glibc-build/math -L/mnt/lfs/sources/glibc-build/elf -L/mnt/lfs/sources/glibc-build/dlfcn -L/mnt/lfs/sources/glibc-build/nss -L/mnt/lfs/sources/glibc-build/nis -L/mnt/lfs/sources/glibc-build/rt -L/mnt/lfs/sources/glibc-build/resolv -L/mnt/lfs/sources/glibc-build/crypt -L/mnt/lfs/sources/glibc-build/linuxthreads -Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/linuxthreads -o /mnt/lfs/sources/glibc-build/rt/librt.so -T /mnt/lfs/sources/glibc-build/shlib.lds /mnt/lfs/sources/glibc-build/csu/abi-note.o -Wl,--whole-archive /mnt/lfs/sources/glibc-build/rt/librt_pic.a -Wl,--no-whole-archive /mnt/lfs/sources/glibc-build/elf/interp.os
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(aio_misc.os)(.text+0x59c): In function `__aio_enqueue_request':
../sysdeps/pthread/aio_misc.c:412: undefined reference to `pthread_create'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(aio_misc.os)(.text+0x89a): In function `handle_fildes_io':
../sysdeps/pthread/aio_misc.c:653: undefined reference to `pthread_create'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(aio_suspend.os)(.text+0x396): In function `aio_suspend':
../sysdeps/pthread/aio_suspend.c:146: undefined reference to `_pthread_cleanup_push'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(aio_suspend.os)(.text+0x415):../sysdeps/pthread/aio_suspend.c:170: undefined reference to `_pthread_cleanup_pop'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(aio_notify.os)(.text+0xd9): In function `__aio_notify_only':
../sysdeps/pthread/aio_notify.c:85: undefined reference to `pthread_create'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(clock_gettime.os)(.text+0x8b): In function `clock_gettime':
../sysdeps/unix/clock_gettime.c:107: undefined reference to `_rtld_global'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(clock_settime.os)(.text+0x110): In function `clock_settime':
../sysdeps/unix/clock_settime.c:114: undefined reference to `_rtld_global'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_create.os)(.text+0x50): In function `timer_create':
../linuxthreads/sysdeps/pthread/timer_create.c:61: undefined reference to `pthread_once'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_delete.os)(.text+0xf4): In function `timer_delete':
../linuxthreads/sysdeps/pthread/timer_delete.c:51: undefined reference to `_pthread_cleanup_push'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_delete.os)(.text+0x10a):../linuxthreads/sysdeps/pthread/timer_delete.c:57: undefined reference to `_pthread_cleanup_pop'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x201): In function `__timer_init_once':
../linuxthreads/sysdeps/pthread/timer_routines.c:221: undefined reference to `pthread_atfork'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x5ec): In function `thread_func':
../linuxthreads/sysdeps/pthread/timer_routines.c:382: undefined reference to `_pthread_cleanup_push'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x84c): In function `__timer_thread_start':
../linuxthreads/sysdeps/pthread/timer_routines.c:492: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/rt/librt.so] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/posix'
 楼主| 发表于 2005-1-24 09:11:06 | 显示全部楼层
主系统是redhat 9
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表