Дистрибутив: слака 10.1. Хочу обновить glibc 2.3.4 на 2.3.5. Собираю так:
1. распаковываю glibc-2.3.5.tar.bz2
2. копирую glibc-linuxthreads-2.3.5.tar.gz в распакованный каталог.
3. распаковываю linuxthreads
4. создаю каталог build и перехожу в него.
5. запускаю ../configure --enable-add-ons=linuxthreads --prefix=/usr
6. make
И получаю такое сообщение (примерно после 20 минут компиляции):
Код: Выделить всё
<пропустил ненужное>
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x222): In function `pthread_initialize':
/home/kaliy/src/system/glibc/glibc-2.3.5/linuxthreads/pthread.c:549: undefined reference to `_res'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc03): In function `__pthread_reset_main_thread':
/home/kaliy/src/system/glibc/glibc-2.3.5/linuxthreads/pthread.c:1145: undefined reference to `_errno'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc0f):/home/kaliy/src/system/glibc/glibc-2.3.5/linuxthreads/pthread.c:1146: undefined reference to `_h_errno'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xc21):/home/kaliy/src/system/glibc/glibc-2.3.5/linuxthreads/pthread.c:1147: undefined reference to `_res'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6b8): undefined reference to `_errno'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c0): undefined reference to `_h_errno'
/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x6c8): undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/home/kaliy/src/system/glibc/glibc-2.3.5/build/linuxthreads/libpthread.so] Ошибка 1
make[2]: Leaving directory `/home/kaliy/src/system/glibc/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Ошибка 2
make[1]: Leaving directory `/home/kaliy/src/system/glibc/glibc-2.3.5'
make: *** [all] Ошибка 2Есть какие-нибудь сображения?
ЗЫ: kernel 2.6.14, gcc 3.4.3