coltson |
01-07-2024 04:33 PM |
Problem building binutils-2.23.2 (and then textinfo)
Hi. Following chapter 5.15.1 of Cross-Compiled Linux from Scratch. which is binutils compilation, I end facing:
Code:
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd/doc'
Making info in po
make[3]: Entering directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd/po'
make[3]: Entering directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd'
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/binutils-2.23.2/build/bfd'
I then proceeded to install textinfo as recommended by the warning.
However, I am confronted by these errors:
Quote:
........
terminal.c:(.text+0x144): undefined reference to `tgoto'
/usr/bin/ld: Dwarf Error: found dwarf version '24576', this reader only handles version 2 and 3 information.
terminal.c:(.text+0x155): undefined reference to `tputs'
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information.
terminal.c:(.text+0x189): undefined reference to `tputs'
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information.
terminal.o: In function `terminal_get_screen_size':
terminal.c:(.text+0x59c): undefined reference to `tgetnum'
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information.
terminal.c:(.text+0x5c1): undefined reference to `tgetnum'
/usr/bin/ld: Dwarf Error: found dwarf version '1537', this reader only handles version 2 and 3 information.
terminal.o: In function `terminal_initialize_terminal':
terminal.c:(.text+0x65d): undefined reference to `tgetent'
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information.
terminal.c:(.text+0x676): undefined reference to `tgetstr'
......
......
|
Any idea on these errors? Like from where these functions are supossed to be? Also, is this error really serious? It is happening in the doc folder, so I wonder if I could issue make install and see if it works.
|