bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Config problem


From: Steve Sutton
Subject: Config problem
Date: Sun, 21 Jan 2001 21:38:30 +0000 (GMT)

I've had a quick look through the archives, but I haven't seen this
mentioned before (although there was a recent reference to printf - not
the same thing I think).   Anyway, FYI:-

I have discovered that as supplied in the tarball, grub 0.5.96.1 is
incorrectly configured (by the configure script) on my system.  ncurses.h
is reported as missing by the script (and other curses files), because the
test compilation performed by the script with my ncurses results in
errors:-

In file included from configure:2361:
/usr/include/curses.h:360:9: warning: "GCC_PRINTF" is not defined
/usr/include/curses.h:366:9: warning: "GCC_SCANF" is not defined

I don't know if this is a problem with my version of ncurses, or if
ncurses is supposed to behave like that.  I'm using ncurses as installed
by default by RedHat Linux 7, id string:-

/* $Id: curses.h.in,v 1.94 2000/07/29 16:25:05 tom Exp $ */
#define NCURSES_VERSION_MAJOR 5
#define NCURSES_VERSION_MINOR 1
#define NCURSES_VERSION_PATCH 20000730

gcc version: 2.96
binutils version (as reported by ld) 2.10.90

Having manually fixed up the config.h, grub seems to compile ok (although
the above compiler warnings appear frequently).  Also, I frequently get
the following message:-
../stage2/shared.h:247:43: warning: nothing can be pasted after this token

Having said all that, I did get grub to compile ok, and installed and
running :)

Please let me know if you need any more information, or there is anything
else that I can do to help.
-- 
Steve




reply via email to

[Prev in Thread] Current Thread [Next in Thread]