In chapter  5.11.1 (kernel 2.6 uLibc) I get an error compiling Bash:

/usr/local/share/bison/bison.simple: In function 'libintl_gettextparse':
/usr/local/share/bison/bison.simple:379: warning: not protecting local 
variables: variable length buffer
gcc -c -DLOCALEDIR=\"/tools/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/tools/share/locale\" -DLIBDIR=\"/tools/libdata\" 
-DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY 
-DINSTALLDIR=\"/tools/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set_relocation_prefix 
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H 
-DSHELL -I. -I. -I/mnt/hlfs/sources/bash-3.2 -I../..  -g -O2  plural-exp.c
gcc -c -DLOCALEDIR=\"/tools/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/tools/share/locale\" -DLIBDIR=\"/tools/libdata\" 
-DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY 
-DINSTALLDIR=\"/tools/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set_relocation_prefix 
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H 
-DSHELL -I. -I. -I/mnt/hlfs/sources/bash-3.2 -I../..  -g -O2  localcharset.c
localcharset.c: In function 'get_charset_aliases':
localcharset.c:138: warning: assignment makes pointer from integer 
without a cast
localcharset.c:154: error: 'EOF' undeclared (first use in this function)
localcharset.c:154: error: (Each undeclared identifier is reported only once
localcharset.c:154: error: for each function it appears in.)
localcharset.c:169: warning: incompatible implicit declaration of 
built-in function 'fscanf'
make[1]: *** [localcharset.o] Error 1
make[1]: Leaving directory `/mnt/hlfs/sources/bash-3.2/lib/intl'
make: *** [lib/intl/libintl.a] Error 1

Any idea?


Regards,

Rob
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to