[OpenAFS] problems building openafs on ubuntu ppc64

James Tyson jnt@cs.auckland.ac.nz
Fri, 11 May 2007 12:01:08 +1200


Hi folks.

I'm trying to build the openafs kernel modules using the debian/ 
ubuntu packages on ubuntu ppc64 on both G5 Mac's and an IBM Power5  
machine.

I'm using the following packages:

linux-headers-2.6.20-15
linux-headers-2.6.20-15-powerpc64-smp
linux-headers-powerpc64-smp
linux-image-2.6.20-15-powerpc64-smp
linux-image-powerpc64-smp
linux-restricted-modules-2.6.20-15-powerpc64-smp
linux-restricted-modules-common
linux-restricted-modules-powerpc64-smp
openafs-client
openafs-modules-source

I do the following (on our power5 machine):

root@wintermute:/usr/src# tar zxf openafs.tar.gz
root@wintermute:/usr/src# cd linux-headers-2.6.20-15-powerpc64-smp/
root@wintermute:/usr/src/linux-headers-2.6.20-15-powerpc64-smp# make- 
kpkg modules
exec debian/rules  DEBIAN_REVISION=2.6.20-15-powerpc64- 
smp-10.00.Custom  modules

<< SNIP >>

make[8]: *** No rule to make target `/usr/src/modules/openafs/src/ 
libafs/MODLOAD-2.6.20-15-powerpc64-smp-MP/osi_flush.o', needed by `/ 
usr/src/modules/openafs/src/libafs/MODLOAD-2.6.20-15-powerpc64-smp-MP/ 
openafs.o'.  Stop.
make[7]: *** [_module_/usr/src/modules/openafs/src/libafs/ 
MODLOAD-2.6.20-15-powerpc64-smp-MP] Error 2
make[7]: Leaving directory `/usr/src/linux-headers-2.6.20-15- 
powerpc64-smp'
make[6]: *** [openafs.ko] Error 2
make[6]: Leaving directory `/usr/src/modules/openafs/src/libafs/ 
MODLOAD-2.6.20-15-powerpc64-smp-MP'
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.
Hit return to Continue?

Full log at: http://www.cs.auckland.ac.nz/~jnt/openafs.log

-- 
James Tyson
x87422
You deleted what?