[OpenAFS-devel] Building for linux 4.10
Benjamin Kaduk
kaduk@mit.edu
Mon, 10 Apr 2017 11:27:53 -0500
On Mon, Apr 10, 2017 at 12:21:16PM -0400, Todd Lewis wrote:
> And yet, I've been unable to build since the 4.10 kernel-headers package hit.
>
> > Branch: master
> > kernel-headers-4.10.8-200.fc25.x86_64
> > running kernel: kernel-4.9.14-200.fc25.x86_64 or 4.10.8-200.fc25.x86_64
> > "./regen.sh && ./configure && make" dies with:
> > make[3]: Entering directory '/home/utoddl/src/openafs-git/openafs-new/src/libafsrpc'
> > make[3]: *** No rule to make target 'libafsrpc.la.sym', needed by 'libafsrpc.la'. Stop.
> >
> > Branch: master
> > kernel-headers-4.10.8-200.fc25.x86_64
> > running kernel: 4.10.8-200.fc25.x86_64
> > openafs-buildfedora.pl w/ tweaked $specdir dies with:
> > /home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.c: In function 'afs_linux_dentry_revalidate':
> > /home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.c:1347:9: error: implicit declaration of function 'have_submounts' [-Werror=implicit-function-declaration]
> > if (have_submounts(dp))
> > ^~~~~~~~~~~~~~
> > cc1: some warnings being treated as errors
> > scripts/Makefile.build:294: recipe for target '/home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.o' failed
>
> Thanks for the time and suggestions folks. Much appreciated.
That particular one looks like
34321f7528fccbf0e8b58cbd7ca22755723933c9 should fix it, which is
already on the openafs-stable-1_6_x branch.
-Ben