[lfs-support] check 0.9.9 (5.13) fails

Tobias Gasser lfs at ebp-gasser.ch
Mon Nov 12 02:33:24 PST 2012


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







More information about the lfs-support mailing list