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

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

Reply via email to