[plug] building GRUB against uClibc or as a static binary?

Craig Ringer craig at postnewspapers.com.au
Sun Aug 3 21:58:03 WST 2003


> I had to fetch the GRUB CVS, as GNU's ftp seems to be going senile (the
> grub dir linked to from everywhere just isn't there). It builds fine on
> RH9 against glibc, but when I try to build against uClibc for use on the
> image it fails.

Don't worry... seem to have worked around it. Looking at the errors, all 
the problems were within #ifdef s ( HAVE_LIBCURSES ). A quick 
./configure --without-curses and all appears well.

As this is only for an initial bootloader install, it shouldn't be a 
problem.

Sorry for the noise. I'm always amazed - you can spend quite some time 
looking at a problem, and only when you post to a list to ask about it 
do you suddenly see the (admittedly rather obvious) answer.

Still, anybody know why it wasn't building against uClibc because of 
curses stuff, when it's happy with glibc? Is libcurses (as distinct from 
ncurses) part of the libc? Sorry, I just don't know this stuff and I'm a 
bit puzzled as to why it apparently found the includes it needed, but 
wouldn't build.

Craig Ringer



More information about the plug mailing list