Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 02-09-2010, 07:02 PM   #1
LQ Newbie
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Rep: Reputation: 0
Lfs 6.3, Step 6.9 - Compiling Glibc-2.5.1


So far through lfs I've had smooth sailing, this is the first step i've had any issues with. I've already tried this step multiple times and each time it has failed at the same step.

The error occurs when I run the 'make' command in the glibc-build directory.

Everything goes fine until the line:
make subdir=posix -C posix ..=../ subdir_lib
And crashes with
make[2]: *** [/sources/glibc-build/posix/getaddrinfo.o] Error 1
make[2]: Leaving directory 'sources/glibc-2.5.1/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[2]: Leaving directory '/sources/glibc-2.5.1'
make: *** [all] Error 2
If required I can post the whole error but is rather large and just shows errors in /sysdeps/posix/getaddrinfo.c.

If you know anything to try/how to fix this it would be greatly appreciated.

Thanks in advance, lszanto
Old 02-09-2010, 08:12 PM   #2
Senior Member
Registered: Jan 2010
Posts: 1,608

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449

I did not find this command in my LFS 6.3 book.
make subdir=posix -C posix ..=../ subdir_lib
If this is your first build you should not deviate from the book.

Attach the logfile since what you posted just states that there is an error somewhere but not what that error is.
0 members found this post helpful.
Old 02-09-2010, 08:19 PM   #3
LQ Newbie
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Original Poster
Rep: Reputation: 0
Thats not a command, its part of the 'make' command and is called when it is executed. I've solved the issue now anyway.
0 members found this post helpful.


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
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
Trouble compiling Binutils in LFS step. rosster Linux - Newbie 1 07-20-2008 04:21 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS 6.1 step 5.7: "ld: no input file" when compiling dummy.c zonk Linux From Scratch 6 09-05-2005 01:51 AM
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-13-2005 11:39 PM

All times are GMT -5. The time now is 11:12 PM.

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