The actual fix is a little more involved.  Setting CC="gcc -std=c99"
isn't sufficient to fix the problem as rpmbuild will rely on the
openafs spec file.  

The solution will be setting the CFLAG within the autoconf
configuration so configure will test for features properly.

I'm working on a patch and will be pushing it to gerrit soon.

-- 
Cheyenne Wills
cwi...@sinenomine.net



On Sat, 19 Apr 2025 08:58:45 -0400
Eric Matlis <emat...@nd.edu> wrote:
> I have repeated from scratch the process of downloading and patching
> the sources then re-tarring and rpmbuilding to make sure I didn't
> miss anything with the same result.  See attached the config.log file
> you requested. **********************************************
> Eric Matlis
> Associate Research Professor
> 114 Hessert Laboratory
> Aerospace and Mechanical Engineering
> University of Notre Dame
> Notre Dame, IN
> 574-631-6054
> 
> 
> On Sat, Apr 19, 2025 at 1:42 AM Benjamin Kaduk <ka...@mit.edu> wrote:
> 
> > On Fri, Apr 18, 2025 at 09:06:37PM -0400, Eric Matlis wrote:
> > > Thank you for the quick response.  Using export CC="gcc -std=c99"
> > > before rpmbuild --rebuild resolved this issue, however, not I get
> > > the following errors:
> > >
> > > osi_vnodeops.c: In function ‘afs_linux_dentry_revalidate’:
> > > osi_vnodeops.c:1636:10: error: ‘nd’ undeclared (first use in this
> > > function); did you mean ‘fd’?
> > > 1636 |     if ((nd->flags & LOOKUP_RCU) != 0) {
> > >      |          ^~
> > >      |          fd
> >
> > That looks to be in the vicinity of the patches that should be
> > adding support for 6.14 kernels -- can you post your config.log
> > somewhere so we can tell if configure is finding the functions we
> > expect?
> >
> > -Ben
> >
> >

_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to