- From: Bernd Porr <bp1_at_cn.stir.ac.uk>
- Date: Fri, 27 Feb 2004 10:33:46 +0000
Thanks!
I'll fix it in the CVS ASAP.
/B
Dario wrote:
> Alle 18:47, giovedì 26 febbraio 2004, Bernd Porr ha scritto:
>
> Thanks Bernd,
>
> the changes you suggested fix the problem, I've submitted the bug to comedi's
> bugzilla
>
> Regards
>
> Dario
>
>
>>Hi!
>>
>>Go into usbdux.c and change:
>>
>>// The usbduxsub-driver
>>static struct usb_driver usbduxsub_driver = {
>>#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,18)
>> owner: THIS_MODULE,
>>#endif
>> name: BOARDNAME,
>>
>>the kernel version in there into 2,4,19:
>>#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19)
>>
>>Can you please submit a bug in comedi's bugzilla.
>>
>>The other option would be to take a more recent kernel.
>>
>>/Bernd
>>
>>Dario wrote:
>>
>>>Dear Comedi developers,
>>>
>>>I'm trying to install comedi-0.7.68 on the following system:
>>>
>>>- Linux mandrake 9.0
>>>- kernel 2.4.19-adeos
>>>- gcc version 3.2
>>>
>>>Unfortunately, I get this error:
>>>
>>>usbdux.c:2702: unknown field `owner' specified in initializer
>>>usbdux.c:2702: warning: initialization from incompatible pointer type
>>>make[3]: *** [usbdux.o] Error 1
>>>make[3]: Leaving directory `/usr/src/comedi-0.7.68/comedi/drivers'
>>>make[2]: *** [all-recursive] Error 1
>>>make[2]: Leaving directory `/usr/src/comedi-0.7.68/comedi'
>>>make[1]: *** [all-recursive] Error 1
>>>make[1]: Leaving directory `/usr/src/comedi-0.7.68'
>>>make: *** [all] Error 2
>>>
>>>Do you have any suggestion to solve this problem?
>>>
>>>Best regards
>>>
>>>Dario
>>>
>>>
>>>_______________________________________________
>>>comedi mailing list
>>>comedi_at_comedi.org
>>>https://cvs.comedi.org/cgi-bin/mailman/listinfo/comed
>
> i
--
Contact information:
http://www.cn.stir.ac.uk/~bp1
http://www.linux-usb-daq.com/
Received on 2004-02-27Z10:33:46