LinuxQuestions.org
Help answer threads with 0 replies.
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
 
Search this Thread
Old 05-11-2006, 08:46 AM   #1
hbinded
Member
 
Registered: May 2006
Distribution: Slackware & MyLFScratch
Posts: 37

Rep: Reputation: 15
[Question] 6.9. Linux-Libc and Glibc-2.3


After some abscence, I'm back to building my LFS. Now I got to this point where I'm supposed to issue this command (chapter 6.9)
Code:
cp -Rv include/asm-i386 /usr/include/asm
cp -Rv include/linux /usr/include
From where should I issue this command? Is it from the /sources directory or from the /tools directory? keep in mind I'm in the chroot environment.

Last edited by hbinded; 05-11-2006 at 09:57 AM. Reason: Got a problem later
 
Old 05-11-2006, 09:00 AM   #2
hbinded
Member
 
Registered: May 2006
Distribution: Slackware & MyLFScratch
Posts: 37

Original Poster
Rep: Reputation: 15
Ohh, he he, I think I found the answer:
you must extraxt the headers again, as you deleted them earlier.
i.e.
Code:
# tar xf linux-libc-headers-version.tar
# cd linux-libcd-headers-version
# cp -Rv include/asm-i386 /usr/include/asm
# cp -Rv include/linux /usr/include
 
Old 05-11-2006, 10:11 AM   #3
hbinded
Member
 
Registered: May 2006
Distribution: Slackware & MyLFScratch
Posts: 37

Original Poster
Rep: Reputation: 15
Hey, I got and error after make. My console just stopped responding to any input. Everything else works just perfectly. What could be the problem?

btw, I got this after
Code:
root:/sources/glibc-2.3.4# cd ../glibc-build
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
root:/sources/glibc-build#

Last edited by hbinded; 05-11-2006 at 10:36 AM. Reason: got the real error message
 
Old 05-14-2006, 05:41 PM   #4
linuxcbon
Member
 
Registered: May 2006
Posts: 56

Rep: Reputation: 16
some tips

Do all that from $LFS/sources directory :

For the libc headers, it depends on which processors you have : intel 32 bits (use i386) ou 64 bits (use ia64), or powerpc etc. You need to unzip the libc headers and copy the correct directories in the /tools/include .

Then install glibc. Dont forget to do the patch first. Then configure with the correct options. And then do make (takes long).
 
  


Reply

Tags
error, grep


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
linux-libc-headers kornerr Linux From Scratch 3 02-23-2006 12:31 PM
about linux-libc-headers-2.6.12... ParticleHunter Linux From Scratch 3 09-05-2005 09:23 AM
(g)libc question mmm Linux - General 7 06-15-2005 01:39 AM
cp linux-libc-headers to ??? joirnange Linux - Newbie 11 01-16-2005 03:11 AM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM


All times are GMT -5. The time now is 09:01 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration