Re: comedi-0.7.73 problem

On Thursday 17 August 2006 09:35 am, Roberto Bucher wrote:
> I compiled the new comedi tarball with the following configuration:
>
> kernel: linux-2.6.17.8
> RTAI: vulcano-cvs, IPIPE
> no PCMCIA support
>
> When I ry to do
>
> modprobe comedi
>
> I get a Segmentation fault and the following log:

It looks like an rtai header is redefining the comedi CLASS_DEVICE_CREATE 
to a broken one (at least with respect to 2.6.17).  You might look for 
compile warnings when compiling comedi_fops.c, like CLASS_DEVICE_CREATE 
being redefined and an incompatible pointer argument passed to 
class_device_create.  For 2.6.17, comedi just replaces CLASS_DEVICE_CREATE 
with class_device_create, so you could just manually make that change to 
your comedi_fops.c.

-- 
Frank

Received on 2006-08-17Z23:11:14