On Thursday 26 July 2007 14:50, João Ramos wrote:
> I am building a system for a i586 arch machine, more specifically for an 
> Intel Celeron M single-board computer. My host system is an Intel 
> Pentium 4 @ 3.4GHz, hyper-threading.

First, personally I'm sure Celeron M is i686, not i586.

Second, the error is due to your having enabled building netboot
disabled by default.

What's the output of the following command?
$ grep LIBDRIVERS netboot/Makefile

For instance, I have the following:
$ grep LIBDRIVERS grub-0.97/netboot/Makefile
LIBDRIVERS = 
#LIBDRIVERS = libdrivers.a
noinst_LIBRARIES = $(LIBDRIVERS)

As you can see building libdrivers.a is disabled by default. If I
enable building netboot I have the same error.

Did you follow CLFS book step by step or did you deviate from it
anywhere? What are the exact commands you tried to build grub with?

AFAIU the boot doesn't cover building netboot so your having this error
means you did something wrong. If you know what you're doing, try the
following sed right after applying the patch. It fixes the compilation
errors for me but who knows whether there will be run-time errors later
or not :(

$ sed -i '/static.*\(end_of\|bootp\)/s/static //' netboot/main.c

-- 
Nothing but perfection

Vladimir
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to