Hello everybody!

I have installed the beta of RedHat some times ago, and since, it is
impossible to compile grub. The default compilater supplied is gcc version
2.96 20000724, the glibc is 2.1.91.

The errors are as follow (note the behavior is the same if I use the old
egcs compilater):

make  all-recursive
make[1]: Entering directory `/boot/grub/grub'
Making all in netboot
make[2]: Entering directory `/boot/grub/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/boot/grub/grub/netboot'
Making all in stage2
make[2]: Entering directory `/boot/grub/grub/stage2'
source='builtins.c' object='libgrub_a-builtins.o' libtool=no \
depfile='.deps/libgrub_a-builtins.Po'
tmpdepfile='.deps/libgrub_a-builtins.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -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-builtins.o `test -f
builtins.c || echo './'`builtins.c
In file included from builtins.c:22:
shared.h:246:43: warning: nothing can be pasted after this token
In file included from builtins.c:35:
/usr/include/stdio.h:254: conflicting types for `grub_printf'
shared.h:755: previous declaration of `grub_printf'
/usr/include/stdio.h:359: conflicting types for `grub_putchar'
shared.h:666: previous declaration of `grub_putchar'
make[2]: *** [libgrub_a-builtins.o] Error 1
make[2]: Leaving directory `/boot/grub/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/grub/grub'
make: *** [all-recursive-am] Error 2

I know that I'm using beta software but the goal is to debug this thing,
no ? It seems that a change in the glibc include files raised this
behaviour...

If I can help you with anything (more information, ...). please let me
know.

-- 
Mathieu CHOUQUET-STRINGER    E-Mail : [EMAIL PROTECTED]
     "Entities must not be multiplied beyond necessity"
                -- William of Occam --

Reply via email to