- LinuxCNC
- Installing LinuxCNC
- Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
You need to go into options in the terminal. Then select unlimited buffer. Attach the entire session as a text file so I can see the entire build process and your commands.
Run a make clean in the source code directory prior to attempting another build. Anytime you have a failed build wether a program or kernel; you must run a make clean to remove the previous configuration.
Please attach as a text file. Don't just paste here in the forum because it will be quite long. Go through the entire process again.
Check build dependencies prior then;
Run these in the source directory.
make clean
git pull
git checkout 2.7
make[2]: Entering directory '/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.o
/usr/src/linux-headers-3.4-9-common-rtai/scripts/Makefile.build:307: recipe for target '/home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.o' failed
EDIT: Did you install the 3.4.9 kernel headers?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
Do this please: Only run these commands one time - do not repeat them.
1)Delete linuxcnc-dev folder and everything inside of it
2)Reboot the machine
3)Open a new terminal and issue these commands from your home folder:
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
4)
sudo apt-get update
cd linuxcnc-dev
cd debian
./configure -r
cd ..
dpkg-checkbuilddeps
5)Do nothing else and post the txt file like you did before.
6) Post the image file of your sources listed in synaptic package manager. You have multiple entries listed in there; should only have one "deb linuxcnc.org/ precise base 2.7-rtai"
Please Log in or Create an account to join the conversation.
here are the files according to last recommendation. I deleted linuxcnc-dev, rebooted system, use recommended commands in Terminal.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
Please open a new terminal and post the output as before. Do not do anything else. We have to trouble shoot what's going on here
Now remove the additional repository you have there. *delete it* (Kernel listing)
Execute these one at a time please.
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
sudo add-apt-repository "deb http://linuxcnc.org/ precise base 2.7-rtai"
sudo apt-get update
sudo apt-get install linux-headers-3.4-9-rtai-686-pae
sudo apt-get install rtai-modules-3.4-9-rtai-686-pae
sudo apt-get dist-upgrade
Then inside the linuxcnc-dev/src directory execute:
git checkout 2.7
debuild -uc -us
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
I do not believe it will be successful on a VM. But if you want to try it again Install a clean version of 18.1 x32. Then try the process again.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb