Hello,
I am following the CLFS x86_64 book, and I got as far as making texinfo 4.8, however, when I get to the make of texinfo 4.8, I get the following erros.
What can I do to get past this?
Code:
if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DINFODIR=\"/usr/local/info\" -DINFODIR2=\"/usr/
local/share/info\" -I. -I/mnt/lfs/sources/texinfo-4.8/info -I.. -I. -I/mnt/lfs/sources/texinfo-4.8/lib -I../int
l -I.. -I/mnt/lfs/sources/texinfo-4.8/info -g -O2 -MT variables.o -MD -MP -MF ".deps/variables.Tpo" -c -o va
riables.o /mnt/lfs/sources/texinfo-4.8/info/variables.c; \
then mv -f ".deps/variables.Tpo" ".deps/variables.Po"; else rm -f ".deps/variables.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DINFODIR=\"/usr/local/info\" -DINFODIR2=\"/usr/
local/share/info\" -I. -I/mnt/lfs/sources/texinfo-4.8/info -I.. -I. -I/mnt/lfs/sources/texinfo-4.8/lib -I../int
l -I.. -I/mnt/lfs/sources/texinfo-4.8/info -g -O2 -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o
/mnt/lfs/sources/texinfo-4.8/info/window.c; \
then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DINFODIR=\"/usr/local/info\" -DINFODIR2=\"/usr/
local/share/info\" -I. -I/mnt/lfs/sources/texinfo-4.8/info -I.. -I. -I/mnt/lfs/sources/texinfo-4.8/lib -I../int
l -I.. -I/mnt/lfs/sources/texinfo-4.8/info -g -O2 -MT doc.o -MD -MP -MF ".deps/doc.Tpo" -c -o doc.o doc.c; \
then mv -f ".deps/doc.Tpo" ".deps/doc.Po"; else rm -f ".deps/doc.Tpo"; exit 1; fi
gcc -g -O2 -o ginfo dir.o display.o dribble.o echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o
info.o infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o vari
ables.o window.o doc.o ../lib/libtxi.a
terminal.o: In function `terminal_end_using_terminal':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:167: undefined reference to `tputs'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:176: undefined reference to `tputs'
terminal.o: In function `terminal_begin_using_terminal':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:136: undefined reference to `tputs'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:145: undefined reference to `tputs'
terminal.o: In function `terminal_get_screen_size':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:482: undefined reference to `tgetnum'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:494: undefined reference to `tgetnum'
terminal.o: In function `terminal_initialize_terminal':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:540: undefined reference to `tgetent'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:554: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:580: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:581: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:582: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:583: undefined reference to `tgetstr'
terminal.o:/mnt/lfs/sources/texinfo-4.8/info/terminal.c:586: more undefined references to `tgetstr' follow
terminal.o: In function `terminal_initialize_terminal':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:618: undefined reference to `tgetflag'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:618: undefined reference to `tgetflag'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:629: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:630: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:631: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:632: undefined reference to `tgetstr'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:634: undefined reference to `tgetstr'
terminal.o:/mnt/lfs/sources/texinfo-4.8/info/terminal.c:635: more undefined references to `tgetstr' follow
terminal.o: In function `terminal_goto_xy':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:236: undefined reference to `tgoto'
terminal.o: In function `terminal_insert_lines':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:390: undefined reference to `tgoto'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:390: undefined reference to `tputs'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:394: undefined reference to `tputs'
terminal.o: In function `terminal_delete_lines':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:366: undefined reference to `tgoto'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:366: undefined reference to `tputs'
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:370: undefined reference to `tputs'
terminal.o: In function `terminal_ring_bell':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:349: undefined reference to `tputs'
terminal.o: In function `terminal_end_inverse':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:333: undefined reference to `tputs'
terminal.o: In function `terminal_begin_inverse':
/mnt/lfs/sources/texinfo-4.8/info/terminal.c:321: undefined reference to `tputs'
terminal.o:/mnt/lfs/sources/texinfo-4.8/info/terminal.c:309: more undefined references to `tputs' follow
collect2: ld returned 1 exit status
make[5]: *** [ginfo] Error 1
make[5]: Leaving directory `/mnt/lfs/sources/texinfo-4.8/tools/info'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/mnt/lfs/sources/texinfo-4.8/tools/info'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/texinfo-4.8/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/texinfo-4.8/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/texinfo-4.8'
make: *** [all] Error 2
Thanks for your help