Hello,
i try to cross compile LFS, following the LFS 6.0 howto and the cross compiling howto (http://lfs.pagefault.net/hints/downloads/files/crosscompiling-x86.txt).
I've run
"../glibc-2.3.4-20040701/configure --host="$CHOST" --target="$CHOST" \ --prefix=/tools \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 \
--with-binutils=/tools/bin --without-gd --without-cvs \
--with-headers=/tools/glibc-kernheaders"
than compile it with "make". That works without problems.
make_check found serveral errors like:
"cd /opt/lfs/sources/glibc-build/elf && gcc -B/tools/bin/ -O -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -include ../config.h /opt/lfs/sources/glibc-2.3.4-20040701/elf/check-textrel.c -o check-textrel
/tools/bin/ld: cannot find /tools/lib/libc.so.6
collect2: ld returned 1 exit status
make[2]: *** [/opt/lfs/sources/glibc-build/elf/check-textrel] Error 1
make[2]: Leaving directory `/opt/lfs/sources/glibc-2.3.4-20040701/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Leaving directory `/opt/lfs/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2"
When I run "make cross_compiling=no install"
"make[2]: Leaving directory `/opt/lfs/sources/glibc-2.3.4-20040701/wctype'
make -C manual subdir_install
make[2]: Entering directory `/opt/lfs/sources/glibc-2.3.4-20040701/manual'
LANGUAGE=C LC_ALL=C makeinfo libc.texinfo
/opt/lfs/sources/glibc-2.3.4-20040701/manual//creature.texi:220: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//memory.texi:2326: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//filesys.texi:3191: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//math.texi:1369: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//arith.texi:421: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//arith.texi:972: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//arith.texi:1725: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//time.texi:1652: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//resource.texi:594: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//resource.texi:666: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:9381: Cross reference to nonexistent node `Threads and Signal Handling' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8766: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8761: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8756: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8751: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8746: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:8741: Cross reference to nonexistent node `POSIX Semaphores' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7406: Cross reference to nonexistent node `Cancellation' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7401: Cross reference to nonexistent node `Threads and Signal Handling' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7396: Cross reference to nonexistent node `Thread-Specific Data' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7391: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7386: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7381: Cross reference to nonexistent node `Cancellation' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7376: Cross reference to nonexistent node `Cancellation' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7371: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7366: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7361: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7356: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7351: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7346: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7341: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7336: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7331: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7326: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7321: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7316: Cross reference to nonexistent node `Mutexes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7311: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7306: Cross reference to nonexistent node `Threads and Signal Handling' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7301: Cross reference to nonexistent node `Thread-Specific Data' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7296: Cross reference to nonexistent node `Thread-Specific Data' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7291: Cross reference to nonexistent node `Basic Thread Operations' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7286: Cross reference to nonexistent node `Thread-Specific Data' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7281: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7276: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7271: Cross reference to nonexistent node `Basic Thread Operations' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7266: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7261: Cross reference to nonexistent node `Miscellaneous Thread Functions' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7256: Cross reference to nonexistent node `Basic Thread Operations' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7251: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7246: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7241: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7236: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7231: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7226: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7221: Cross reference to nonexistent node `Condition Variables' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7216: Cross reference to nonexistent node `Cleanup Handlers' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7211: Cross reference to nonexistent node `Cleanup Handlers' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7206: Cross reference to nonexistent node `Cleanup Handlers' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7201: Cross reference to nonexistent node `Cleanup Handlers' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7196: Cross reference to nonexistent node `Basic Thread Operations' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7191: Cross reference to nonexistent node `Thread Attributes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7186: Cross reference to nonexistent node `Thread Attributes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7181: Cross reference to nonexistent node `Thread Attributes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7176: Cross reference to nonexistent node `Thread Attributes' (perhaps incorrect sectioning?).
/opt/lfs/sources/glibc-2.3.4-20040701/manual//summary.texi:7171: Cross reference to nonexistent node `Threads and Fork' (perhaps incorrect sectioning?).
makeinfo: Removing output file `/opt/lfs/sources/glibc-2.3.4-20040701/manual/libc.info' due to errors; use --force to preserve.
make[2]: *** [libc.info] Error 1
make[2]: Leaving directory `/opt/lfs/sources/glibc-2.3.4-20040701/manual'
make[1]: *** [manual/subdir_install] Error 2
make[1]: Leaving directory `/opt/lfs/sources/glibc-2.3.4-20040701'
make: *** [install] Error 2"
How can I solve this problem?
Many thanks
bye
Fabian -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page