I have done a third try from a Lfs environment. Still the same error, so imho I can exclude host system problems.
I decided to move on in the book to see how far I can get. Tar and bzip2 compiled fine, but coreutils ended in a similar error like bash: gcc -I. -I../lib -I../lib -g -O2 -MT pinky.o -MD -MP -MF .deps/pinky.Tpo -c -o pinky.o pinky.c pinky.c: In function 'idle_string': pinky.c:170: warning: incompatible implicit declaration of built-in function 'sprintf' pinky.c:175: warning: incompatible implicit declaration of built-in function 'sprintf' pinky.c: In function 'print_entry': pinky.c:244: warning: incompatible implicit declaration of built-in function 'printf' pinky.c: In function 'print_long_entry': pinky.c:327: warning: incompatible implicit declaration of built-in function 'printf' pinky.c:371: warning: assignment makes pointer from integer without a cast pinky.c:379: warning: incompatible implicit declaration of built-in function 'fwrite_unlocked' pinky.c:379: error: 'stdout' undeclared (first use in this function) pinky.c:379: error: (Each undeclared identifier is reported only once pinky.c:379: error: for each function it appears in.) pinky.c:397: warning: assignment makes pointer from integer without a cast pinky.c:405: warning: incompatible implicit declaration of built-in function 'fwrite_unlocked' pinky.c: In function 'print_heading': pinky.c:421: warning: incompatible implicit declaration of built-in function 'printf' pinky.c: In function 'usage': pinky.c:506: warning: incompatible implicit declaration of built-in function 'fprintf' pinky.c:506: error: 'stderr' undeclared (first use in this function) pinky.c:510: warning: incompatible implicit declaration of built-in function 'printf' pinky.c:511: error: 'stdout' undeclared (first use in this function) pinky.c: In function 'main': pinky.c:601: error: 'stdout' undeclared (first use in this function) make[2]: *** [pinky.o] Error 1 Rob van Dam schreef: > In chapter 5.11.1 (kernel 2.6 uLibc) I get an error compiling Bash (see > previous message) > > I found one interesting error in config.log: > > conftest.c:91:21: error: libintl.h: No such file or directory > conftest.c: In function 'main': > conftest.c:98: warning: incompatible implicit declaration of built-in > function 'gettext' > configure:8890: $? = 1 > > Libintl.h exists in /mnt/hlfs/sources/uClibc-0.9.29/include/libintl.h > but is not installed by uClibc. > I rechecked the output from uClibc with "make install" and found this: > > > # Remove xlocale header since extended locale support is disabled. > rm -f /tools/include/xlocale.h > # Remove libintl header since gettext support is disabled. > rm -f /tools/include/libintl.h > # Remove thread_db header since thread debug support is disabled. > rm -f /tools/include/thread_db.h > -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
