[Bdi4emc-help] Re: [Emc-users] building emc2 on bdi
Jeff Epler
jepler at unpythonic.net
Fri Mar 10 15:58:19 CET 2006
On Fri, Mar 10, 2006 at 08:58:57AM -0500, David Szakovits wrote:
> Makefile:74: depends/emc/canterp/canterp.d: No such file or directory
These messages are not errors, just warnings. (many more snipped)
> /bin/sh: line 1: cd: /lib/modules/2.6.12.6-rtai/build: No such file or
> directory
This is probably the real error (or indication of it). On my bdi
system, 'uname -r' prints '2.6.12.6-magma', and the directory
/lib/modules/2.6.12.6-magma/ is the one used by emc2.
Have you followed the instructions at
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?BDI-4_Compile_EMC2
which cover preparing the BDI system to build emc2? This is the relevant part:
Now to install and configure the kernel source and headers required by the
build system...
N.B. BDI-4.29 and BDI-4.30 installs should replace "2.6.10-adeos" with
"2.6.12.6-magma" in the below commands.
sudo apt-get install kernel-headers-2.6.10-adeos
sudo apt-get install kernel-source-2.6.10-adeos
sudo apt-get install rtai-dev
cd /usr/src
sudo tar -xjvf kernel-source-2.6.10-adeos.tar.bz2
cd kernel-source-2.6.10-adeos
sudo cp /boot/config-2.6.10-adeos .config
sudo make oldconfig
sudo make prepare-all
Then, re-run emc2's configure script so that the newly-available files are
detected. You probably want to use './configure --enable-run-in-place'.
If it stilld oesn't work (and if it's still trying to use
'2.6.12.6-rtai') then you should include the messages printed by
configure as it runs.
Jeff
More information about the Bdi4emc-help
mailing list