[OpenAFS] Re: I.4.12 compile error Suse 11.3 Linux 2.6.34.7-0.3
Ted Creedon
tcreedon@easystreet.net
Tue, 28 Sep 2010 17:11:28 -0700
--00221532cbbc86880d04915acd1d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
compiles - thanks
tedc
On Tue, Sep 28, 2010 at 9:43 AM, Marc Dionne <marc.c.dionne@gmail.com>wrote=
:
> On Tue, Sep 28, 2010 at 12:35 PM, Ted Creedon <tcreedon@easystreet.net>
> wrote:
> > Still not compiling
> >
> > In file included from
> >
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop-te=
d-MP/osi_module.c:40:0:
> > include/linux/seq_file.h:87:2: warning: =E2printk=E2 is an unrecognized
> format
> > function type
> >
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop-te=
d-MP/osi_vm.c:
> > In function =E2osi_VM_TryToSmush=E2:
> >
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop-te=
d-MP/osi_vm.c:77:5:
> > error: implicit declaration of function =E2invalidate_inode_pages=E2
> > make[6]: ***
> >
> [/root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop-t=
ed-MP/osi_vm.o]
> > Error 1
> > make[5]: ***
> >
> [_module_/root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-d=
esktop-ted-MP]
> > Error 2
> > make[4]: *** [libafs.ko] Error 2
> > make[3]: *** [linux_compdirs] Error 2
> > make[2]: *** [libafs] Error 2
> > make[1]: *** [build] Error 2
> > make: *** [all] Error 2
> >
> > /configure --enable-transarc-paths --enable-namei-fileserver
> > --enable-largefile-fileserver --with-linux-kernel-headers=3D/usr/src/l=
inux
> > --enab
> > le-bitmap-later --enable-bos-new-config
> > --with-krb5-conf=3D/usr/lib/mit/bin/krb5-config
>
> You need 1.4.12.1 to compile against a 2.6.34 kernel. You should only
> need this additional 1-liner commit:
>
> http://git.openafs.org/?p=3Dopenafs.git;a=3Dcommit;h=3D6c7bf62c8d6d80c09d=
a7307b62734245a9fb3174
>
> Marc
>
--00221532cbbc86880d04915acd1d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
compiles - thanks<br><br>tedc<br><br><div class=3D"gmail_quote">On Tue, Sep=
28, 2010 at 9:43 AM, Marc Dionne <span dir=3D"ltr"><<a href=3D"mailto:m=
arc.c.dionne@gmail.com">marc.c.dionne@gmail.com</a>></span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-=
left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class=3D"h5">On Tue, Sep 28, 2010 at 12:35 PM, Ted Cre=
edon <<a href=3D"mailto:tcreedon@easystreet.net">tcreedon@easystreet.net=
</a>> wrote:<br>
> Still not compiling<br>
><br>
> In file included from<br>
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop=
-ted-MP/osi_module.c:40:0:<br>
> include/linux/seq_file.h:87:2: warning: =E2printk=E2 is an unrecognize=
d format<br>
> function type<br>
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop=
-ted-MP/osi_vm.c:<br>
> In function =E2osi_VM_TryToSmush=E2:<br>
> /root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-desktop=
-ted-MP/osi_vm.c:77:5:<br>
> error: implicit declaration of function =E2invalidate_inode_pages=E2<b=
r>
> make[6]: ***<br>
> [/root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.3-deskto=
p-ted-MP/osi_vm.o]<br>
> Error 1<br>
> make[5]: ***<br>
> [_module_/root/Downloads/openafs-1.4.12/src/libafs/MODLOAD-2.6.34.7-0.=
3-desktop-ted-MP]<br>
> Error 2<br>
> make[4]: *** [libafs.ko] Error 2<br>
> make[3]: *** [linux_compdirs] Error 2<br>
> make[2]: *** [libafs] Error 2<br>
> make[1]: *** [build] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> /configure --enable-transarc-paths=A0 --enable-namei-fileserver<br>
> --enable-largefile-fileserver=A0 --with-linux-kernel-headers=3D/usr/sr=
c/linux<br>
> --enab<br>
> le-bitmap-later --enable-bos-new-config<br>
> --with-krb5-conf=3D/usr/lib/mit/bin/krb5-config<br>
<br>
</div></div>You need 1.4.12.1 to compile against a 2.6.34 kernel. =A0You sh=
ould only<br>
need this additional 1-liner commit:<br>
<a href=3D"http://git.openafs.org/?p=3Dopenafs.git;a=3Dcommit;h=3D6c7bf62c8=
d6d80c09da7307b62734245a9fb3174" target=3D"_blank">http://git.openafs.org/?=
p=3Dopenafs.git;a=3Dcommit;h=3D6c7bf62c8d6d80c09da7307b62734245a9fb3174</a>=
<br>
<font color=3D"#888888"><br>
Marc<br>
</font></blockquote></div><br>
--00221532cbbc86880d04915acd1d--