Re: data definition has no type or storage class

Keith Owens (kaos@ocs.com.au)
Mon, 07 Apr 1997 10:48:02 +1000


On Mon, 7 Apr 1997 00:50:50 +0200,
oskar@is.co.za (Oskar Pearson) wrote:
>When I try and make kernel v 2.1.32 I get
>
>make[2]: Entering directory `/usr/src/linux-2.1.32/kernel'
>gcc -D__KERNEL__ -I/usr/src/linux-2.1.32/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c ksyms.c
>ksyms.c:78: conflicting types for `blkdev_release'
>/usr/src/linux-2.1.32/include/linux/fs.h:535: previous declaration of `blkdev_release'
>ksyms.c:94: warning: parameter names (without types) in function declaration

You probably have /usr/src/linux (symlink?) pointing to a 2.0.x source
tree instead of /usr/src/linux-2.1.32. blkdev_release was changed in
patch 2.1.31, EXPORT_SYMBOL has been in 2.1 since approx 2.1.15.