LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   No rule to make target in glibc make (https://www.linuxquestions.org/questions/linux-from-scratch-13/no-rule-to-make-target-in-glibc-make-923066/)

Bazzaah 01-10-2012 09:22 AM

No rule to make target in glibc make
 
My build of glibc just failed with an error 2 message below.

Any ideas on how to remedy? It seems to be saying that a file's missing or a path is wrong, but I'm only guessing with that.

Thanks in advance - do say if you need more info.

Code:

/bin/sh scripts/gen-libc-abis \
                x86_64-lfs-linux-gnu \
                < libc-abis > /mnt/lfs/sources/glibc-build/libc-abis.hT
/bin/sh scripts/move-if-change /mnt/lfs/sources/glibc-build/libc-abis.hT /mnt/lfs/sources/glibc-build/libc-abis.h
touch /mnt/lfs/sources/glibc-build/libc-abis.stamp
make[1]: *** No rule to make target `/mnt/lfs/sources/glibc-build/Versions.all', needed by `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [all] Error 2


spiky0011 01-11-2012 02:25 AM

Hi

Not sure on your errors, I dont understand the part you have "/bin/sh" and also did you make sure your host was compliant with building lfs
http://www.linuxfromscratch.org/lfs/.../hostreqs.html.

Bazzaah 01-11-2012 03:47 AM

Hi, thanks for replying.

Yep, I've been following the book very carefully.

I ran the check script and got compilation OK at the end of it, so I don't think I'm missing any tools.

I've been working through LFS on Debian Squeeze; I have an Arch installation as well and will try running it on that.

Bazzaah 01-11-2012 05:24 AM

It's compiling in Arch as I write; must've been a missing package (probably glibc) in Debian that I overlooked and therefore my mistake.

D'oh.

spiky0011 01-11-2012 05:28 AM

Glad it,s working out now


All times are GMT -5. The time now is 10:24 AM.