Oops, sorry about that. i wanted to keep the email short, i thought i posted
the errors as well ;) Anyways, here's the rest:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow
-Wpointer-arith -Wundef -O2 -I../stage2 -I../stage1 -g -c -o device.o `test -f
device.c || echo './'`device.c
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:45,
from /usr/include/linux/cdrom.h:14,
from device.c:47:
/usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for `__fswab16'
/usr/include/linux/byteorder/swab.h:104: warning: no previous prototype for `__swab16p'
/usr/include/linux/byteorder/swab.h:108: warning: no previous prototype for `__swab16s'
/usr/include/linux/byteorder/swab.h:113: warning: no previous prototype for `__fswab32'
/usr/include/linux/byteorder/swab.h:117: warning: no previous prototype for `__swab32p'
/usr/include/linux/byteorder/swab.h:121: warning: no previous prototype for `__swab32s'
/usr/include/linux/byteorder/swab.h:127: warning: no previous prototype for `__fswab64'
/usr/include/linux/byteorder/swab.h:137: warning: no previous prototype for `__swab64p'
/usr/include/linux/byteorder/swab.h:141: warning: no previous prototype for `__swab64s'
In file included from /usr/include/linux/fs.h:23,
from device.c:48:
/usr/include/linux/string.h:12: parse error before `__extension__'
/usr/include/linux/string.h:12: parse error before `&&'
/usr/include/linux/string.h:14: parse error before `__extension__'
/usr/include/linux/string.h:14: parse error before `('
/usr/include/linux/string.h:15: parse error before `__extension__'
/usr/include/linux/string.h:15: parse error before `&&'
In file included from /usr/include/linux/fs.h:23,
from device.c:48:
/usr/include/linux/string.h:24: parse error before `__extension__'
/usr/include/linux/string.h:27: parse error before `__extension__'
/usr/include/linux/string.h:33: parse error before `__extension__'
/usr/include/linux/string.h:36: parse error before `__extension__'
/usr/include/linux/string.h:36: parse error before `&&'
/usr/include/linux/string.h:36: warning: data definition has no type or storage class
/usr/include/linux/string.h:36: parse error before `}'
/usr/include/linux/string.h:36: conflicting declarations of `__result'
/usr/include/linux/string.h:36: `__result' previously declared here
/usr/include/linux/string.h:36: parse error before `)'
/usr/include/linux/string.h:36: `__s2' undeclared here (not in a function)
/usr/include/linux/string.h:36: parse error before `;'
/usr/include/linux/string.h:36: conflicting declarations of `__result'
/usr/include/linux/string.h:36: `__result' previously defined here
/usr/include/linux/string.h:36: warning: data definition has no type or storage class
/usr/include/linux/string.h:36: parse error before `}'
/usr/include/linux/string.h:36: warning: data definition has no type or storage class
/usr/include/linux/string.h:36: parse error before `}'
/usr/include/linux/string.h:36: redefinition of `__result'
/usr/include/linux/string.h:36: `__result' previously defined here
/usr/include/linux/string.h:36: `__s1' undeclared here (not in a function)
/usr/include/linux/string.h:36: parse error before `)'
/usr/include/linux/string.h:36: parse error before `;'
/usr/include/linux/string.h:36: initializer element is not constant
/usr/include/linux/string.h:36: conflicting declarations of `__result'
/usr/include/linux/string.h:36: `__result' previously defined here
/usr/include/linux/string.h:36: warning: data definition has no type or storage class
/usr/include/linux/string.h:36: parse error before `}'
/usr/include/linux/string.h:39: parse error before `__extension__'
/usr/include/linux/string.h:39: parse error before `&&'
/usr/include/linux/string.h:39: warning: data definition has no type or storage class
/usr/include/linux/string.h:39: parse error before `}'
/usr/include/linux/string.h:39: redefinition of `__result'
/usr/include/linux/string.h:36: `__result' previously defined here
/usr/include/linux/string.h:39: parse error before `)'
/usr/include/linux/string.h:39: `__s2' undeclared here (not in a function)
/usr/include/linux/string.h:39: parse error before `;'
/usr/include/linux/string.h:39: conflicting declarations of `__result'
/usr/include/linux/string.h:39: `__result' previously defined here
/usr/include/linux/string.h:39: warning: data definition has no type or storage class
/usr/include/linux/string.h:39: parse error before `}'
/usr/include/linux/string.h:39: warning: data definition has no type or storage class
/usr/include/linux/string.h:39: parse error before `}'
/usr/include/linux/string.h:39: redefinition of `__result'
/usr/include/linux/string.h:39: `__result' previously defined here
/usr/include/linux/string.h:39: `__s1' undeclared here (not in a function)
/usr/include/linux/string.h:39: parse error before `)'
/usr/include/linux/string.h:39: parse error before `;'
/usr/include/linux/string.h:39: initializer element is not constant
/usr/include/linux/string.h:39: conflicting declarations of `__result'
/usr/include/linux/string.h:39: `__result' previously defined here
/usr/include/linux/string.h:39: warning: data definition has no type or storage class
/usr/include/linux/string.h:39: parse error before `}'
/usr/include/linux/string.h:45: parse error before `__extension__'
/usr/include/linux/string.h:51: parse error before `__extension__'
/usr/include/linux/string.h:61: parse error before `__extension__'
/usr/include/linux/string.h:61: parse error before `__uint8_t'
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `}'
/usr/include/linux/string.h:61: warning: initialization makes pointer from integer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: parse error before `;'
/usr/include/linux/string.h:61: conflicting types for `__u'
/usr/include/linux/string.h:61: previous declaration of `__u'
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `->'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: redefinition of `__u'
/usr/include/linux/string.h:61: `__u' previously defined here
/usr/include/linux/string.h:61: warning: initialization makes integer from pointer
without a cast
/usr/include/linux/string.h:61: initializer element is not constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `case'
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `}'
/usr/include/linux/string.h:61: parse error before character constant
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: warning: data definition has no type or storage class
/usr/include/linux/string.h:61: parse error before `}'
In file included from /usr/include/linux/fs.h:25,
from device.c:48:
/usr/include/asm/atomic.h:101: warning: no previous prototype for `atomic_add_negative'
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/home/dilinger/grub/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dilinger/grub'
make: *** [all-recursive-am] Error 2
BTW, i got it compiled under linux-2.2.16, i'm about to try it out. (the
compiler on both systems is gcc-2.95.2).
On Tue, Aug 15, 2000 at 09:29:20AM +0900, OKUJI Yoshinori wrote:
> From: Andres VHNet Staff <[EMAIL PROTECTED]>
> Subject: problems w/ linux 2.4.0-testX and reiserfs 3.6.11
> Date: Mon, 14 Aug 2000 19:44:22 -0400
>
> > Does grub support resierfs-3.6.11 (the one that patches against the 2.4.0
> > test kernels)?
>
> I don't know, but probably Jochen will reply you.
>
> > source='device.c' object='device.o' libtool=no \
> > depfile='.deps/device.Po' tmpdepfile='.deps/device.TPo' \
> > depmode=gcc /bin/sh ../depcomp \
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow
>-Wpointer-arith -Wundef -O2 -I../stage2 -I../stage1 -g -c -o device.o `test -f
>device.c || echo './'`device.c
> > In file included from /usr/include/linux/byteorder/little_endian.h:11,
> > from /usr/include/asm/byteorder.h:45,
> > from /usr/include/linux/cdrom.h:14,
> > from device.c:47:
> > /usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for
>`__fswab16'
> > /usr/include/linux/byteorder/swab.h:104: warning: no previous prototype for
>`__swab16p'
> > /usr/include/linux/byteorder/swab.h:108: warning: no previous prototype for
>`__swab16s'
> > /usr/include/linux/byteorder/swab.h:113: warning: no previous prototype for
>`__fswab32'
> > /usr/include/linux/byteorder/swab.h:117: warning: no previous prototype for
>`__swab32p'
> > /usr/include/linux/byteorder/swab.h:121: warning: no previous prototype for
>`__swab32s'
> > /usr/include/linux/byteorder/swab.h:127: warning: no previous prototype for
>`__fswab64'
> > (and so on).
>
> These are just warnings, as you see. Can you send the complete error
> messages?
>
> Thanks,
> Okuji