[OpenAFS] Problem compiling debian modules on 2.6.13

Madhusudan Singh singh.madhusudan@gmail.com
Sun, 25 Sep 2005 14:38:24 -0400


Hi

I am trying to compile openafs modules (among others) on a Debian machine. I 
get errors :

  CC [M]  /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.o
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c: In 
function `afs_osi_SleepSig':
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c:197: 
error: `PF_FREEZE' undeclared (first use in this function)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c:197: 
error: (Each undeclared identifier is reported only once
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c:197: 
error: for each function it appears in.)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c: In 
function `osi_TimedSleep':
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.c:285: 
error: `PF_FREEZE' undeclared (first use in this function)
make[8]: *** 
[/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP/osi_sleep.o] Error 
1
make[7]: *** 
[_module_/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP] Error 2
make[7]: Leaving directory `/usr/src/linux-2.6.13'
make[6]: *** [openafs.ko] Error 2
make[6]: Leaving directory 
`/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.13-rj-SP'
make[5]: *** [linux_compdirs] Error 2
make[5]: Leaving directory `/usr/src/modules/openafs/src/libafs'
make[4]: *** [libafs] Error 2
make[4]: Leaving directory `/usr/src/modules/openafs'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/usr/src/modules/openafs'
make[2]: *** [only_libafs] Error 2
make[2]: Leaving directory `/usr/src/modules/openafs'
make[1]: *** [build-modules-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
Module /usr/src/modules/openafs failed.

Is my kernel configuration lacking something or is this a known bug ?

Version : 

# apt-cache showpkg openafs-modules-source
Package: openafs-modules-source
Versions:
1.4rc1-1
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages)
(/var/lib/dpkg/status)

Reverse Depends:
  openafs-client,openafs-modules-source 1.2.9
  openafs-client,openafs-modules-source 1.2.9
Dependencies:
1.4rc1-1 - bison (0 (null)) flex (0 (null)) debhelper (2 4.0.0) libpam0g-dev 
(0 (null)) libncurses5-dev (0 (null)) kernel-package (16 (null)) 
module-assistant (0 (null)) comerr-dev (0 (null))
Provides:
1.4rc1-1 -
Reverse Provides: