bug-glibc
[Top][All Lists]
Advanced

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

Error when i compile the glibc-2.3.5


From: Adrian Ban
Subject: Error when i compile the glibc-2.3.5
Date: Sun, 17 Apr 2005 15:51:15 +0300
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Hi! I tried to compile the glibc-2.3.5 with gcc/g++ 3.3.4 and after a long time it gives me an error:

/home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x222): In function `pthread_initialize': /home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:549: undefined reference to `_res' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc03): In function `__pthread_reset_main_thread': /home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:1145: undefined reference to `_errno' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc0f):/home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:1146: undefined reference to `_h_errno' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc21):/home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:1147: undefined reference to `_res' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6b8): In function `__pthread_setschedparam': /home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:967: undefined reference to `_errno' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c0): In function `__pthread_setschedparam': /home/Kitts/gcc/glibc-2.3.5/linuxthreads/internals.h:180: undefined reference to `_h_errno' /home/Kitts/gcc/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c8): In function `__pthread_setschedparam': /home/Kitts/gcc/glibc-2.3.5/linuxthreads/pthread.c:957: undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/home/Kitts/gcc/glibc-build/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/home/Kitts/gcc/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/home/Kitts/gcc/glibc-2.3.5'
make: *** [all] Error 2

This is not the first time that an glibc source it gives me errors. The glibc-2.3.3 gives me errors too. After i found a patch on internet i made it to compile corectly.

Thks.





reply via email to

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