Re: Installing comedi under Mandriva 2005

On Thursday 23 June 2005 11:56 am, James Mazer wrote:
> I just ran into this same problem:
>  > drivers.c: In function `uvirt_to_kva':
>  > drivers.c: 398: error: request for member `pgd' in something not a
>  >   structure or union
>
> After a bit of poking around, I'm pretty sure a kernel problem, not a
> Mandrake/Mandriva problem, since I'm running FC3. Comedi compiles and
> runs fine after a the stock FC3 distribution (kernel 2.6.9), but if
> you update FC3, you end up with 2.6.11 and comedi no longer
> compiles. I spent some time trying to track down the change that
> breaks things, but it's beyond me. However, I can confirm that
> backing out to the 2.6.9 kernel fixed the problem.
>
> Can anybody confirm getting comedi compiled on a post 2.6.9 kernel?
>
> /jamie

It compiles fine for me against a vanilla 2.6.12.1 kernel, although I do 
get a lot of annoying warnings due to the write*() macros being changed to 
static inline functions that take a pointer for the address.

-- 
Frank

Received on 2005-06-26Z14:31:13