compilation error for inetutils-1.5 in LFS-6.3

Chris Staub chris at
Tue Jan 29 08:38:25 PST 2008

Justin O'Neil wrote:
> I guess what I'm trying to find out is why do I specifically have to
> tell ld to link to ncurses?

You don't, if you followed the LFS book exactly. You must have missed 
something. Do this...

echo 'main(){}' > dummy.c
gcc dummy.c
readelf -l a.out | grep interpret

What output do you get? Also, give the output of "type -p gcc", "type -p 
  cc" and "type -p ld".

> Thank You too, Wilco, I should have mentioned that I am using the
> lfslivecd-x86-6.2-5 CD, with the 6.3 book and package (the one with
> all the packages in a big .tar file) tarballs added on, as well as
> the Linux kernel patches to upgrade to the newest 2.6.22.x kernel.

More information about the lfs-support mailing list