glibc make error: pthread.h
I'm trying to install glibc-2.3.3 into my UnitedLinux 1.0 SuSe standard server 8, kernel ver.2.4.21-251-smp. I've installed the binutil dependencies.
I'm trying to update glibc so I can install Firefox.
Glibc fails to install because it requires a newer version of pthreads. A newer version of pthreads fails to install because it requires a newer version of glibc. How can I break this vicious circle??
I've tried doing the following:
I've unzziped and coppied the linuxthreads and linuxthreads_db into the /glibc-2.3.3 directory as the installation guide says.
But when I run the ../configure --enable-add-ons parameter gives me a thread error, so I replace it with the --disable-sanity-check parameter and it works.
I've run the /glibc-build # ../configure --prefix=/tools --disable-profile --with-binutils=/tools/bin --without-gd --disable-sanity-checks
Now, when I run the make command, I've this error:
bla, bla, bla, ....
-I../sysdeps/generic/elf -I../sysdeps/generic -I /lib/modules/2.4.21-251-smp/build/include -include ../include/libc-symbols.h -o /home/daniel/glibc/glibc-build/assert/assert.o -MD -MP -MF /home/daniel/glibc/glibc-build/assert/assert.o.dt
In file included from ../include/pthread.h:1,
from ../sysdeps/unix/sysv/linux/fatal-prepare.h:19,
from assert.c:42:
/usr/include/pthread.h:163: parse error before '*' token
/usr/include/pthread.h:165: `pthread_create' declared as function returning a function
/usr/include/pthread.h:166: parse error before "void"
/usr/include/pthread.h:169: parse error before "pthread_self"
/usr/include/pthread.h:172: parse error before "__thread1"
/usr/include/pthread.h:181: parse error before "__th"
/usr/include/pthread.h:187: parse error before "__th"
/usr/include/pthread.h:195: parse error before '*' token
/usr/include/pthread.h:198: parse error before '*' token
/usr/include/pthread.h:201: parse error before '*' token
/usr/include/pthread.h:205: parse error before '*' token
.... and continues
Can you help me with this issue?
Thanks, ;D
|