LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 11-12-2004, 11:10 AM   #1
DanielIvy
LQ Newbie
 
Registered: Nov 2004
Posts: 5
Thanked: 0
Question glibc make error: pthread.h


[Log in to get rid of this advertisement]
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
DanielIvy is offline     Reply With Quote
Old 12-08-2004, 04:09 AM   #2
oliver2100s
LQ Newbie
 
Registered: Dec 2004
Posts: 1
Thanked: 0
Did you use ../configure --enable-add-ons parameter?

You can try this one:
../configure --enable-add-ons=linuxthreads
oliver2100s is offline     Reply With Quote
Old 12-09-2004, 07:40 AM   #3
DanielIvy
LQ Newbie
 
Registered: Nov 2004
Posts: 5
Thanked: 0

Original Poster
Thanks, but I've fixed it deleting the "nptl" folder and
./configure --prefix=usr --disble-profile --enable-add-ons --without-gd

Daniel
DanielIvy is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error:6.11 Glibc-2.3.4---make check ukyo Linux From Scratch 3 08-26-2005 06:33 PM
Glibc make error Edgington Linux From Scratch 7 12-23-2004 05:25 AM
make glibc error (LFS) gatblast45 Linux - Software 3 12-21-2004 12:30 PM
make glibc 2.3.2 debian error storma Linux - Software 0 01-01-2004 02:29 AM
Glibc make error jarin scott Linux - Software 3 08-16-2003 11:36 AM


All times are GMT -5. The time now is 09:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration