Re: data definition has no type or storage class

Oskar Pearson (oskar@is.co.za)
Mon, 7 Apr 1997 03:56:23 +0200


Keith Owens writes:
> 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.
No.

lrwxrwxrwx 1 root root 12 Apr 7 02:46 linux -> linux-2.1.32/
pwd
# pwd
/usr/src/linux

and usr/include/linux is a symlink back to /usr/src/linux/include/linux