[OpenAFS-devel] Re: having trouble compiling openafs kernel module in kernel 4.5

Gary Gatling gsgatlin@ncsu.edu
Fri, 3 Jun 2016 17:21:23 -0400


--001a113dcfd802e7b00534664e6e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Indeed. Thanks so much! That works. This gives me clues as to what I can do
to fix the rpm package I've been using. TIL. Have a great weekend.

On Fri, Jun 3, 2016 at 4:34 PM, Michael La=C3=9F <lass@mail.upb.de> wrote:

> Am Freitag, den 03.06.2016, 16:27 -0400 schrieb Gary Gatling:
> > 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=3D/usr/src/kernels/4.5.5-
> > 201.fc23.x86_64
> > make
>
> There is one important step missing: After applying all the patches you
> need to run "./regen.sh -q" which regenerates the configure script.
>
> Cheers,
> Michael
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>

--001a113dcfd802e7b00534664e6e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Indeed. Thanks so much! That works. This gives me clues as=
 to what I can do to fix the rpm package I&#39;ve been using. TIL. Have a g=
reat weekend.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote=
">On Fri, Jun 3, 2016 at 4:34 PM, Michael La=C3=9F <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:lass@mail.upb.de" target=3D"_blank">lass@mail.upb.de</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">Am Freit=
ag, den 03.06.2016, 16:27 -0400 schrieb Gary Gatling:<br>
&gt; I&#39;m pretty sure the patch was applied correctly.<br>
&gt; 0003-Linux-4.5-get_link-instead-of-follow_link-put_link.patch<br>
&gt;<br>
&gt; tar -xvjf openafs-1.6.18-src.tar.bz2<br>
&gt; cd openafs-1.6.18/<br>
&gt; patch -p1 &lt; ../0001-Linux-3.13-Check-return-value-from-bdi_init.pat=
ch<br>
&gt; patching file src/afs/LINUX/osi_vfsops.c<br>
&gt; patch -p1 &lt; ../0002-Linux-4.5-no-highmem-in-symlink-ops.patch<br>
&gt; patching file acinclude.m4<br>
&gt; patching file src/afs/LINUX/osi_vnodeops.c<br>
&gt; patch -p1 &lt; ../0003-Linux-4.5-get_link-instead-of-follow_link-<br>
&gt; put_link.patch<br>
&gt; patching file acinclude.m4<br>
&gt; patching file src/afs/LINUX/osi_vnodeops.c<br>
&gt; patch -p1 &lt; ../0005-Linux-4.5-don-t-access-i_mutex-directly.patch<b=
r>
&gt; patching file acinclude.m4<br>
&gt; patching file src/afs/LINUX/osi_compat.h<br>
&gt; patching file src/afs/LINUX/osi_vnodeops.c<br>
&gt; ./configure --with-linux-kernel-headers=3D/usr/src/kernels/4.5.5-<br>
&gt; 201.fc23.x86_64<br>
&gt; make<br>
<br>
</span>There is one important step missing: After applying all the patches =
you<br>
need to run &quot;./regen.sh -q&quot; which regenerates the configure scrip=
t.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
Cheers,<br>
Michael<br>
_______________________________________________<br>
OpenAFS-devel mailing list<br>
<a href=3D"mailto:OpenAFS-devel@openafs.org">OpenAFS-devel@openafs.org</a><=
br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-devel" rel=3D=
"noreferrer" target=3D"_blank">https://lists.openafs.org/mailman/listinfo/o=
penafs-devel</a><br>
</div></div></blockquote></div><br></div>

--001a113dcfd802e7b00534664e6e--