Matthias Rüster wrote:
> 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'

>> 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 had the same problem on the current stable lfs version 7.3 (using
> Ubuntu 12.10).
>
> Those two CFLAGS additions fixed it for me.
> Maybe its worth putting it into the Errata?

Perhaps.  I don't know how many people would read it until check fails. 
  The proper fix is to add --with-sysroot to the configure line in 
binutils pass 2.

I did add the erratum.

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

Reply via email to