Hi
well unfortunately I am not deeply involved in RTLinux anymore. I haven't
even used anything like CAN or RTLinux lately (will soon change I guess :-)) )
But spin lock leads to a smp machine. Was there any change in RTLinux lately?
I have never heard about that. And btw is the card a c200 compatible one?
Sorry, I don't even have the source handy right now.
> HI!
>
> We are trying to set up a system which uses RTLinux for collecting
> data. This box needs to communicate via CAN. I found a few CAN-drivers
> and tried to compile them. No luck so far!
>
>
>
> Question 1:
> Using Heinz Haeberle can driver, I get complains RTL_SPIN_LOCK (see
> below). Anyone knows about this?
>
> Question 2:
> I am not sure wether I need to have SMP enabled in the kernel or not
> (?) Could a wrong setting cause the above RTL_SPIN_LOCK-error
>
> Question 3:
> Can anyone recommend a driver that
> - suits our system (see below)
> or
> - os known to be "good"
>
>
>
> Our system:
> ----------
> CAN: PCM-3680
> CPU: Pentium II
> OS: 2.2.14-rtl2.2
> Source: RTlinux 2.2
> Linux 2.2.14
> GCC: 2.95.4
>
>
>
>
>
> hesa@einar:/usr/src/can$ make
> gcc -I/usr/src/rtlinux-2.2/linux/include -I/usr/src/rtlinux-2.2/include
> -I/usr/src/rtlinux-2.2 -I/usr/src/rtlinux-2.2/linux/include
> -I/usr/src/rtlinux-2.2/include -I/usr/src/rtlinux-2.2
> -I/usr/src/rtlinux-2.2/include/posix -Wall -Wstrict-prototypes -O2
> -D__SMP__ -D__RTL__ -D__KERNEL__ -DMODULE -pipe -fno-strength-reduce
> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> -DMODVERSIONS -include
> /usr/src/rtlinux-2.2/linux/include/linux/modversions.h
> -fomit-frame-pointer -c candrv.c
> candrv.c: In function `CANAddCallbackFn':
> candrv.c:57: `RTL_SPIN_LOCK' undeclared (first use in this function)
> candrv.c:57: (Each undeclared identifier is reported only once
> candrv.c:57: for each function it appears in.)
> candrv.c: In function `CANRemCallbackFn':
> candrv.c:69: `RTL_SPIN_LOCK' undeclared (first use in this function)
> candrv.c: In function `ProcessID':
> candrv.c:81: `RTL_SPIN_LOCK' undeclared (first use in this function)
> {standard input}: Assembler messages:
> {standard input}:9: Warning: ignoring changed section attributes for
> .modinfo
> make: *** [candrv.o] Error 1
>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/