LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Help Resolving error related Texinfo-4.13a in cross-lfs (https://www.linuxquestions.org/questions/linux-from-scratch-13/help-resolving-error-related-texinfo-4-13a-in-cross-lfs-4175458411/)

adi_30stm 04-17-2013 12:44 AM

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'

knudfl 04-17-2013 03:49 AM

Quote:

undefined reference to `tputs'
? Missing prerequisite = ncurses

adi_30stm 04-17-2013 05:50 AM

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

knudfl 04-17-2013 06:16 AM

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.
-

adi_30stm 04-17-2013 06:47 AM

hey thanx i will try them but should i be applying all the patchs you sent me??

knudfl 04-17-2013 06:55 AM

# 5 .
Quote:

.. applying all the patches ...
Works OK here. I made two OK test builds.
One was on Fedora 18 to know if there would be any gcc-4.7 issues.

adi_30stm 04-17-2013 07:03 AM

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 :)

biased0variable 08-12-2017 05:51 PM

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.