lfs 6.3 glibc 2.5.1 compile error
here's my error on compiling (or trying to) glibc. My host system is arch linue kernel 2.6.27, and i've already made sure that i'm using gawk and not mawk, as i know that this causes problems itself.
make make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.5.1 objdir=`pwd` all make[1]: Entering directory `/mnt/lfs/tools/glibc-2.5.1' make subdir=csu -C csu ..=../ subdir_lib make[2]: Entering directory `/mnt/lfs/tools/glibc-2.5.1/csu' make[2]: Nothing to be done for `subdir_lib'. make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/csu' make subdir=iconv -C iconv ..=../ subdir_lib make[2]: Entering directory `/mnt/lfs/tools/glibc-2.5.1/iconv' /bin/install -c -m 644 /mnt/lfs/tools/glibc-build/../include/linux/limits.h /tools/include/linux/limits.h /bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/limits.h' and `/tools/include/linux/limits.h' are the same file /bin/install -c -m 644 /mnt/lfs/tools/glibc-build/../include/linux/errno.h /tools/include/linux/errno.h /bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/errno.h' and `/tools/include/linux/errno.h' are the same file make[2]: *** [/tools/include/linux/errno.h] Error 1 make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/iconv' make[1]: *** [iconv/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1' make: *** [all] Error 2 that's actually the second error. the first one i just ran make again and it fixed itself (i guess). that was this: make[2]: *** No rule to make target `/mnt/lfs/tools/glibc-build/s-proto.d', needed by `/mnt/lfs/tools/glibc-build/signal/kill.o'. Stop. make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/signal' make[1]: *** [signal/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1' make: *** [all] Error 2 if that's important and i should pay more attention to it let me know please, but like i said, i ran make again and it didn't give me that the second time around. thanks in advance for your help -J ps just incase you need output of env: TERM=xterm LC_ALL=POSIX LFS=/mnt/lfs PATH=/tools/bin:/bin:/usr/bin PWD=/mnt/lfs/tools PS1=\u:\w\$ SHLVL=1 HOME=/home/lfs _=/usr/bin/env OLDPWD=/mnt/lfs/tools/glibc-build and uname -a: 2.6.27-ARCH #1 SMP PREEMPT Sun Oct 12 15:16:25 CEST 2008 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux |
Can you add your build command to the original post? i.e.
VARS=<value> ./configure --<options> VARS=<value> make make [DESTDIR=<directory>] install Thanks =D |
oops
I found one of the deadliest bugs possible. PEBKAC ha ha ha. As you can see, i had the sources in /mnt/lfs/tools, which is where /tools is symlinked to, so of course it's gonna scream about the file being the same. . .it is! As far as the ./configure switches and the build commands i just copied directly from the book. This is actually my fifth LFS, for a buddy of mine, and I can't beleive I made such a ridiculous mistake. In any case, thank you for your help!
-J |
I've kicked the LFS/DIY GNU+Linux ball around a lot, too. Its something that happens to everybody..no worries! ;)
|
Please help me!!!
Quote:
everything went fine until now! how do i fix it. i looked into the tools file and couldnt find what you guys were talking about. this is my first time running throughout this... this is what i get make[1]: *** No rule to make target `/home/lfs/glibc-build/Versions.all', needed by `/home/lfs/glibc-build/abi-versions.h'. Stop. make[1]: Leaving directory `/home/lfs/glibc-2.11.1' make: *** [all] Error 2 when i run the command make with no permitters as it says it in the book. if the problem is not gawk vs mawk, what should i do. or how do i install gawk on ubuntu as sudo apt-get install gawk doesn't work |
Quote:
If you insist on using Ubuntu as host try installing gawk via synaptic package manager (System -> Administration -> Synaptic packaggemanager). Make sure all other requirements are met by your system. http://www.linuxfromscratch.org/lfs/.../hostreqs.html. If you are not building LFS 6.5 version check the requirements of your corresponding version. |
Quote:
I ran out of room before i got to compile my binutil cuz the ISO didnt have enough room tried getting the gawk via package manager. it found mawk for me but not gawk do i have to turn on some sources or something |
Quote:
Settings -> package source Or something similiar. |
All times are GMT -5. The time now is 08:15 AM. |