Classic Ladder real time support with rtlinux

More
31 Jul 2013 15:41 - 31 Jul 2013 15:58 #37285 by nichis
I would like to use Classi Ladder-0.9.008 with rtlinux. I use Ubuntu 10.04, and I'm following the readme file for the realtime support, but it doesn't work; when i write
make rtl_support
I receive error like:
arrays.c:70:40: error: /usr/rtlinux/include/mbuff.h: File o directory non esistente
arrays.c: In function ‘ClassicLadder_AllocAll’:
arrays.c:382: warning: implicit declaration of function ‘mbuff_alloc’
arrays.c:393: warning: implicit declaration of function ‘CopySizesInfosFromModuleParams’
arrays.c:415: error: ‘StrCounters’ undeclared (first use in this function)
arrays.c:415: error: (Each undeclared identifier is reported only once
arrays.c:415: error: for each function it appears in.)
arrays.c:465: error: ‘NBR_SYMBOL’ undeclared (first use in this function)
arrays.c: In function ‘ClassicLadder_FreeAll’:
arrays.c:547: warning: implicit declaration of function ‘mbuff_free’
make: *** [arrays_.o] Errore 1

why is missing mbuff.h? It's not normal?.. I installed the rtlinux kernel using this link: askubuntu.com/questions/60405/can-i-install-rtlinux and it seems to work
what's the problem? is still working the realtime support for classig ladder or not?


edit:
if I correct manually that errors, namely i paste the mbuff.h into "include" folder, and correct ‘StrCounters’ with ‘StrCounter’, and ‘NBR_SYMBOL’ with ‘NBR_SYMBOLS’, and do again
make rtl_support
it goes but in the end i receive a segmentation error:
drawing_sequential.c: In function ‘DrawSeqTransition’:
drawing_sequential.c:249: internal compiler error: Errore di segmentazione
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make: *** [drawing_sequential.o] Errore 1

I think that realtime support for Classic Ladder is full of bug, isn't it?
Last edit: 31 Jul 2013 15:58 by nichis.

Please Log in or Create an account to join the conversation.

More
31 Jul 2013 17:05 #37287 by ArcEye
Hi

Not sure why you are asking us this.

If you want to use classicladder with the rtai kernel, magma based realtime, as provided with Linuxcnc, there is a wiki here to get started
www.linuxcnc.org/docs/html/ladder/classic_ladder_fr.html

Otherwise you need to ask the rtlinux project why it does not compile
www.rtlinux.org

regards

Please Log in or Create an account to join the conversation.

More
31 Jul 2013 17:43 #37289 by nichis
yes thanks, I'm downloading it now.. I hadn't seen it before

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum