Hi again :)
a few days ago, i mailed a problem about compiling tlc, but i got the
advise to fix this problem first instead of using my workarround.
My host system is a Debian etch on a 64 Bit machine.
So i rebuild everything from binutils on, even copied all commands to
avoid mistakes. After adjusting the toolchain, i tried to compile the
dummy.c and gcc returns:
[EMAIL PROTECTED]:/mnt/lfs/sources$ gcc dummy.c
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
it seems, that ld uses the wrong libc. So i checked whether the right
linker is used and whether it is linked correctly:
gcc -print-prog-name=ld
/mnt/lfs/tools/x86_64-unknown-linux-gnu/bin/ld
and ld is a link to
/tools/bin/ld
so, everything is correct. Now i tried whether the lib Path in ld is
correct:
/mnt/lfs/sources$ /tools/bin/ld --verbose | grep SEARCH
SEARCH_DIR("/tools/x86_64-unknown-linux-gnu/lib64");
SEARCH_DIR("/tools/x86_64-unknown-linux-gnu/lib");
SEARCH_DIR("/tools/lib");
I'm not an expert, but i think, this is right.
Does anybody here has an idea what i have done wrong? I have tried this
with the original LFC and the development versions and both versions
failed at this point for me.
Regards,
Oswin Krause
ps: hope you can understand me, didn't speak english for a long time
after school.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page