2002-06-12 09:33:55

by John Covici

[permalink] [raw]
Subject: bio.h problem in kernel 2.5.21

vmalloc.c seems to have a problem with bio.h -- at least all the
errors are in there in 2.5.21.

Any assistance would be appreciated.

gcc -Wp,-MD,.vmalloc.o.d -D__KERNEL__ -I/usr/src/linux-2.5.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=vmalloc -c -o vmalloc.o vmalloc.c
In file included from /usr/src/linux-2.5.21/include/linux/highmem.h:5,
from vmalloc.c:13:
/usr/src/linux-2.5.21/include/linux/bio.h:90: parse error before `atomic_t'
/usr/src/linux-2.5.21/include/linux/bio.h:90: warning: no semicolon at end of struct or union
/usr/src/linux-2.5.21/include/linux/bio.h:95: parse error before `}'
make[2]: *** [vmalloc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.21/mm'
make[1]: *** [mm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.21'
make: *** [make_with_config] Error 2

--
John Covici
[email protected]