[OpenAFS-devel] GROUP_AT issues with openafs 1.6.20.2 on linux 4.11 (Fedora 26 Alpha)

Benjamin Kaduk kaduk@mit.edu
Wed, 26 Apr 2017 14:13:41 -0500


On Wed, Apr 26, 2017 at 03:04:06PM -0400, Randy Philipp wrote:
> I am trying to compile openafs on a Fedora 26 alpha system (this is
> using a 4.11 kernel) and I am getting the following error,
> 
> /var/lib/dkms/openafs/1.6.20.2-1.fc26/build/src/libafs/MODLOAD-4.11.0-0.rc6.git0.1.fc26.x86_64-SP/osi_groups.c:
> In function ‘afs_linux_pag_from_groups’:
> /var/lib/dkms/openafs/1.6.20.2-1.fc26/build/src/libafs/MODLOAD-4.11.0-0.rc6.git0.1.fc26.x86_64-SP/osi_groups.c:40:21:
> error: implicit declaration of function ‘GROUP_AT’; did you mean
> ‘NGROUPS’? [-Werror=implicit-function-declaration]
>   g0 = afs_from_kgid(GROUP_AT(group_info, i));
>                      ^~~~~~~~
>                      NGROUPS
> 
> Has anyone else run into this issue, or more to the point, does anyone
> have a fix? Thanks for your help on this, please let me know if you need
> any additional information (I didn't want to clog up the mailing list
> with too much info).

The code is supposed to be dealing with this change already, e.g.,
in commit 25149530851ea96a75f9bb6e78ab51c19da8c77d.
You should probably post a link to your full configure log so that
we can try to tell where the autodetection failed.

-Ben