<div dir="ltr">Hi again.<br><br>In this case I have also found an error during the make step (Chapter <br>6 of CLFS), but with texinfo-6.5. In the original version of CLFS<br>it was 5.2.<br><br>It seems that there is a problem with a small application called <br>"makedoc", which is not ready to be used during the compilation of funs.h.<br>This issue seems to appear only in cross-compiling. <br>(See below "First error output")<br><br>I've patched the Makefile.am adding the subdirectory "info":<br><br># painful separate build for cross-compiling.<br>SUBDIRS =<br>if TOOLS_ONLY<br>  # Build native tools only.                  <br>  SUBDIRS += gnulib/lib install-info tp util info<br>                                                             ^^^^    <br>And it fixed the error. But a new one appeared (See below "Second error output")<br>Maybe it has something to do with ncurses...<br><br>Well... it getting hard to install texinfo!<br><br>Any help is welcomed. Thank you.<br><br>Daniel G.<br><br><br>3.0.0-SYSVINIT<br>Linux 4.13.0-36-generic 16.04.1-Ubuntu x86_64 GNU/Linux<br><br>CLFS_HOST="x86_64-cross-linux-gnu"<br>CLFS_TARGET="x86_64-unknown-linux-gnu"<br>CLFS_TARGET32="i686-pc-linux-gnu"<br><br>./configure \<br>--prefix=/tools \<br>--build=${CLFS_HOST} \<br>--host=${CLFS_TARGET}<br><br>#########  First error output   #####################################<br>make[2]: Entering directory '/mnt/clfs/sources/texinfo-6.5/info'<br>x86_64-unknown-linux-gnu-gcc -m64 -DHAVE_CONFIG_H -I. -I..  -I.. <br>-I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/tools/share/locale\" <br>-DINFODIR=\"/tools/share/info\" -DINFODIR2=\"/tools/share/info\"   <br>-g -O2 -MT makedoc.o -MD -MP -MF .deps/makedoc.Tpo -c -o makedoc.o makedoc.c<br><br>mv -f .deps/makedoc.Tpo .deps/makedoc.Po<br>x86_64-unknown-linux-gnu-gcc -m64  -g -O2   -o makedoc makedoc.o <br>../gnulib/lib/libgnu.a -lncurses   <br><br>rm -f doc.c funs.h<br><br>../tools/info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c <br>./indices.c ./nodemenu.c ./footnotes.c ./variables.c<br><br>/bin/bash: ../tools/info/makedoc: No such file or directory<br><br>Makefile:2525: recipe for target 'funs.h' failed<br>make[2]: *** [funs.h] Error 127<br>make[2]: Leaving directory '/mnt/clfs/sources/texinfo-6.5/info'<br>Makefile:1199: recipe for target 'all-recursive' failed<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory '/mnt/clfs/sources/texinfo-6.5'<br>Makefile:1138: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br><br><br>#########  Second error output   #####################################<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:749: undefined reference to `tgetnum'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:759: undefined reference to `tgetnum'<br>terminal.o: In function `terminal_goto_xy':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:294: undefined reference to `tgoto'<br>terminal.o: In function `terminal_delete_lines':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:504: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:504: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:508: undefined reference to `tputs'<br>terminal.o: In function `terminal_insert_lines':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:528: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:528: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:532: undefined reference to `tputs'<br>terminal.o: In function `terminal_scroll_region':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:554: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:554: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:560: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:560: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:563: undefined reference to `tgoto'<br>terminal.o: In function `terminal_default_colour':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:609: undefined reference to `tputs'<br>terminal.o: In function `terminal_set_bgcolour':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:627: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:627: undefined reference to `tputs'<br>terminal.o: In function `terminal_set_colour':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:618: undefined reference to `tgoto'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:618: undefined reference to `tputs'<br>terminal.o: In function `terminal_initialize_terminal':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:934: undefined reference to `tgetent'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:948: undefined reference to `tgetstr'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:976: undefined reference to `tgetstr'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:977: undefined reference to `tgetstr'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:978: undefined reference to `tgetstr'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:979: undefined reference to `tgetstr'<br>terminal.o:/mnt/clfs/sources/texinfo-6.5/info/terminal.c:982: more undefined references to `tgetstr' follow<br>terminal.o: In function `terminal_begin_using_terminal':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:189: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:198: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:184: undefined reference to `tputs'<br>terminal.o: In function `terminal_end_using_terminal':<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:221: undefined reference to `tputs'<br>/mnt/clfs/sources/texinfo-6.5/info/terminal.c:224: undefined reference to `tputs'<br>terminal.o:/mnt/clfs/sources/texinfo-6.5/info/terminal.c:233: more undefined references to `tputs' follow<br>collect2: error: ld returned 1 exit status<br>Makefile:1497: recipe for target 'ginfo' failed<br>make[5]: *** [ginfo] Error 1<br>make[5]: Leaving directory '/mnt/clfs/sources/texinfo-6.5/tools/info'<br>Makefile:1414: recipe for target 'all' failed<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory '/mnt/clfs/sources/texinfo-6.5/tools/info'<br>Makefile:1199: recipe for target 'all-recursive' failed<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory '/mnt/clfs/sources/texinfo-6.5/tools'<br>Makefile:1138: recipe for target 'all' failed<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory '/mnt/clfs/sources/texinfo-6.5/tools'<br>Makefile:1199: recipe for target 'all-recursive' failed<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory '/mnt/clfs/sources/texinfo-6.5'<br>Makefile:1138: recipe for target 'all' failed<br>make: *** [all] Error 2<br></div>