[OpenAFS] 1.3.73 and linux 2.6.10-rc1 -- 'TASK_ZOMBIE' undeclared

Hendrik Hoeth hendrik.hoeth@cern.ch
Tue, 9 Nov 2004 13:43:47 +0100


Hi,

I tried to compile openafs with a 2.6 linux kernel for the first time
(new laptop, and I need some 2.6 features). Using openafs-1.3.73 I did

  ./configure --enable-transarc-paths
  make

and got the following error:

--------------------------------------------
  CC [M]  /usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.o
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c: In function `afs_osi_Alloc':
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c:448: warning: unused variable `tm'
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c:449: warning: unused variable `size'
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c: In function `afs_osi_TraverseProcTable':
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c:861: error: `TASK_ZOMBIE' undeclared (first use in this function)
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c:861: error: (Each undeclared identifier is reported only once
/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.c:861: error: for each function it appears in.)
make[6]: *** [/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP/afs_osi.o] Error 1
make[5]: *** [_module_/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.10-rc1'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/usr/src/openafs-1.3.73/src/libafs/MODLOAD-2.6.10-rc1-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/usr/src/openafs-1.3.73/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/usr/src/openafs-1.3.73'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/openafs-1.3.73'
make: *** [all] Error 2
--------------------------------------------

Any hints?

   Hendrik

-- 
It's not the people who vote that count.
It's the people who count the votes.
                 (Joseph Stalin)