[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB & Linux Headers (2.5.16)
From: |
Vasili Sviridov |
Subject: |
GRUB & Linux Headers (2.5.16) |
Date: |
Sun, 19 May 2002 00:02:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 |
Hello,
I'm having troubles with GRUB compilation under Linux 2.5.16.
Following errors appear on screen...
---gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1
-malign-functions=1 -Wundef -O2 -I../stage2 -I../stage1 -g -c `test -f
device.c || echo './'`device.c
In file included from /usr/include/string.h:360,
from device.c:28:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:428: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:441: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:446: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:448: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:453: warning: pointer of type `void *' used
in arithmetic
In file included from device.c:45:
/usr/include/linux/hdreg.h: At top level:
/usr/include/linux/hdreg.h:77: parse error before `u8'
/usr/include/linux/hdreg.h:77: warning: no semicolon at end of struct or
union
/usr/include/linux/hdreg.h:78: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:79: parse error before `sector_count'
/usr/include/linux/hdreg.h:79: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:80: parse error before `sector_number'
/usr/include/linux/hdreg.h:80: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:81: parse error before `low_cylinder'
/usr/include/linux/hdreg.h:81: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:82: parse error before `high_cylinder'
/usr/include/linux/hdreg.h:82: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:83: parse error before `device_head'
/usr/include/linux/hdreg.h:83: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:84: parse error before `command'
/usr/include/linux/hdreg.h:84: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:85: warning: empty declaration
/usr/include/linux/hdreg.h:88: parse error before `u8'
/usr/include/linux/hdreg.h:88: warning: no semicolon at end of struct or
union
/usr/include/linux/hdreg.h:89: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:90: parse error before `sector_count'
/usr/include/linux/hdreg.h:90: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:91: parse error before `sector_number'
/usr/include/linux/hdreg.h:91: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:92: parse error before `low_cylinder'
/usr/include/linux/hdreg.h:92: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:93: parse error before `high_cylinder'
/usr/include/linux/hdreg.h:93: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:94: parse error before `device_head'
/usr/include/linux/hdreg.h:94: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:95: parse error before `control'
/usr/include/linux/hdreg.h:95: warning: data definition has no type or
storage class
/usr/include/linux/hdreg.h:96: warning: empty declaration
In file included from device.c:67:
../stage2/shared.h:901: warning: declaration of `command' shadows global
declaration
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/usr/src/grub-0.92/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/grub-0.92'
make: *** [all] Error 2
---
I think that problem maybe lies in new header files, but maybe you know
the solution...
- GRUB & Linux Headers (2.5.16),
Vasili Sviridov <=