[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem to run examples with RTAI



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
begin:vcard 
n:FLORIAN;Nicolas
tel;work:03.89.28.33.60
x-mozilla-html:FALSE
org:GRME-Est;Bureau d'Etudes
adr:;;Aire de la Thur BP 8;PULVERSHEIM;;68840;FRANCE
version:2.1
email;internet:nfi.grme-est@grme.fr
title:Ingénieur Développement
x-mozilla-cpt:;-12736
fn:Nicolas FLORIAN
end:vcard