gcc make error in ch5.5 of LFS 6.0
Hi. I'm trying to install my first LFS.
I haven't been using Linux very long either...
and here's my problem:
I get down to this step in section 5.5 of LFS 6
make BOOT_LDFLAGS="-static" bootstrap
at the end of where it fails it says there are undefined references
i.e. "/usr/lib/libc.a(dl-version.o)(text+0xbe): undefined reference to 'strlen'
before saying "collect2: ld returned 1 exit status
make: *** [genmodes] Error 1
make: *** [stage2 build] Error 2
make: *** [bootstrap] Error 2"
I *never* see "ld: cannot find -lc"
Being really new to Linux, I have no idea what to do next. Any have any suggestions?
whats your host system? It would be a problem there since it is using the host development libraries (hence the static build so you won't have the same problem after chrooting )
do i need additional libraries, or to change something about the way its already set up?
kinda odd considering it made it through stage one and on to stage two.
dont really know considering it found libc.a once a didn't have a problem with it.
I don't know what you could change as far as the setup, what version of glibc do you have on the host system?
I haven't changed anything (haven't changed much, added some programs) from the 4.3 defaults.
I think I'll try the LFS live cd.
|All times are GMT -5. The time now is 07:50 AM.|