Hello all! I downloaded LFS Version SVN-20060406 (some time ago) and startet building my own linux system. Yesterday I once again found time to continue and encountered the first problem:
As I have no idea where the interesting part starts, I just post quite a lot of text: FPBIT='' \ FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf' \ LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' \ DPBIT='' \ DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df' \ TPBIT='' \ TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf' \ MULTILIBS=`/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include --print-multi-lib` \ EXTRA_MULTILIB_PARTS='' \ SHLIB_LINK='/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,[EMAIL PROTECTED]@.so.1 -Wl,[EMAIL PROTECTED]@ -o @multilib_dir@/@[EMAIL PROTECTED] @multilib_flags@ @shlib_objs@ -lc && rm -f @multilib_dir@/@[EMAIL PROTECTED] && if [ -f @multilib_dir@/@[EMAIL PROTECTED] ]; then mv -f @multilib_dir@/@[EMAIL PROTECTED] @multilib_dir@/@[EMAIL PROTECTED]; else true; fi && mv @multilib_dir@/@[EMAIL PROTECTED] @multilib_dir@/@[EMAIL PROTECTED] && ln -s @[EMAIL PROTECTED] @multilib_dir@/@[EMAIL PROTECTED]' \ SHLIB_INSTALL='$(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; /tools/bin/install -c -m 644 @multilib_dir@/@[EMAIL PROTECTED] $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@[EMAIL PROTECTED]; rm -f $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@[EMAIL PROTECTED]; ln -s @[EMAIL PROTECTED] $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@[EMAIL PROTECTED]' \ SHLIB_EXT='.so' \ SHLIB_MULTILIB='' \ SHLIB_MKMAP='../../gcc-4.0.3/gcc/mkmap-symver.awk' \ SHLIB_MKMAP_OPTS='' \ SHLIB_MAPFILES='../../gcc-4.0.3/gcc/libgcc-std.ver ../../gcc-4.0.3/gcc/config/libgcc-glibc.ver' \ SHLIB_NM_FLAGS='-pg' \ MULTILIB_OSDIRNAMES='' \ ASM_HIDDEN_OP='' \ mkinstalldirs='/bin/sh ../../gcc-4.0.3/gcc/../mkinstalldirs' \ /bin/sh mklibgcc > tmp-libgcc.mk mv tmp-libgcc.mk libgcc.mk TARGET_CPU_DEFAULT="" \ HEADERS="ansidecl.h" DEFINES="" \ /bin/sh ../../gcc-4.0.3/gcc/mkconfig.sh tconfig.h tconfig.h is unchanged /sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.0.3/gcc -I../../gcc-4.0.3/gcc/. -I../../gcc-4.0.3/gcc/../include -I../../gcc-4.0.3/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \ -c ../../gcc-4.0.3/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64: ../../gcc-4.0.3/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory ../../gcc-4.0.3/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory ../../gcc-4.0.3/gcc/tsystem.h:96:19: error: errno.h: No such file or directory ../../gcc-4.0.3/gcc/tsystem.h:103:20: error: string.h: No such file or directory ../../gcc-4.0.3/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory ../../gcc-4.0.3/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory In file included from /sources/gcc-build/gcc/include/syslimits.h:7, from /sources/gcc-build/gcc/include/limits.h:11, from ../../gcc-4.0.3/gcc/tsystem.h:108, from ../../gcc-4.0.3/gcc/crtstuff.c:64: /sources/gcc-build/gcc/include/limits.h:122:61: error: limits.h: No such file or directory In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64: ../../gcc-4.0.3/gcc/tsystem.h:111:18: error: time.h: No such file or directory make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory `/sources/gcc-build/gcc' make: *** [all-gcc] Error 2 root:/sources/gcc-build# view /usr/include/stdio stdio.h stdio_ext.h root:/sources/gcc-build# view /usr/include/stdio.h bash: view: command not found OK. Everybody can see, that I get some kind of "file not found" error. After a look to the FAQ I searched some of the LFS list. There I found two similar posts: One starts here: http://archives.linuxfromscratch.org/mail-archives/lfs-support/2006-February/030027.html Here is the other one: http://archives.linuxfromscratch.org/mail-archives/lfs-support/2005-September/028444.html The mail thread says to have a look where my compiler is searching for headers. So I did "gcc dummy.c --verbose" and received the following result: Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5) /usr/lib/gcc/i486-linux-gnu/4.0.3/cc1 -quiet -v dummy.c -quiet -dumpbase dummy.c -mtune=i486 -auxbase dummy -version -o /tmp/ccRxh2dd.s ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.0.3/include /usr/include End of search list. GNU C version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5) (i486-linux-gnu) compiled by GNU C version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 as -V -Qy --32 -o /tmp/ccu1QCmm.o /tmp/ccRxh2dd.s GNU assembler version 2.16.91 (i486-linux-gnu) using BFD version 2.16.91 20060118 Debian GNU/Linux /usr/lib/gcc/i486-linux-gnu/4.0.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.0.3/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.0.3 -L/usr/lib/gcc/i486-linux-gnu/4.0.3 -L/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/4.0.3/../../.. -L/lib/../lib -L/usr/lib/../lib /tmp/ccu1QCmm.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-linux-gnu/4.0.3/crtend.o /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crtn.o In the other mail thread it says "Have you looked at $LFS/usr/include/stdio.h with a text editor? Does it look similar to the one on your host system?". Therefor I did "diff -s /media/sdb3/usr/include/stdio.h /usr/include/stdio.h" an got the following answer: "Dateien /media/sdb3/usr/include/stdio.h und /usr/include/stdio.h sind identisch." It says (in german) that the two files do not differ but are the same. I really hope, that I can continue with LFS Version SVN-20060406 as it really takes time to compile all the software. But obviusly I need some help here and now. By the way: In the LFS book it sometimes says that a patch has to be installed. At the beginning I doenloaded all sources and patches but I am quite sure, that I have not apllied all patches so far. Might there be some patch needed? Kind regards, Leonhard. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page