I'm pretty sure the patch was applied correctly.
0003-Linux-4.5-get_link-instead-of-follow_link-put_link.patch
tar -xvjf openafs-1.6.18-src.tar.bz2
cd openafs-1.6.18/
patch -p1 < ../0001-Linux-3.13-Check-return-value-from-bdi_init.patch
patching file src/afs/LINUX/osi_vfsops.c
patch -p1 < ../0002-Linux-4.5-no-highmem-in-symlink-ops.patch
patching file acinclude.m4
patching file src/afs/LINUX/osi_vnodeops.c
patch -p1 < ../0003-Linux-4.5-get_link-instead-of-follow_link-put_link.patch
patching file acinclude.m4
patching file src/afs/LINUX/osi_vnodeops.c
patch -p1 < ../0005-Linux-4.5-don-t-access-i_mutex-directly.patch
patching file acinclude.m4
patching file src/afs/LINUX/osi_compat.h
patching file src/afs/LINUX/osi_vnodeops.c
./configure
--with-linux-kernel-headers=/usr/src/kernels/4.5.5-201.fc23.x86_64
make
same error message.
/home/gsgatlin/redhat/sources/openafs-1.6.18/src/libafs/MODLOAD-4.5.5-201.fc23.x86_64-MP/osi_vnodeops.c:1935:5:
error: implicit declaration of function ‘nd_set_link’
[-Werror=implicit-function-declaration]
nd_set_link(nd, name);
^
patch contents:
https://paste.fedoraproject.org/374248/14649855/
Also, if there were concerns that I am a freeloader / leech I did donate
some money to the openafs paypal.
Thanks,
On Fri, Jun 3, 2016 at 3:57 PM, Michael Laß <[email protected]> wrote:
> Hi,
>
> Am Freitag, den 03.06.2016, 21:13 +0200 schrieb Stephan Wiesand:
> > On Jun 3, 2016, at 20:31 , Gary Gatling wrote:
> > > Thanks for any ideas anyone may have on how to compile openafs on 4.5
> > > kernel. I know its possible since Arch Linux pulled it off.
> >
> > Alas, if so, they haven't bothered submitting the magic patch to
> > gerrit.openafs.org. The changes under
> > https://gerrit.openafs.org/#/q/status:open+project:openafs+branch:mas
> > ter+topic:linux45 are all we have. I'll take your message as a report
> > that those changes are not sufficient to cope with Linux 4.5. It
> > makes me very sad.
>
> As I am maintaining the Arch Linux package: There is no magic patch,
> only the aforementioned patches are applied (gerrit 12264, 12265,
> 12268, 12274) and the kernel module compiles and works (as far as I can
> tell) with Linux 4.5.4.
>
> The first issue in the linked compile log is the following:
> >
> /home/gsgatlin/redhat/sources/openafs-1.6.18/src/libafs/MODLOAD-4.5.5-201.fc23.x86_64-MP/osi_vnodeops.c:
> In function ‘afs_linux_follow_link’:
> >
> /home/gsgatlin/redhat/sources/openafs-1.6.18/src/libafs/MODLOAD-4.5.5-201.fc23.x86_64-MP/osi_vnodeops.c:1935:5:
> error: implicit declaration of function ‘nd_set_link’
> [-Werror=implicit-function-declaration]
> > nd_set_link(nd, name);
>
> This particular error occurs if 0003-Linux-4.5-get_link-instead-of-
> follow_link-put_link.patch (gerrit 12265) is not applied.
>
> Cheers,
> Michael
> _______________________________________________
> OpenAFS-devel mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>