This is the mail archive of the libc-alpha@sources.redhat.com 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]

Glibc Errors


I am running Slackware 10.0 with linux 2.4.28pre4, and GCC 3.4.2. I have not been able to compile glibc from cvs(just a few minutes ago) and it keeps failing at the same place for the last two months(if not more). Here is where it always fails

make[2]: Entering directory `/tmp/glibc-2.3.4/linuxthreads'
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/tmp/glibc-build/linuxthreads/ -B/tmp/glibc-build/csu/ -B/tmp/glibc-build/linuxthreads/ -Wl,--version-script=/tmp/glibc-build/libpthread.map -Wl,-soname=libpthread.so.0 -Wl,-z,combreloc -Wl,-z,relro -Wl,--enable-new-dtags,-z,nodelete -Wl,--enable-new-dtags,-z,initfirst -L/tmp/glibc-build -L/tmp/glibc-build/math -L/tmp/glibc-build/elf -L/tmp/glibc-build/dlfcn -L/tmp/glibc-build/nss -L/tmp/glibc-build/nis -L/tmp/glibc-build/rt -L/tmp/glibc-build/resolv -L/tmp/glibc-build/crypt -L/tmp/glibc-build/linuxthreads -Wl,-rpath-link=/tmp/glibc-build:/tmp/glibc-build/math:/tmp/glibc-build/elf:/tmp/glibc-build/dlfcn:/tmp/glibc-build/nss:/tmp/glibc-build/nis:/tmp/glibc-build/rt:/tmp/glibc-build/resolv:/tmp/glibc-build/crypt:/tmp/glibc-build/linuxthreads -o /tmp/glibc-build/linuxthreads/libpthread.so -T /tmp/glibc-build/shlib.lds /tmp/glibc-build/csu/abi-note.o -Wl,--whole-archive /tmp/glibc-build/linuxthreads/libpthread_pic.a -Wl,--no-whole-archive /tmp/glibc-build/elf/interp.os /tmp/glibc-build/libc.so /tmp/glibc-build/libc_nonshared.a /tmp/glibc-build/elf/ld.so
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x202): In function `pthread_initialize':
/tmp/glibc-2.3.4/linuxthreads/pthread.c:549: undefined reference to `_res'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xb63): In function `__pthread_reset_main_thread':
/tmp/glibc-2.3.4/linuxthreads/pthread.c:1145: undefined reference to `_errno'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xb6f):/tmp/glibc-2.3.4/linuxthreads/pthread.c:1146: undefined reference to `_h_errno'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xb7b):/tmp/glibc-2.3.4/linuxthreads/pthread.c:1147: undefined reference to `_res'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6b8): undefined reference to `_errno'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c0): undefined reference to `_h_errno'
/tmp/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c8): undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/tmp/glibc-build/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/tmp/glibc-2.3.4/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/tmp/glibc-2.3.4'
make: *** [all] Error 2


tried compiling with ./configure --prefix=/usr --libexecdir=/usr/bin --disable-profile --enable-add-ons=linuxthreads --without-cvs --without-gd

Any help or patches to fix this problem?


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