[OpenAFS-devel] building on Linux 2.6

Timothee Besset ttimo@idsoftware.com
Sun, 6 Jun 2004 12:34:48 +0200


I am trying to build the latest openafs CVS on a Linux 2.6 box ( since I
saw some posting about Linux 2.6 support .. I wanted to try it out .. ):

Building in directory: MODLOAD-2.6.5-MP
make[4]: Entering directory `/home/timo/Build/openafs/src/libafs/MODLOAD-2.6.5-MP'
Makefile.common:51: warning: overriding commands for target `.c.o'
/home/timo/Build/openafs/src/config/Makefile.config:132: warning: ignoring old commands for target `.c.o'
../make_kbuild_makefile.pl MODLOAD-2.6.5-MP libafs.ko \
  /home/timo/Build/openafs/src/config/Makefile.config Makefile.afs Makefile.common
make -C /usr/src/linux M=/home/timo/Build/openafs/src/libafs/MODLOAD-2.6.5-MP modules
make[5]: Entering directory `/home/timo/Kernel/linux-2.6.5'
  CHK     include/linux/version.h
make[6]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  Building modules, stage 2.
  MODPOST
make[5]: Leaving directory `/home/timo/Kernel/linux-2.6.5'
cp libafs.ko libafs-2.6.5.mp.ko
cp: cannot stat `libafs.ko': No such file or directory
make[4]: *** [libafs-2.6.5.mp.ko] Error 1

I cannot see any libafs module being compiled, even under a different
name. The Kernel source tree is the currently running kernel, compiled and
installed with the help of Debian Sid's kernel building packages (
kernel-package ).

TTimo