LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
  Search this Thread
Old 11-12-2004, 10:10 AM   #1
DanielIvy
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
Question 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
 
Old 12-08-2004, 03:09 AM   #2
oliver2100s
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Did you use ../configure --enable-add-ons parameter?

You can try this one:
../configure --enable-add-ons=linuxthreads
 
Old 12-09-2004, 06:40 AM   #3
DanielIvy
LQ Newbie
 
Registered: Nov 2004
Posts: 5

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

Daniel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:33 PM
Glibc make error Edgington Linux From Scratch 7 12-23-2004 04:25 AM
make glibc error (LFS) gatblast45 Linux - Software 3 12-21-2004 11:30 AM
make glibc 2.3.2 debian error storma Linux - Software 0 01-01-2004 01:29 AM
Glibc make error jarin scott Linux - Software 3 08-16-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration