From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45264366.80405@domain.hid> Date: Fri, 06 Oct 2006 13:52:06 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-help] rtcan_mscan compilation. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Syed Amer Gilani Cc: xenomai-help Syed Amer Gilani wrote: > 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 Yes, I know since yesterday and it proofs again, untested software does not work :-(. I'm working on a fix. Should be available today or tomorrow. Wolfgang.