On 12/18/2012 09:23 PM, JIA Pei wrote: > > Now, fail to build check-0.9.9 ... > The error message is: > > //mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: > note: 'pthread_create@@GLIBC_2.1' is defined in DSO > /tools/lib/libpthread.so.0 so try adding it to the linker command line/ > //tools/lib/libpthread.so.0: could not read symbols: Invalid operation/ > /collect2: error: ld returned 1 exit status/ > /make[2]: *** [check_thread_stress] Error 1/ > /make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/tests'/ > /make[1]: *** [all-recursive] Error 1/ > /make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'/ > /make: *** [all] Error 2/ > > > I tried to re-configure it as mentioned in > http://comments.gmane.org/gmane.linux.lfs.support/35698 > namely: > *$ CFLAGS="-L/tools/lib -lpthread"* > *$ ./configure --prefix=/tools* > > > Problem continues, namely, the above error message is still there... > > How to solve this problem though?
You want to "learn", you figure out yourself how to fix it. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
