Help Resolving error related Texinfo-4.13a in cross-lfs
Hi Everyone ... I am trying to compile Texinfo-4.13a but facing the following error during make process
. . . . /mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:175: undefined reference to `tputs' terminal.o: In function `terminal_goto_xy': /mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:235: undefined reference to `tputs' terminal.o:/mnt/clfs/sources/sources/texinfo-4.13/info/terminal.c:272: more undefined references to `tputs' follow collect2: error: ld returned 1 exit status make[3]: *** [ginfo] Error 1 make[3]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools/info' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools/info' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools' make: *** [all] Error 2 make: Leaving directory `/mnt/clfs/sources/sources/texinfo-4.13/tools' My host system is ubuntu 12.10 and i am using clfs-2.0 guide ..for cross compilation of x86_64 bit using x86_64 bit system. Book : Cross-Compiled Linux From Scratch - Version 2.0.0-RC1-x86_64-Pure64 Pg no: 83 ...getting the above error on 'make -C tools' |
Quote:
|
But ncurses is installed on the host system and i have installed according to the book
ncurses 5.9.20110404 Could you explain a little bit more ?? Thanx |
1 Attachment(s)
'ncurses' : Just a thought. 'tputs' is an ncurses thing.
Difficult to fail with a Texinfo-4.13a build. May be the patches will do ? All to be applied with $ patch -p1 < ..... Ref. http://dl.fedoraproject.org/pub/fedo...5.fc15.src.rpm Texinfo-4.13a is commonly used, e.g. Fedora 11 ... Fedora 18. - |
hey thanx i will try them but should i be applying all the patchs you sent me??
|
# 5 .
Quote:
One was on Fedora 18 to know if there would be any gcc-4.7 issues. |
Hey knudfl,
I resolved the issue without applying the patch you had forward me ... Solution : ubuntu does not install ncurses library by default so after installing them and restarting the system i was able to resolve the error. Require to install libncurses5-dev ( which install the necessary library for development ) Thanx for your help :) |
texinfo no such file or directory problem
hey adi_30stm, thanks man! your solution helped me. Installed libncurses5.dev and it worked fine.
|
All times are GMT -5. The time now is 10:15 AM. |