Hi,
Giving this whole LFS thing a spin, got no errors up to the point where I have to install ncurses then I get the following:
Code:
cd man && make DESTDIR="" all
make[1]: Entering directory `/mnt/lfs/sources/ncurses-5.7/man'
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.7/man'
cd include && make DESTDIR="" all
make[1]: Entering directory `/mnt/lfs/sources/ncurses-5.7/include'
cat curses.head >curses.h
AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi'
cat ./curses.tail >>curses.h
sh ./MKhashsize.sh ./Caps >hashsize.h
AWK=gawk sh ./MKncurses_def.sh ./ncurses_defs >ncurses_def.h
AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h
gawk -f MKterm.h.awk ./Caps > term.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
** edit: HAVE_TERMIO_H 1
** edit: BROKEN_LINKER 0
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.7/include'
cd ncurses && make DESTDIR="" all
make[1]: Entering directory `/mnt/lfs/sources/ncurses-5.7/ncurses'
gawk -f ./tinfo/MKcodes.awk bigstrings=1 ./../include/Caps >codes.c
gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -I./../include -I../include -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -I/tools/include -O2 --param max-inline-insns-single=1200 -DMAIN_PROGRAM ./tinfo/comp_hash.c
sh -e ./tinfo/MKcaptab.sh gawk 1 ./tinfo/MKcaptab.awk ./../include/Caps > comp_captab.c
./tinfo/MKcaptab.sh: line 48: 11413 Segmentation fault ./make_hash 1 info $OPT1 < $DATA
make[1]: *** [comp_captab.c] Error 139
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.7/ncurses'
make: *** [all] Error 2
Then, I figured I would try running 'make' again, expecting the same thing to happen...it didnt, I got a completely different error and NO segfault to be seen:
Code:
gcc ../obj_s/tic.o ../obj_s/dump_entry.o -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -I/tools/include -O2 --param max-inline-insns-single=1200 -fPIC -L../lib -lncurses -L../lib -lncurses -o tic
../obj_s/dump_entry.o: In function `nametrans':
dump_entry.c:(.text+0x98a): undefined reference to `_nc_get_hash_table'
../lib/libncurses.so: undefined reference to `_nc_get_alias_table'
../lib/libncurses.so: undefined reference to `_nc_get_table'
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.7/progs'
make: *** [all] Error 2
I've tried deleting the dir and reextracting and still the same thing happens, 'configure' didnt seem to return any errors that I see and every step before this has returned 0 errors.
I am at a loss, any insight would be appreciated.