[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation Error : GRUB 0.95
From: |
Bettes |
Subject: |
Compilation Error : GRUB 0.95 |
Date: |
Tue, 6 Jul 2004 15:42:37 +0200 |
User-agent: |
KMail/1.5.1 |
Hi,
I have a compilation error when I try to compile GRUB version 0.95.
It starts with warning that some defines are redefined, until I get the error
that ino_t has conflicting defines.
> /usr/include/bits/types.h:51: warning: `__uint64_t' previously declared here
> ufs2.h:100: error: conflicting types for `ino_t'
My hardware: Athlon 1 Ghz
Distribution : Suse 8.2
If you need more info you can contact me at address@hidden
But state clear what you need cause I am a noob in these things :-)
Bettes
More output
=============
make[3]: Entering directory
`/home/bettes/Documents/Programs/pocketlinux/sources/grub-0.95/stage2'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1
-falign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1
-DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1
-DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1
-DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1
-fwritable-strings -g -MT libgrub_a-fsys_ufs2.o -MD -MP -MF
".deps/libgrub_a-fsys_ufs2.Tpo" -c -o libgrub_a-fsys_ufs2.o `test -f
'fsys_ufs2.c' || echo './'`fsys_ufs2.c; \
then mv -f ".deps/libgrub_a-fsys_ufs2.Tpo" ".deps/libgrub_a-fsys_ufs2.Po";
else rm -f ".deps/libgrub_a-fsys_ufs2.Tpo"; exit 1; fi
In file included from fsys_ufs2.c:62:
ufs2.h:50: warning: redefinition of `int8_t'
/usr/include/sys/types.h:191: warning: `int8_t' previously declared here
ufs2.h:51: warning: redefinition of `int16_t'
/usr/include/sys/types.h:192: warning: `int16_t' previously declared here
ufs2.h:52: warning: redefinition of `int32_t'
/usr/include/sys/types.h:193: warning: `int32_t' previously declared here
ufs2.h:53: warning: redefinition of `int64_t'
/usr/include/sys/types.h:194: warning: `int64_t' previously declared here
ufs2.h:59: warning: redefinition of `u_char'
/usr/include/sys/types.h:35: warning: `u_char' previously declared here
ufs2.h:60: warning: redefinition of `u_int'
/usr/include/sys/types.h:37: warning: `u_int' previously declared here
ufs2.h:62: warning: redefinition of `u_int8_t'
/usr/include/sys/types.h:197: warning: `u_int8_t' previously declared here
ufs2.h:63: warning: redefinition of `u_int16_t'
/usr/include/sys/types.h:198: warning: `u_int16_t' previously declared here
ufs2.h:64: warning: redefinition of `u_int32_t'
/usr/include/sys/types.h:199: warning: `u_int32_t' previously declared here
ufs2.h:65: warning: redefinition of `u_int64_t'
/usr/include/sys/types.h:200: warning: `u_int64_t' previously declared here
ufs2.h:72: warning: redefinition of `__uint8_t'
/usr/include/bits/types.h:41: warning: `__uint8_t' previously declared here
ufs2.h:73: warning: redefinition of `__uint16_t'
/usr/include/bits/types.h:43: warning: `__uint16_t' previously declared here
ufs2.h:74: warning: redefinition of `__uint32_t'
/usr/include/bits/types.h:45: warning: `__uint32_t' previously declared here
ufs2.h:75: warning: redefinition of `__uint64_t'
/usr/include/bits/types.h:51: warning: `__uint64_t' previously declared here
ufs2.h:100: error: conflicting types for `ino_t'
/usr/include/sys/types.h:50: error: previous declaration of `ino_t'
fsys_ufs2.c: In function `ufs2_mount':
fsys_ufs2.c:96: warning: comparison between signed and unsigned
fsys_ufs2.c: In function `ufs2_read':
fsys_ufs2.c:178: warning: comparison between signed and unsigned
fsys_ufs2.c:178: warning: signed and unsigned type in conditional expression
fsys_ufs2.c: In function `ufs2_dir':
fsys_ufs2.c:262: warning: comparison between signed and unsigned
fsys_ufs2.c:278: warning: comparison between signed and unsigned
fsys_ufs2.c:278: warning: signed and unsigned type in conditional expression
make[3]: *** [libgrub_a-fsys_ufs2.o] Error 1
make[3]: Leaving directory
`/home/bettes/Documents/Programs/pocketlinux/sources/grub-0.95/stage2'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/bettes/Documents/Programs/pocketlinux/sources/grub-0.95/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/bettes/Documents/Programs/pocketlinux/sources/grub-0.95'
make: *** [all] Error 2
- Compilation Error : GRUB 0.95,
Bettes <=