[CentOS] Missing file in current kernel-devel package

Thu Oct 5 15:21:41 UTC 2017
Jonathan Billings <billings at negate.org>

On Thu, Oct 05, 2017 at 10:58:18AM -0400, m.roth at 5-cent.us wrote:
>
> Fred Smith wrote:
> > On Thu, Oct 05, 2017 at 09:56:57AM -0400, m.roth at 5-cent.us wrote:
> >> Ok, folks,
> >>
> >>    I've identified what my problem is, trying to install the NVidia
> >> proprietary drivers: in kernel-devel-3.10.0-514.26.2.el7.x86_64, there
> >> is a file
> >> /usr/src/kernels/3.10.0-514.26.2.el7.x86_64/include/linux/fence.h
> >>
> >>    It does not exist in the kernel-devel-3.10.0-693.2.2.el7.x86_64
> >> package. Is this something that got missed, or did HR drop it, or....?
> >>
> > I'm running that kernel with Nvidia 384.90, but I get the nvidia
> > driver from elrepo. where do you get yours?
> >
> Proprietary NVidia. Still, why is fence.h suddenly not there?

Are you trying to build an older NVidia binary?  Newer versions of the
code should be updated to support the fact that the DRM kernel code
removed include/linux/fence.h (back in 2016).  Looks like the 7.4
kernels brought in newer video driver code, which is why you're seeing
it gone.

-- 
Jonathan Billings <billings at negate.org>