[ATrpms-devel] Fix building of uvc on 2.6.18-92

Axel Thimm Axel.Thimm at ATrpms.net
Sun Jul 20 00:07:19 CEST 2008


Hi,

On Sun, Jul 20, 2008 at 12:03:20AM +0200, Niels de Vos wrote:
> On Sat, Jul 19, 2008 at 11:40 PM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> > On Sat, Jul 19, 2008 at 11:35:39PM +0200, Niels de Vos wrote:
> >> > Maybe RHEL_RELEASE_CODE is also set in userland? That would be bad. It
> >> > would force the check to be done differently :/
> >>
> >> No, I think it is only set in include/linux/version.h.
> >
> > I found it under /usr/include/linux/version.h as
> > well. LINUX_VERSION_CODE is also being set, but the kernel Makefile
> > overrides it. The problem is that older RHEL5 kernels do not override
> > the RHEL* macros (I think). It all depends on whether
> > /usr/include/linux/version.h is being sourced in during the build.
> 
> But when compiling kernel modules, /usr/include/linuc/version.h should
> not be included, correct?

Yes, but you never know what does include it and it isn't guarded. But
it's just a theory, I don't know whether it is actually included (but
I can't think of any other reason this failed).

> Do you still want me to provide a patch for it?

Of course! :)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20080720/5cf83207/attachment.bin 


More information about the atrpms-devel mailing list