[OpenAFS] Problems compiling openafs on Debian Woody
Robert Sturrock
rns@unimelb.edu.au
Wed, 24 Dec 2003 10:22:36 +1100
Hello All.
I'm trying to compile openafs on my Debian Woody (testing) system and
I'm running into the following error when I run make:
cc -Di386_linux24 -O2 -I/usr/src/modules/openafs/src/config -I. -I/usr/src/modul
es/openafs/include -O2 -g -c -o devname.o devname.c
In file included from /usr/include/linux/blockgroup_lock.h:8,
from /usr/include/linux/ext2_fs_sb.h:19,
from /usr/include/linux/ext2_fs.h:20,
from devname.c:90:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared (first u
se in this function)
/usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is reporte
d only once
/usr/include/linux/spinlock.h:433: error: for each function it appears in.)
In file included from /usr/include/linux/blockgroup_lock.h:8,
from /usr/include/linux/ext2_fs_sb.h:19,
from /usr/include/linux/ext2_fs.h:20,
from devname.c:90:
My kernel is 2.4.20-3-686-smp. I'm trying to compile version 1.2.10-2 of the
openafs suite using gcc 3.3.2.
Any ideas what the problem might be?
Thanks!
Robert.