Hi!

This is a great tutorial:-)

I'm new here, and I [think I] was quite successful with the basic LSF
book until Check-0.9.9,

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/check.html

where I received errors when running make.

The output from the following command is attached

make > check-0.9.9-error.log 2>&1

How should I continue from this point?

-o-

The host system is Ubuntu 12.04.2, 32-bits, running in an HP xw8400
workstation.

$ uname -a
Linux ssd-grund 3.2.0-48-generic-pae #74-Ubuntu SMP Thu Jun 6 20:05:01
UTC 2013 i686 i686 i386 GNU/Linux

-o-

Best regards
Nio
make  all-recursive
make[1]: Entering directory `/mnt/lfs/sources/check-0.9.9'
Making all in lib
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
Making all in src
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/src'
Making all in doc
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/doc'
Making all in .
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9'
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
Making all in checkmk
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9/checkmk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/checkmk'
Making all in tests
make[2]: Entering directory `/mnt/lfs/sources/check-0.9.9/tests'
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros   -o check_thread_stress check_thread_stress-check_thread_stress.o ../src/libcheck.la ../lib/libcompat.la  -lrt
libtool: link: gcc -g -O2 -Wall -ansi -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -o .libs/check_thread_stress check_thread_stress-check_thread_stress.o  ../src/.libs/libcheck.so ../lib/.libs/libcompat.a -lrt -Wl,-rpath -Wl,/tools/lib
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ld: check_thread_stress-check_thread_stress.o: undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/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
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to