To: | |
---|---|
Subject: | [ts-7000] Re: TS7200 Real Time Programming |
From: | "Julien" <> |
Date: | Thu, 05 Apr 2007 08:15:03 -0000 |
Hi Replying to my own post, and addind details... Some errors came from different version of files. Now all RTAI headers come from a 3.5 magma version (was note the case before... some came from a 3.2 version). I don't have anymore the warning about gcc version and about /usr/include/rtai_lxrt.h But... I always have error with /usr/include/asm/rtai_lxrt.h /usr/include/asm/rtai_lxrt.h: In function `rtai_lxrt': /usr/include/asm/rtai_lxrt.h:121: error: invalid register name for `_r0' /usr/include/asm/rtai_lxrt.h:121: error: invalid register name for `_r1' Does anyone have an idea about this error ? Thanks for help. Regard, Julien --- In "Julien" <> wrote: > > Hello. > > Thanks for your link, indeed I found the "ep93xxx_tsc.h". I put it into > the right directory, and I don't have anymore error during compilation > about missing files. > > Now, I find this strange, because I have errors regarding > "rtai_lxrt.h"... Here are they : > In file included from /usr/include/rtai_sem.h:226, > from hello.c:13: > /usr/include/rtai_lxrt.h: In function > `linux_syscall_server_fun': > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_ip' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r0' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r1' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r2' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r3' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r4' > /usr/include/rtai_lxrt.h:697: error: `struct pt_regs' has no > member named `ARM_r5' > /usr/include/asm/rtai_lxrt.h: In function `rtai_lxrt': > /usr/include/asm/rtai_lxrt.h:121: error: invalid register name for > `_r0' > /usr/include/asm/rtai_lxrt.h:121: error: invalid register name for > `_r1' > > How can this file be wrong ? If you have any idea... > > I have also a warning about my gcc version (but I don't think that this > warning is linked to rtai_lxrt errors, isn't it ?). It was a 3.3.4, and > I tried with a 4.1.2 with the same result. > /usr/include/rtai_sanity.h:24:2: warning: #warning : You are likely > using an unsuported GCC version! Please read GCC-WARNINGS carefully. > > Again, thanks for your help. > > Regards, > > Julien > > > --- In Ronald Gomes automatisarg@ wrote: > > > > Hello, > > Please try this file: > > http://oz.embeddedarm.com/ftp/rt/linux24-ts11-rt-headers.tar.gz > > It is the headers for a TS11 kernel patched with Adeos-RTAI. > > > > > > > > Julien kaezar1@ escreveu: Hi. > > > > I found this old post, by looking for informations about > > "ep93xx_tsc.h". Me too, I need this file in order to compile RTAI > > applications. > > > > I would like to know if the tarball with all rt-kernel header files > > has been made, and where I can find it on the TS ftp. > > > > Thanks for your answer. > > > > Regards. > > > > Julien > > > > --- In Ronald Gomes automatisarg@ wrote: > > > > > > Hi, > > > > > > If you are able to run all the RTAI kernel and user space > > examples, then you succeed on the RTAI installation step. > > > > > > However, to build RTAI application you will also need the rt- > > kernel header files. You can patch the ts8 kernel with the Adeos > > patch provided at ftp://oz.embeddedarm.com/rt/arm-ts8/ and build it. > > All the needed information for this step is provided by the "Getting > > Started with RTAI" guide, developper section. > > > > > > After building the rt-kernel, use the new linux-include dir when > > compiling your RTAI application, for example: > > > > > > gcc -Wall -I/usr/src/linux-2.4.26-ts8-rt/include -I/usr/realtime/ > > include -c test.c -o test.o > > > > > > Anyway, I will place a tarball with the rt-kernel header files at > > the ftp server soon... I let you know when done. > > > > > > Regards, > > > Ronald. > > > > > > Cliff Blackburn cblackburn@ escreveu: Hi, > > > > > > I am trying to setup my ARM board to execute some control code > > every 1ms so I decied to use the RTAI kernel provided. I have been > > able to install the rt kernel load the modules and run the test > > programs successfully. Where I am having a problem is trying to > > compile a program which uses the header > > > #include <rtai_lxrt.h> > > > This header includes others which eventually always comes down to > > missing a file. > > > I have tried setting up the system using TS8 and TS9 files sets > > have the same issue. > > > > > > gcc -Wall -I /usr/realtime/include -c test.c -o test.o > > > In file included from /usr/realtime/include/asm/rtai_hal.h:116, > > > from /usr/realtime/include/asm/rtai.h:42, > > > from /usr/realtime/include/rtai.h:26, > > > from /usr/realtime/include/rtai_sched.h:22, > > > from /usr/realtime/include/rtai_lxrt.h:69, > > > from test.c:12: > > > /usr/realtime/include/asm-arm/arch/rtai_arch.h:28: asm/arch/ > > ep93xx_tsc.h: No such file or directory > > > I have looked in the TS9 and TS8 files and niether tar files > > supplied contain this file. > > > > > > ls usr/realtime/include/asm/arch/ -l > > > > > > -rw-r--r-- 1 cliff users 2564 Aug 15 17:18 rtai_arch.h > > > -rw-r--r-- 1 cliff users 1084 Aug 15 17:18 rtai_exports.h > > > -rw-r--r-- 1 cliff users 1994 Aug 15 17:18 rtai_timer.h > > > I've even tried downloading the RTAI-3.2 tar file and it is not > > contained in there. > > > Am I doing somthing wrong? > > > > > > Thank you, > > > Cliff Blackburn > > > > > > > > > --------------------------------- > > > YAHOO! GROUPS LINKS > > > > > > > > > Visit your group "ts-7000" on the web. > > > > > > To unsubscribe from this group, send an email to: > > > > > > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service. > > > > > > > > > --------------------------------- > > > > > > > > > > > > > > > > > > > > > --------------------------------- > > > Yahoo! Acesso Grátis: Internet rápida e grátis. > > > Instale o discador agora! > > > > > > > > > > > > > > > __________________________________________________ > > Fale com seus amigos de graça com o novo Yahoo! Messenger > > http://br.messenger.yahoo.com/ > > > __._,_.___
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe __,_._,___ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: IRQ assigned to Compact Flash, captian_rm |
---|---|
Next by Date: | [ts-7000] TS-MODEM2 HDL Code, Eko Didik Widianto |
Previous by Thread: | [ts-7000] Re: TS7200 Real Time Programming, Julien |
Next by Thread: | Re: [ts-7000] Re: TS7200 Real Time Programming, hindimax |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU