[OpenAFS-devel] Compile OpenAFS for SuSE 10.1 x86_64

King, Richard (CE1 UNIX Admin) rking@hp.com
Tue, 8 May 2007 11:48:34 -0600


Operating System=3DSuSE 10.1
Arch=3Dx86_64
OpenAFS Version=3D1.4.0
Patch=3Dopenafs-1.4-SuSE-kernel-path.patch

Hello!

I was wondering if someone can help me. I am trying to compile
openafs-1.4.0 for a SuSE x86_64 machine.

The configure command I use is this (which runs fine):

./configure --enable-transarc-paths --with-afs-sysname=3Damd64_linux26
--with-linux-kernel-headers=3D/usr/src/linux dest_nolibafs

When I run the make command, I get the following error:=20

<snip>

make[3]: Entering directory `/tmp/AFS/openafs-1.4.0/src/afs'
make[3]: *** No rule to make target `/osi_inode.h', needed by
`/tmp/AFS/openafs-1.4.0/include/afs/osi_inode.h'.  Stop.
make[3]: Leaving directory `/tmp/AFS/openafs-1.4.0/src/afs'
make[2]: *** [afs_depinstall] Error 2
make[2]: Leaving directory `/tmp/AFS/openafs-1.4.0'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/AFS/openafs-1.4.0'
make: *** [all] Error 2

</snip>

It appears the osi_inode.h file is just an empty file. Not sure if this
is why the make process is failing.=20

If I run the same configure above without the "dest_nolibafs", I get the
following error:=20

<snip>

make[6]: ***
[/tmp/AFS/openafs-1.4.0/src/libafs/MODLOAD-2.6.16.13-4-smp-MP/afs_analyz
e.o] Error 1
make[5]: ***
[_module_/tmp/AFS/openafs-1.4.0/src/libafs/MODLOAD-2.6.16.13-4-smp-MP]
Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.16.13-4'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/tmp/AFS/openafs-1.4.0/src/libafs/MODLOAD-2.6.16.13-4-smp-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/tmp/AFS/openafs-1.4.0/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/tmp/AFS/openafs-1.4.0'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/AFS/openafs-1.4.0'
make: *** [all] Error 2

</snip>

Is there some prep work that I am not doing? Any help with this would be
greatly appreciated.=20

My best to you.

--
Rick King

=20