I wanted to test rtcan but the mscan Driver fails to compile:
CC drivers/xenomai/can/mscan/rtcan_mscan.o drivers/xenomai/can/mscan/rtcan_mscan.c:85: error: syntax error before string constant drivers/xenomai/can/mscan/rtcan_mscan.c:85: warning: type defaults to 'int' in declaration of 'MODULE_PARM' drivers/xenomai/can/mscan/rtcan_mscan.c:85: warning: function declaration isn't a prototype drivers/xenomai/can/mscan/rtcan_mscan.c:85: warning: data definition has no type or storage class drivers/xenomai/can/mscan/rtcan_mscan.c:89: error: syntax error before string constant drivers/xenomai/can/mscan/rtcan_mscan.c:89: warning: type defaults to 'int' in declaration of 'MODULE_PARM' drivers/xenomai/can/mscan/rtcan_mscan.c:89: warning: function declaration isn't a prototype drivers/xenomai/can/mscan/rtcan_mscan.c:89: warning: data definition has no type or storage class make[4]: *** [drivers/xenomai/can/mscan/rtcan_mscan.o] Fehler 1 When i understand the Sources correct it has something to do with the value of the config variables. But i left them all on the default values: CONFIG_XENO_DRIVERS_RTCAN_MSCAN=y CONFIG_XENO_DRIVERS_RTCAN_MSCAN_1=y CONFIG_XENO_DRIVERS_RTCAN_MSCAN_2=y CONFIG_XENO_DRIVERS_RTCAN_MSCAN_CLOCK=66000000 CONFIG_XENO_DRIVERS_RTCAN_MSCAN_ALT=y # CONFIG_XENO_DRIVERS_RTCAN_MSCAN_PSC2 is not set Regards, Syed Amer Gilani _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
