error in compiling openafs-1.8.9 on Rocky 9.1

Giovanni Bracco <[email protected]> Fri, 20 Jan 2023 14:25:03 +0100
Newsgroups gmane.comp.file-systems.openafs.general
Message-ID <[email protected]>
I get errors in compiling the kernel module of openafs 1.8.9 on Rocky 
9.1 x86_64

This is what the compilation returns:

> /root/openafs-1.8.9/openafs-1.8.9/src/libafs/MODLOAD-5.14.0-162.6.1.el9_1.0.1.x86_64-MP/osi_vnodeops.c:3617:25: error: ‘block_dirty_folio’ undeclared here (not in a function); did you mean ‘swap_dirty_folio’?
>  3617 |   .dirty_folio =        block_dirty_folio,
>       |                         ^~~~~~~~~~~~~~~~~
>       |                         swap_dirty_folio
> make[6]: *** [scripts/Makefile.build:295: /root/openafs-1.8.9/openafs-1.8.9/src/libafs/MODLOAD-5.14.0-162.6.1.el9_1.0.1.x86_64-MP/osi_vnodeops.o] Error 1
> make[5]: *** [Makefile:1915: /root/openafs-1.8.9/openafs-1.8.9/src/libafs/MODLOAD-5.14.0-162.6.1.el9_1.0.1.x86_64-MP] Error 2
> make[5]: Leaving directory '/usr/src/kernels/5.14.0-162.6.1.el9_1.0.1.x86_64'
> FAILURE: make exit code 2
> make[4]: *** [Makefile.afs:280: libafs.ko] Error 1
> make[4]: Leaving directory '/root/openafs-1.8.9/openafs-1.8.9/src/libafs/MODLOAD-5.14.0-162.6.1.el9_1.0.1.x86_64-MP'
> make[3]: *** [Makefile:187: linux_compdirs] Error 2
> make[3]: Leaving directory '/root/openafs-1.8.9/openafs-1.8.9/src/libafs'
> make[2]: *** [Makefile:463: libafs] Error 2
> make[2]: Leaving directory '/root/openafs-1.8.9/openafs-1.8.9'
> make[1]: *** [Makefile:650: build] Error 2
> make[1]: Leaving directory '/root/openafs-1.8.9/openafs-1.8.9'
> make: *** [Makefile:32: all] Error 2
> 

and the configure summary is:

> ***************************************************************
> OpenAFS configure summary
> 
>   version : 1.8.9
>   sysname : amd64_linux26
> 
> debug:
>   userspace              : no
>   kernel                 : no
>   ctf-tools              : no
> options:
>   transarc paths         : no
>   namei fileserver       : yes
>   use unix sockets       : yes
>   ptserver supergroups   : no
>   pthreaded ubik         : yes
>   install kauth          : no
>   ubik read while write  : no
> build:
>   kernel module          : yes
>   scout/afsmonitor       : yes
>   pam                    : yes
>   login                  : no
> doc generation:
>   docbook stylesheets    : no
>   doxygen                : no
>   doxygen graphs         : no
> libraries:
>   krb5    : -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -lkrb5 -lk5crypto -lcom_err
>   curses  : -lncurses
>   afsdb   : 
>   crypt   : -lcrypt
>   hcrypto : -lafshcrypto
>   intl    : 
> ***************************************************************



Any suggestion?

Giovanni

-- 
Giovanni Bracco
phone  +39 351 8804788
E-mail  [email protected]
WWW http://www.afs.enea.it/bracco

-- 
Giovanni Bracco

Cell: 3518804788
log-compile-openafs.1.8.9-Rocky9.1.txt (text/plain, 193.1 KB) - not displayed