[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed compilation on RedHat 7.0
From: |
Adam Huffman |
Subject: |
Re: Failed compilation on RedHat 7.0 |
Date: |
Tue, 31 Oct 2000 09:34:54 +0000 |
User-agent: |
Mutt/1.2.5i |
On Tue, 31 Oct 2000, OKUJI Yoshinori wrote:
> From: Adam Huffman <address@hidden>
> Subject: Failed compilation on RedHat 7.0
> Date: Sun, 29 Oct 2000 13:49:42 +0000
>
> > This is with RedHat's gcc-2.96-54 and glibc 2.1.94-3
>
> First of all, don't use gcc-2.96. GCC 2.96 is never released. See
> the message from the maintainers, for more information. I think it can
> be found in comp.os.linux.announce and somewhere else.
>
> Okuji
I should have said that I tried using egcs 1.1.2 in my original mail,
with the same result:
kgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall
-Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1
-malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1
-DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1
-DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o
libgrub_a-char_io.o `test -f char_io.c || echo './'`char_io.c
char_io.c: In function `translate_keycode':
char_io.c:863: `KEY_LEFT' undeclared (first use in this function)
char_io.c:863: (Each undeclared identifier is reported only once
char_io.c:863: for each function it appears in.)
char_io.c:866: `KEY_RIGHT' undeclared (first use in this function)
char_io.c:869: `KEY_UP' undeclared (first use in this function)
char_io.c:872: `KEY_DOWN' undeclared (first use in this function)
char_io.c:875: `KEY_HOME' undeclared (first use in this function)
char_io.c:878: `KEY_END' undeclared (first use in this function)
char_io.c:881: `KEY_DC' undeclared (first use in this function)
char_io.c:884: `KEY_BACKSPACE' undeclared (first use in this function)
char_io.c:864: warning: unreachable code at beginning of switch
statement
make[2]: *** [libgrub_a-char_io.o] Error 1
make[2]: Leaving directory `/home/adam/Build/grub-0.5.96.1/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adam/Build/grub-0.5.96.1'
make: *** [all-recursive-am] Error 2
Adam