Re: Kernel woes...! and current kernels
Hi Chris
The most important tip I can give when compiling with rtai - DON'T use
gcc-2.96 or gcc-3.0. Install kgcc (RH7.0) or compat-egcs (RH7.2), rename gcc
and gcc++ and make symlinks pointing to egcs and egcs++. The other
alternative is to edit all the Makefiles so that egcs is used instead. I find
it easier to create the symlinks....
When compiling the kernel, do not enable Module Versions and disable any
power management support. I also found rtai_rtai_lxrt and rtai_tasklets would
not compile.
I have also deleted the /usr/include/asm and /usr/include/linux directories
and made symlinks to the coresponding directories in /usr/src/linux.
Once the kernel and rtai have been compiled, you can move straight on to
rcslib and EMC. No changes are needed to the CVS sources. The install script
that I use may be of use though - Email me off list and I'll send a copy over
if you need one.
If you have problems with rtlinux-3.1, I suspect a fix will not be posted for
sometime. I believe an issue with 3.0 took several months to work it's way in
to the official tarball..
Oh - One more thing with EMC and rtai. At the moment, only freqmod and the
stg based modules get built. Steppermod still needs some work on it before it
will run.
Regards, Paul.
On Friday 04 January 2002 12:36 am, Chris Brick wrote:
> Nice work. I am working on getting the same thing going. Is there
> anything that has to be done with EMC when running on the rtai patch? I
> downloaded the sources last night and plan to hack at it this evening.
> I've had the same experience with rtl 3.1. Hopefully a new point release
> will come soon.
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact