[Rtai] usb20rt

Paolo Mantegazza mantegazza at aero.polimi.it
Tue Dec 22 11:45:54 CET 2009


As I said a few times that external contribution needs an upgrade to the 
most recent kernels and RTAIs. Maybe from somebody who has a strong 
interest in it and happy to help the RTAI community. It is not part of 
the RTAI release so, since no RTAI developers needs it, it is not 
actively maintained.

Paolo

Alessio Chessa wrote:
> Hello, i would like to compile the usb20rt drivers on linux lernel 
> 2.6.28.9 with RTAI 3.7.1, but when do the make command, there are some 
> errors. Can you help me ? thanks a lot.
> 
> root at dart3:~/Scrivania/usb20rt-rtai-0.1# make
> make[1]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack»
> make[2]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core»
> make[3]: ingresso nella directory «/usr/src/linux-2.6.28.9»
> 
>   WARNING: Symbol version dump /usr/src/linux-2.6.28.9/Module.symvers
>            is missing; modules will have no dependencies and modversions.
> 
>   CC [M]  /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.o
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.c: In 
> function ‘rtdm_usb_hcd_pci_probe’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.c:78: 
> warning: passing argument 3 of ‘rtdm_usb_create_hcd’ discards qualifiers 
> from pointer target type
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.c:123: 
> error: ‘SA_SHIRQ’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.c:123: 
> error: (Each undeclared identifier is reported only once
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.c:123: 
> error: for each function it appears in.)
> make[4]: *** 
> [/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core/hcd-pci.o] Errore 1
> make[3]: *** 
> [_module_/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core] Errore 2
> make[3]: uscita dalla directory «/usr/src/linux-2.6.28.9»
> make[2]: *** [all] Errore 2
> make[2]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/core»
> make[2]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host»
> make[3]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd»
> make[4]: ingresso nella directory «/usr/src/linux-2.6.28.9»
> 
>   WARNING: Symbol version dump /usr/src/linux-2.6.28.9/Module.symvers
>            is missing; modules will have no dependencies and modversions.
> 
>   CC [M]  
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-hcd.o
> In file included from 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-hcd.c:251: 
> 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-q.c: 
> In function ‘qh_append_tds’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-q.c:877: 
> error: too few arguments to function ‘__list_splice’
> In file included from 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-hcd.c:252: 
> 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-sched.c: 
> In function ‘iso_stream_put’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-sched.c:748: 
> warning: ISO C90 forbids mixed declarations and code
> make[5]: *** 
> [/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd/ehci-hcd.o] 
> Errore 1
> make[4]: *** 
> [_module_/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd] 
> Errore 2
> make[4]: uscita dalla directory «/usr/src/linux-2.6.28.9»
> make[3]: *** [all] Errore 2
> make[3]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/ehci-hcd»
> make[3]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd»
> make[4]: ingresso nella directory «/usr/src/linux-2.6.28.9»
> 
>   WARNING: Symbol version dump /usr/src/linux-2.6.28.9/Module.symvers
>            is missing; modules will have no dependencies and modversions.
> 
>   CC [M]  
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.o
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:71: 
> error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> In file included from 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:87: 
> 
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c: 
> In function ‘uhci_alloc_urb_priv’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c:490: 
> error: ‘uhci_up_cachep’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c:490: 
> error: (Each undeclared identifier is reported only once
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c:490: 
> error: for each function it appears in.)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c:490: 
> error: ‘SLAB_ATOMIC’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c: 
> In function ‘uhci_destroy_urb_priv’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-q.c:561: 
> error: ‘uhci_up_cachep’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c: 
> In function ‘wakeup_rh’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:331: 
> warning: ISO C90 forbids mixed declarations and code
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c: 
> In function ‘uhci_resume’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:845: 
> warning: ISO C90 forbids mixed declarations and code
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c: 
> In function ‘uhci_hcd_init’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:978: 
> error: ‘uhci_up_cachep’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:979: 
> error: too many arguments to function ‘kmem_cache_create’
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:990: 
> error: void value not ignored as it ought to be
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c: 
> In function ‘uhci_hcd_cleanup’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:1008: 
> error: ‘uhci_up_cachep’ undeclared (first use in this function)
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.c:1008: 
> error: void value not ignored as it ought to be
> make[5]: *** 
> [/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd/uhci-hcd.o] 
> Errore 1
> make[4]: *** 
> [_module_/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd] 
> Errore 2
> make[4]: uscita dalla directory «/usr/src/linux-2.6.28.9»
> make[3]: *** [all] Errore 2
> make[3]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host/uhci-hcd»
> make[2]: *** [all] Errore 2
> make[2]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack/host»
> make[1]: *** [all] Errore 2
> make[1]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/stack»
> make[1]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton»
> make[2]: ingresso nella directory «/usr/src/linux-2.6.28.9»
> 
>   WARNING: Symbol version dump /usr/src/linux-2.6.28.9/Module.symvers
>            is missing; modules will have no dependencies and modversions.
> 
>   CC [M]  
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.o
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c: 
> In function ‘rtdm_skeleton_open’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c:152: 
> warning: ISO C90 forbids mixed declarations and code
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c: 
> In function ‘rtdm_skeleton_ioctl’:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c:279: 
> warning: unused variable ‘dev’
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c: 
> At top level:
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c:310: 
> warning: initialization from incompatible pointer type
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton.c:311: 
> warning: initialization from incompatible pointer type
>   LD [M]  
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton_rt.o 
> 
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton_rt.mod.o 
> 
>   LD [M]  
> /home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton/usbRtdmSkeleton_rt.ko 
> 
> make[2]: uscita dalla directory «/usr/src/linux-2.6.28.9»
> make[1]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmSkeleton»
> make[1]: ingresso nella directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmTest»
> make[1]: Non c'è da fare nulla per «all»
> make[1]: uscita dalla directory 
> «/home/alekevin/Scrivania/usb20rt-rtai-0.1/usbRtdmTest»
>  
> _______________________________________________
> Rtai mailing list
> Rtai at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
> 




More information about the Rtai mailing list