- From: Roberto Bucher <roberto.bucher_at_supsi.ch>
- Date: Fri, 18 Aug 2006 10:16:18 +0200
I've substituted the macro with the call and it seems to work correctly (at least I don't receive the Segmentation fault). Sorry, but I can't test the comedi drivers on my laptop. Regards Roberto On Friday 18 August 2006 02:11, Frank Mori Hess wrote: > 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. -- University of Applied Sciences of Southern Switzerland Dept. Innovative Technologies CH-6928 Lugano-Manno http://www.dti.supsi.ch/~bucher
Received on 2006-08-18Z07:16:18