Compile error after final Re-adjusting the Toolchain

Tarsier tarsier6 at yahoo.com
Sun Jul 13 01:10:42 PDT 2008


Hi

I'm getting a compile error after final Re-adjusting the Toolchain(6.10):

1. Rename ld-new to ld
2. gcc -dumpspecs | sed ...

echo 'main(){}' > dummy.c
cc dummy.c -v -Wl,--verbose &> dummy.log

attempt to open /usr/lib/libc.so succeeded
:
attempt to open /usr/lib/crtn.o succeeded
/usr/lib/crtn.o/usr/lib/libc.so: undefined reference to ...
/usr/lib/libc.so: undefined reference to  ...
/usr/lib/libc.so: undefined reference to  ...
/usr/lib/libc.so: undefined reference to  ...
/usr/lib/libc.so: undefined reference to  ...
collect2: ld returned 1 exit status

It is getting crtbegin.o, libgcc.a, libgcc_eh.a and crtend.o from /tools/lib/gcc/$(gcc -dumpmachine)/4.3.1/ .

Any ideas for what went wrong?

Tarsier



      




More information about the lfs-support mailing list