Compile LinuxCNC 2.6 and PREEMPT RT Kernel 3.14.3

More
26 May 2014 04:24 #47323 by gandalf
Hi,
I am trying to compile LinuxCNC 2.6 from git using RTLINUX kernel that seems to be supported.

I patrched and built the Kernel on Ubuntu 14.04

Linux gandalf 3.14.3-rt4 #1 SMP PREEMPT RT Sun May 25 22:12:25 CEST 2014 i686 i686 i686 GNU/Linux

Kernel was compiled using
CONFIG_PREEMPT_RT_FULL=y

Now I am trying to build LinuxCNC 2.6 from source but the configure script stopping when check the RT environment

checking for RT dir... configure: error: RT not found. Specify:
--with-realtime=<path>
or use
--enable-simulator
to build without a realtime system.

RTLinux does not have a installation directory.
What path I have to put on --with-realtime=<path> ?

Thanks

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

More
26 May 2014 04:44 #47325 by gandalf
looking into configure script it wants the rtl-config command.
I did not find thist script in ubuntu apt repository or rt.wiki.kernel.org/

Any idea ?

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

More
26 May 2014 13:29 #47331 by ArcEye
Hi

You cannot build 2.6 with rt-preempt, the ubc-3 code was left out of the release.

Either clone the 2.7 repo and checkout the unified-build-candidate-3 branch or just clone
MachineKit
github.com/machinekit/machinekit.git

As far as building your own kernel goes, no need. I am running Wheezy with both x86 and amd64 stock rt-preempt kernels and they work fine with MachineKit

regards
The following user(s) said Thank You: tom_g

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

Time to create page: 0.073 seconds
Powered by Kunena Forum