Problem building binutils-2.23.2 (and then textinfo)
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Any particular reason you are using cross lfs?
As a general rule you should NOT ignore errors so early in the build as they can cause subtle problems later on.
Please also post version of LFS book you are using, what host you are using and the output of the version test script.
fix the errors and again what distro are u using for the host.
That's what I am trying to do, but all these stranger errors showed up. Apparently they are caused due to readline and ncurses..... I might try to install both. However, I already built ncurses on my host system, so perhaps would be better to try to install texinfo on it, instead on clfs isolated environment, even if I will never use it for non clfs use
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.