On 03/13/2013 12:05 PM, Felyza Wishbringer wrote:
> Thanos Baloukas <baloukasthan <at> sch.gr> writes:
>
> [...]
>>>>> read_stress.o: undefined reference to symbol 'pthread_create@@
> GLIBC_2.2.5'
>>>>>
> /mnt/lfs/tools/bin/../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 /tools/lib/libpthread.so.0 so try add
> ing it to
> [...]
>
> Same error, also on a Mint host for build. (Mint13-Mate-x86_64)
>
> I managed to get this working by combining a few things found on different
> places on the 'net.
>
> To build, it worked perfectly fine using these two commands...
>
> CFLAGS="-L/tools/lib -lpthread" ./configure --prefix=/tools
> CFLAGS="-L/tools/lib -lpthread" make
>
> (I know this is a month late, but hopefully it helps someone else out there.)
>

Hello,

I had the same problem on the current stable lfs version 7.3 (using 
Ubuntu 12.10).

Those two CFLAGS additions fixed it for me.

Thanks for reporting it.

Maybe its worth putting it into the Errata?

Kind regards,
MR
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to