LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 02-03-2008, 11:12 AM   #1
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Rep: Reputation: 15
Glibc make error


Hi all

i am getting this error when i tried to compile glibc using make....i have followed the steps given lfs e-book..
Quote:

make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/login'
make subdir=elf -C elf ..=../ subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.5.1/elf'
make -f /mnt/lfs/sources/glibc-build/elf/librtld.mk -f rtld-Rules
make[3]: Entering directory `/mnt/lfs/sources/glibc-2.5.1/elf'
rtld-Rules:41: *** missing separator. Stop.
make[3]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/elf'
make[2]: *** [/mnt/lfs/sources/glibc-build/elf/rtld-libc.a] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1'
make: *** [all] Error 2
lfs@boss:/mnt/lfs/sources/glibc-build$
Please help me to solve this problem

THANKS IN ADVANCE
 
Old 02-03-2008, 11:40 AM   #2
aot2002
Member
 
Registered: Dec 2003
Location: NY
Distribution: Ubuntu 7.10
Posts: 66

Rep: Reputation: 15
Quote:
Originally Posted by lfs_rocks View Post
Hi all

i am getting this error when i tried to compile glibc using make....i have followed the steps given lfs e-book..
Please help me to solve this problem

THANKS IN ADVANCE

you had to have missed a step because i followed the steps and didnt recieve this error
Are you using the livecd or doing this on your harddisk?
 
Old 02-04-2008, 01:08 AM   #3
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aot2002 View Post
you had to have missed a step because i followed the steps and didnt recieve this error
Are you using the livecd or doing this on your harddisk?
i am installing lfs in my harddisk using the sources given in lfs live cd 6.3...
even i didnt get this error when i compiled it first using make...
previously i got error while " make check " when i installed in my pendrive..... now at make stage itself i am getting this error....

Can any one tell the meaning/solution/cause of this error....

it showing missing seperator in the file rtld-Rules:41 line....
i have seen that file and got the line...
but i could not find any mistake...


Please help me to resolve this problem
 
Old 02-04-2008, 08:48 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

You (lfs_rocks) mention that you had some problems with glibc during the 'make check' stage. After you figured out what went wrong, did you delete both the $LFS/sources/glibc-* dirs and restart with a clean source and build tree?

If things go wrong during the build fases it is always a good idea to start with a fresh source tree after you figured out what went wrong. If you don't there's the possibility that some undesired stuff is left behind.

My advice: delete both glibc-2.5.1 and glibc-build directories, unpack glibc and start with the beginning of 5.6. Glibc-2.5.1.

If that doesn't help, retrace your steps for the previous chapters and try to find out if you missed something.

Hope this helps.
 
Old 02-04-2008, 09:01 AM   #5
aot2002
Member
 
Registered: Dec 2003
Location: NY
Distribution: Ubuntu 7.10
Posts: 66

Rep: Reputation: 15
Quote:
Originally Posted by lfs_rocks View Post
i am installing lfs in my harddisk using the sources given in lfs live cd 6.3...
even i didnt get this error when i compiled it first using make...
previously i got error while " make check " when i installed in my pendrive..... now at make stage itself i am getting this error....

Can any one tell the meaning/solution/cause of this error....

it showing missing seperator in the file rtld-Rules:41 line....
i have seen that file and got the line...
but i could not find any mistake...


Please help me to resolve this problem
i would do this in vmware and then port it to your thumbdrive i wouldnt try to do the steps directly off the thumb
but its your time
 
Old 02-04-2008, 10:13 PM   #6
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aot2002 View Post
i would do this in vmware and then port it to your thumbdrive i wouldnt try to do the steps directly off the thumb
but its your time
i did every thing again from the beginning and didnt get this error...
but i got segmentation fault ...
so i compiled it again ...then i didnt get...

now i am getting error at make check stage....
Please see the following link

http://www.linuxquestions.org/questi...5/#post3046321
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
glibc-2.5.1 make error lrt Linux From Scratch 10 07-07-2010 03:37 PM
glibc make error crik91 Linux From Scratch 3 01-14-2008 05:05 AM
make error with glibc-2.3.4 -fatbass- Linux From Scratch 0 06-22-2006 05:32 PM
Glibc 2.4 *Make error* devoid Linux - Software 1 06-12-2006 03:54 PM
Glibc make error jarin scott Linux - Software 3 08-16-2003 10:36 AM


All times are GMT -5. The time now is 04:06 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration