Hello Nicolas,
I think this was a know problem with older LXRT versions
and Pierre fixed it in CVS. But i do not understand how
you want to use LXRT to access your driver. LXRT hardrealtime
mode can not use Linux system calls, so a normal linux driver is
of no use. (i don't have your other post, so i don't really rember what
you wanted to do)
- Erwin
Nicolas FLORIAN wrote:
>
> Hi all,
>
> I've just installed RTAI 1.6 on my computer (kernel 2.2.16). I need lxrt
> it to use a driver (maybe you can remember the problem I had with my CAN
> Board, two weeks ago ?) in user space in real time mode.
>
> I tried the examples which are in the directory /lxrt . I had no problem
> with that. Then I tried to compile an example ("threads") with Kdevelop.
> These are the flags I used :
>
> -I/usr/src/linux/include -I(RTAI dir)/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -lpthread
>
> The compilation worked well. Then I run the program (as root) and it
> worked. However, just after the execution of the last line of the code,
> I've got a segmentation fault message.
>
> What could it be ? How can I solve this problem ?
>
> - Nicolas
>
> ---snip---
> vcard deleted....PLEAS NO VCARDS TO THE MAILIN LIST ...
>
> thx !
> hofrat
> -- [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/rtlinux/
-- [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/rtlinux/