hi all :)
Sorry, my English is a bit bad, i hope you understand me anyway :)
I'm currently working with the development version of LFS, because the stable 
version didn't work for me. I got linker errors all the time when i tried to 
compile the dummy.c. For getting the development tools to work, i had to switch 
build order a bit, so i had to build the ld-new after i had compiled the new 
glib.

first i configured tlc: ./configure --prefix=/tools

Now i tried to compile tlc. After make i get the following error:

gcc -O2  -pipe  -DTCL_DBGX=   -Wl,--export-dynamic tclAppInit.o 
-L/mnt/lfs/sources/tcl8.4.18/unix -ltcl8.4 -ldl  -lieee -lm  \
                -Wl,-rpath,/tools/lib -o tclsh
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make: *** [tclsh] Error 1


It seems that gcc chooses the wrong libc.6.so . I don't know how that can be 
possible, the dummy.c was linked correctly:

[EMAIL PROTECTED]:/mnt/lfs/sources$ /usr/bin/ldd a.out
        libc.so.6 => /tools/lib/libc.so.6 (0x00002b609757a000)
        /tools/lib/ld-linux-x86-64.so.2 (0x00002b609735e000)

Oh and my binutils behave a bit odd. a simple ldd a.out returns:

[EMAIL PROTECTED]:/mnt/lfs/sources$ ldd a.out
        not a dynamic executable


I hope you can help me :) When you need some more informations, feel free to 
ask :)




_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to