[OpenAFS] Re: I.4.12 compile error Suse 11.3 Linux 2.6.34.7-0.3

Marc Dionne marc.c.dionne@gmail.com
Tue, 28 Sep 2010 12:43:01 -0400


On Tue, Sep 28, 2010 at 12:35 PM, Ted Creedon <tcreedon@easystreet.net> wro=
te:
> 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 f=
ormat
> 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=A0 --enable-namei-fileserver
> --enable-largefile-fileserver=A0 --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=3D6c7bf62c8d6d80c09da7=
307b62734245a9fb3174

Marc