At 4:06 PM -0700 8/13/07, Charles Landau wrote:
>I'm building for the ARM target on an x86 host system running Fedora
>Core 6. For ARM the CLFS Sysroot is the most stable available
>version. The book says it's Version SVN-0.0.1-20070723.
>
>I followed the instructions scrupulously and got all the way to
>"make"ing inetutils-1.5 before the following command:
>
>if arm-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
>-I../lib -I../libinetutils -I/usr/include/ncurses -g -O2 -MT ctl.o
>-MD -MP -MF ".deps/ctl.Tpo" -c -o ctl.o ctl.c; \
> then mv -f ".deps/ctl.Tpo" ".deps/ctl.Po"; else rm -f
>".deps/ctl.Tpo"; exit 1; fi
>
>got the following errors:
>
>In file included from talk.h:32,
> from ctl.c:51:
>/usr/include/ncurses/curses.h:66:33: error: ncurses/ncurses_dll.h: No
>such file or directory
>/usr/include/ncurses/curses.h:127:28: error: ncurses/unctrl.h: No
>such file or directory
>
>Things went downhill quickly from there. This was in directory
>`/mnt/clfs/sources/inetutils-1.5/talk'.
>
>The "-I/usr/include/ncurses" in the command indicates it's looking in
>my host system headers instead of the cross-headers. ${CLFS} is
>/mnt/clfs/. /mnt/clfs/usr/include contains curses.h, ncurses.h,
>ncurses_dll.h, unctrl.h, etc., but no directory ncurses.
I worked around this by adding:
--with-ncurses-include-dir=${CLFS}/usr/include
to the configuration parameters. But I don't know whether or not the
ncurses headers are supposed to be in a directory called ncurses, as
inetutils assumes.
On another matter, for IPRoute2-2.6.19-061214, the command to prevent
stripping binaries missed line 75 of tc/Makefile. This is just FYI,
as the installation seemed to work.
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support