Jan Kiszka wrote:
> Teresa Noviello wrote:
> 
>>Hi!
>>I'm working with 989 svn version for the example
>>
>>examples/xenomai/posix/rtt-sender.c
>>
>>I'm trying to adapt the example to rtai-3.3.
>>
>>I have a problem compiling with these command lines:
>>
>>gcc - c -Wall -ggdb -o rtt-sender.o -I/usr/realtime/include
>>-I/usr/src/rtnet/trunk/rtnet/stack/include rtt-sender.c
>>
>>gcc -o rtt-sender -L/usr/realtime/lib -llxrt -lrtdm -lrt
>>rtt-sender.o-lpthread
>>
>>The program "rtt-sender" is successfully compiled so but the executable
>>works until the instruction
>>
>>"mq_open": there it gives Segmentation Fault.
>>
>>Compiling with:
>>
>>gcc - c -Wall -ggdb -o rtt-sender.o -I/usr/realtime/include
>>-I/usr/src/rtnet/trunk/rtnet/stack/include rtt-sender.c
>>
>>gcc -o rtt-sender -L/usr/realtime/lib -llxrt -lrtdm -lrt -lmqueue
>>rtt-sender.o -lpthread
>>
>>I have
>>
>>"ld: cannot find -lmqueue
>>collect2: ld returned 1 exit status
>>make: *** [sender] Error 1"
>>
>>Why? I have not got the mqueue dynamic library, is it so?
>>How can i install it? Can you link a tutorial for this? I've searched
>>for it
>>all day without results!
>>Do i have to patch the kernel to have mqueue compatibility??
>>
> 
> 
> The rtt-sender makes use of Xenomai's POSIX-conforming real-time mqueues
> (=>POSIX skin). So you have to look for something comparable on RTAI,
> either some wrapper (there used to exists something, but I don't know
> its current status) or RTAI-specific message queuing functions.
> 

rtai_mq

Paolo.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to