[uClibc]directfb pthread linking problems

Alex Song alexsong at comports.com
Sat May 25 17:22:29 UTC 2002


At 03:14 AM 05/26/2002, Steven J. Hill wrote:
>Alex Song wrote:
>>tried it again, now uclibc-ldd doesn't crash any more but libpthread 
>>still doesn't seem to link properly with directfb still. do you know who 
>>originally submitted that directfb was compatible with uclibc ? i would 
>>be interested to know how he/she got directfb to work with uclibc.
>>building just with PATH set produces the following when uclibc-ldd is run:
>>         libdl.so.0 => /usr/i386-linux-uclibc/lib/libdl.so.0
>>         libpthread.so.0 => /lib/libpthread.so.0
>>         libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0
>>         libc.so.6 => /lib/libc.so.6
>>         ld-linux.so.2 => /lib/ld-linux.so.2
>Your toolchain for uclibc or your toolchain in general is fucked. There

it's not, i can compile other things fine just not directfb.

>should not be any libc.so.6 or ld-linux.so.2 in the library. Did you make 
>sure that when you built uClibc you had your config file set with:

i know they shouldn't be there.

>     BUILD_UCLIBC_LDSO = true
>     #SYSTEM_LDSO = /lib/ld-linux.so.2

sure did.

>It should be very obvious that your toolchain is screwed. Try again.

i don't think so as i can compile other stuff with it, with or without 
libpthread, and it works fine.

alex




More information about the uClibc mailing list