LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error 6.7. Linux-2.6.32.8 API Headers (https://www.linuxquestions.org/questions/linux-from-scratch-13/error-6-7-linux-2-6-32-8-api-headers-806511/)

usef62 05-07-2010 10:05 AM

Error 6.7. Linux-2.6.32.8 API Headers
 
Hi
i have problem in make headers_check

os ubuntu 9.10
6.7.1. Installation of Linux API Headers
Book LFS 6.6

root:/sources/linux-2.6.32.8# make headers_check
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
/tools/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

root:/sources/linux-2.6.32.8# ls /tools/lib/crti.o
/tools/lib/crti.o
root:/sources/linux-2.6.32.8#
root:/sources/linux-2.6.32.8# ls /lib/crti.o
ls: cannot access /lib/crti.o: No such file or directory

business_kid 05-09-2010 03:31 AM

So you're on chapter 6 (building actual system) and have the static system there as built in chapter 5.

Check for the location of that i686-pc-linux-gnu directory.
Mine showed up in /usr, not in /lib, or /lib64
That file is only a symlink to /usr/bin/ld anyhow, so you can always cheat


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