Re: [BUG -next] ./usr/include/cxl/features.h:11:10: fatal error: uuid/uuid.h: No such file or directory

From: Jason Gunthorpe
Date: Mon Mar 31 2025 - 13:18:09 EST


On Mon, Mar 31, 2025 at 09:54:55AM -0700, Dan Williams wrote:
> Jason Gunthorpe wrote:
> > On Fri, Mar 28, 2025 at 05:26:42PM -0700, Dave Jiang wrote:
> > > > For now the following builds for me, but it is a quite a mess to undo
> > > > the assumption that that the hardware object definitions can not use
> > > > uuid_t:
> > >
> > > +Jason.
> >
> > Seems invasive?
>
> Yeah, it left a bad taste for me as well.
>
> > Maybe just like below?
>
> I like that this avoids converting to the kernel's uuid API, however,
> not quite happy that it forces userspace to contend with the
> type-conflict with uuid/uuid.h.

Oh I see

> So how about one more riff on your idea?

Sure, works for me, please post it..

Jason