Package: openafs-modules-source Version: 1.4.8.dfsg1-2 Severity: normal
I'm trying to use kernel version 2.6.28.x on a lenny box. I've built the kernel from source (using make-kpkg), and I'm using a backported version of the openafs package (from testing). I grabbed 1.4.8dfsg1-2 because the changelog mentioned that it should support the 2.6.28 kernel. The userland openafs builds fine, but when I try to build the kernel module with module-assistant the build fails with the following error: --------------------------------------------------------------------- ... CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.o /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c: In function 'xdr_DiskName': /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:351: warning: passing argument 2 of 'afs_xdr_opaque' from incompatible pointer type /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c: In function 'xdr_ViceDisk': /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:685: warning: passing argument 2 of 'xdr_DiskName' from incompatible pointer type /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c: At top level: /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1512: error: expected declaration specifiers or '...' before 'ViceStatistics64' /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c: In function 'xdr_ViceStatistics64': /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514: error: 'objp' undeclared (first use in this function) /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514: error: (Each undeclared identifier is reported only once /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514: error: for each function it appears in.) /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514: error: 'STATS64_VERSION' undeclared (first use in this function) make[5]: *** [/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.o] Error 1 make[4]: *** [_module_/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP] Error 2 make[4]: Leaving directory `/usr/local/src/linux/2.6.28/linux-2.6.28' make[3]: *** [openafs.ko] Error 2 make[3]: Leaving directory `/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP' make[2]: *** [linux_compdirs] Error 2 make[2]: Leaving directory `/usr/src/modules/openafs/src/libafs' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/modules/openafs' make: *** [build-stamp] Error 2 --------------------------------------------------------------------- I've tried building against linux kernel 2.6.28 and 2.6.28.8; getting the same error for both versions. Is this a known issue? I'll try building the kernel module from the openafs 1.4.x stable CVS branch to see if that addresses the issue. Ben -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28.8-bp01 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openafs-modules-source depends on: ii bison 1:2.3.dfsg-5 A parser generator that is compati ii debhelper 7.0.15 helper programs for debian/rules ii flex 2.5.35-6 A fast lexical analyzer generator. ii kernel-package 11.015 A utility for building Linux kerne ii module-assistant 0.10.11.0 tool to make module package creati openafs-modules-source recommends no packages. openafs-modules-source suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org