Jan

It seems that the cause for the ENOSYS error was that I loaded the wrong RTAI 
modules: both RTAI_LXRT and RTAI_UP was loaded (I blame it on my script!). When 
I only have RTAI_LXRT this error goes away (another one takes its place, but 
that is the subject of another thread...).

On another point - I installed gcc-3.3.6, and re-compiled everything. I did the 
"make oldconfig CC=gcc-3.3.6" + "make" sequence, and it seemed to work for the 
kernel and RTAI, but RTnet still used the other gcc ("gcc", not "gcc-3.3.6") 
for at least some tasks (I still got the warnings about the compiler version, 
at least). I renamed "gcc" and replaced it with a symlink to "gcc-3.3.6", and 
then the warnings went away. So, to make a long story short, I think "gcc" is 
hard-coded somewhere in the make script?

Thinus

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 03 August 2006 09:29
To: Thinus Viljoen
Cc: rtnet-users@lists.sourceforge.net
Subject: Re: [RTnet-users] RTnet in RTAI kernel space


Thinus Viljoen wrote:
> Hi
> 
> I want to install an older version of gcc, and see if it solves some of my 
> problems. I have the following questions:
> 
> 1. Which version of gcc should I install? I saw somewhere that >=3.2 is 
> recommended - is the latest 3.x version (3.4.6) the best, or is an earlier 
> version perhaps better? (Which version are you using?)

I have a gcc-3.3.6 here (debian) for testing under 2.4 kernels. I cannot
comment on 3.3 vs. 3.4.

> 
> 2. Do I need to recompile everything with the newly installed gcc (patched 
> kernel, RTAI, RTnet)?

Definitely yes (wrt/ kernel code).

> 
> 3. From the RTAI user manual it seems that the re-compilation process for 
> RTAI consists of running
> "make reconfig CC=/my/favorite/c/compiler", and then "make". Is the process 
> for RTnet and the patched kernel identical? Or should I simply change a 
> symlink for gcc somewhere and re-build all?

"make oldconfig CC=gcc-whatever" + "make" should do it. If you want to
be really sure, run a "make clean" first.

Jan


*******************************************************************************************************
Disclaimer:  The information contained in this communication is confidential 
and may be legally privileged.  
It is intended solely for the use of the individual or entity to whom it is 
addressed and others authorised to receive it.  
Any review, retransmission, dissemination, copying, disclosure or other use of, 
or taking of any action in reliance upon, this information by person or 
entities other then the intended recipient is prohibited.  
If you have received this message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and return and/or destroy the 
original message and all copies from any computer.  

Denel (Pty) Ltd exercises no editorial control over e-mail messages originating 
in the organisation and does not accept any responsibility for either the 
contents of the message or any copyright laws that may have been violated by 
the person sending this message.  
Denel (Pty) Ltd is neither liable for the proper and complete transmission of 
the information contained in this communication nor any delay in its receipt.  
This message should not be copied or used for any purpose other than intended, 
nor should it be disclosed to any other person.
*******************************************************************************************************


-------------------------------------------------------------------------
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