First let me say I'm thrilled that cross-lfs.org exists. This
resource captures procedures that would take me months to reinvent.
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.
Thanks for any help.
-Charlie
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support