Hi,

I was trying to install OpenAFS on FC20 but it failed.

The most current release available with binaries (1.6.10) doesn't have a
kmod package for that kernel, so I installed the dkms package.  That
fails to build on the current FC20 kernel, Linux 3.18.7-100 PAE with the
attached make log output.

I'd love to hear this is fixed in 1.6.11, but of course there is no yum
repository for 1.6.11, as far as can tell.

Thanks,

-derek

  CC [M]  
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.o
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.c:
 In function ‘afs_CheckRootVolume’:
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.c:403:24:
 error: ‘struct dentry’ has no member named ‘d_alias’
       list_del_init(&dp->d_alias);
                        ^
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.c:404:19:
 error: ‘struct dentry’ has no member named ‘d_alias’
       list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry));
                   ^
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.c:404:7:
 warning: passing argument 2 of ‘list_add’ from incompatible pointer type 
[enabled by default]
       list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry));
       ^
In file included from include/linux/wait.h:6:0,
                 from 
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/afs/sysincludes.h:124,
                 from 
/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.c:19:
include/linux/list.h:61:20: note: expected ‘struct list_head *’ but argument is 
of type ‘struct hlist_head *’
 static inline void list_add(struct list_head *new, struct list_head *head)
                    ^
make[4]: *** 
[/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP/afs_daemons.o]
 Error 1
make[3]: *** 
[_module_/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP]
 Error 2
make[3]: Leaving directory `/usr/src/kernels/3.18.7-100.fc20.i686+PAE'
FAILURE: make exit code 2
make[2]: *** [openafs.ko] Error 1
make[2]: Leaving directory 
`/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.18.7-100.fc20.i686+PAE-SP'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory 
`/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs'
make: *** [all] Error 2

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [email protected]                        PGP key available
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to