Am 12.11.2012 11:15, schrieb Tobias Gasser:

> /STAGE1/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
> note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO
> /STAGE1/lib/libpthread.so.0 so try adding it to the linker command line


i was a little hasty writing my previous mail.

adding

CFLAGS="-L/STAGE1/lib -lpthread" make...

fixes the problem



configure confirms to miss libpthread, but does not throw an error!

checking whether unsetenv is declared... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for gawk... /usr/bin/gawk

tobias




-- 
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