LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   [Question] 6.9. Linux-Libc (http://www.linuxquestions.org/questions/linux-from-scratch-13/%5Bquestion%5D-6-9-linux-libc-443780/)

hbinded 05-11-2006 09:46 AM

[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.

hbinded 05-11-2006 10:00 AM

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

:p

hbinded 05-11-2006 11:11 AM

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#


linuxcbon 05-14-2006 06:41 PM

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).


All times are GMT -5. The time now is 05:41 AM.