Hello,

I've been using AFS on my home network for fun and decided to try to set
up a Raspberry Pi to use it. I've run into some issues compiling the
module with dkms.

It seems the latest version is 1.6.1-3+deb7u2 in the repository. I know
this isn't the latest source but for the experiment it'd suffice. I have
a few kernels and sources on the machine, 3.2.51, 3.6.9, 3.10.11, and
3.12.22.

On all versions but 3.2 the compile fails:

<snip>

  CC [M]
/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP/rx_kmutex.o
In file included from
/var/lib/dkms/openafs/1.6.1/build/src/afs/sysincludes.h:131:0,
                 from
/var/lib/dkms/openafs/1.6.1/build/src/rx/rx_kcommon.h:145,
                 from
/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP/rx_kmutex.c:20:
/usr/src/linux-headers-3.10-3-common/include/linux/backing-dev.h:117:3:
warning: ‘printk’ is an unrecognized format function type [-Wformat]
In file included from
/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP/rx_kmutex.c:24:0:
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h: In
function ‘afs_linux_search_keyring’:
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h:184:13:
error: ‘afs_ucred_t’ has no member named ‘tgcred’
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h:186:26:
error: ‘afs_ucred_t’ has no member named ‘tgcred’
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h: In
function ‘afs_get_fh_from_dentry’:
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h:336:9:
warning: passing argument 1 of ‘dp->d_sb->s_export_op->encode_fh’ from
incompatible pointer type [enabled by default]
/var/lib/dkms/openafs/1.6.1/build/src/afs/LINUX/osi_compat.h:336:9:
note: expected ‘struct inode *’ but argument is of type ‘struct dentry *’
make[6]: ***
[/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP/rx_kmutex.o]
Error 1
make[5]: ***
[_module_/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP]
Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.10-3-rpi'
make[2]: *** [openafs.ko] Error 2
make[2]: Leaving directory
`/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.10-3-rpi-SP'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/libafs'
make: *** [all] Error 2

I can't seem to find in the documentation where openafs-1.6.whatever
will work with whatever kernel. Is there some information on this? I
don't mind compiling the source but in order to avoid conflicts it'd be
helpful to have it be a debianized package and that's way out of scope
for me.  Any help would be appreciated.

Thanks,
Eric

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to