Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
08 Apr 2017 20:56 #91059 by Elroy
How do i contact you outside of the forum? I have some data for you and some further questions.

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

More
09 Apr 2017 01:33 - 09 Apr 2017 02:25 #91067 by cncnoob1979
Click my username and send me an email.

Feel free to ask questions here on the forum. I'm sure someone else is thinking the same questions as you. So don't hesitate to ask me.
Last edit: 09 Apr 2017 02:25 by cncnoob1979.

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

More
10 Apr 2017 21:11 #91149 by probamo
Hi All,

respecting POST 3 everything passed almost well. I am stuck here:

Preprocessing mesa_7i65.comp
Preprocessing mesa_uart.comp
Preprocessing pcl720.comp
Preprocessing pluto_servo.comp
Preprocessing pluto_step.comp
Preprocessing serport.comp
MAKEFLAGS="w" \
/usr/bin/python modsilent.py /usr/bin/make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules
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
/usr/src/linux-headers-3.4-9-common-rtai/Makefile:1363: recipe for target '_module_/home/dejan/linuxcnc-dev/src' failed
Makefile:130: recipe for target 'sub-make' failed
Makefile:8: recipe for target 'all' failed
make[2]: Leaving directory '/usr/src/linux-headers-3.4-9-rtai-686-pae'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/compiler.h:48:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/posix_types.h:4,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:17,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/capability.h:16,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/sched.h:53,
from /home/dejan/linuxcnc-dev/src/rtapi/rtapi.h:202,
from /home/dejan/linuxcnc-dev/src/hal/hal.h:126,
from /home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.c:18:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/compiler-gcc.h:100:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
make[5]: *** [/home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.o] Error 1
make[4]: *** [_module_/home/dejan/linuxcnc-dev/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
Makefile:450: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/dejan/linuxcnc-dev/src'
debian/rules:36: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed


Is there any hope to over come it? Thank you.

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

More
10 Apr 2017 23:39 #91155 by tommylight
Pozdrav Dejane,
Did you check the " source code " in the repositories meny? There is a note about it on the post.

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

More
10 Apr 2017 23:57 - 11 Apr 2017 12:46 #91156 by cncnoob1979
What was your output of checking dependencies?

Also, do you have the kernel headers installed?
Last edit: 11 Apr 2017 12:46 by cncnoob1979.

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

More
11 Apr 2017 01:26 #91160 by mikeross
First - thanks for the write up, it is well done.

Now for a question - assuming a noob missed the caution and skipped step about selecting a fully preemptive kernel in the kernel config :S , built a "bad" kernel and then proceeded to muck up the kernel build by trying to build on top of the 1st one....

How can I clean up the mess? Are there a few short commands I can type to remove all the files, as I'm not sure what it has put where...

Regards,
Mike

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

More
11 Apr 2017 01:54 #91161 by rodw
Without going back and checking the commands you missed, you probably just need to do a
"make clean"
which will erase all of the files the compiler created. Then run the make process again so it rebuilds everything.
The following user(s) said Thank You: cncnoob1979, mikeross

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

More
11 Apr 2017 02:21 - 11 Apr 2017 02:37 #91162 by cncnoob1979
Mikeross

Just build another one and install it. It will then list two of the same kernel. Then you can uninstall the earlier version in package manager don't forget this time tho to select fully preemptable kernel. ;)

Edit: make sure to run a make clean before trying to rebuild.
Last edit: 11 Apr 2017 02:37 by cncnoob1979.
The following user(s) said Thank You: mikeross

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

More
11 Apr 2017 04:19 #91164 by probamo
''source code'' was checked regularly in accordance with instructions. Kernel made successfully w/o any comments. Linuxcnc was compiled in RTAI kernel within LMint MATE 18.1.

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

More
11 Apr 2017 04:25 #91165 by probamo
No error reported regarding dependencies. You are right, I was trying first to get master 2.8.0 pre, the same (similar) massage appeared. I thought, could be, because of master. I restarted and did "git checkout 2.7". Nothing was reported wrong. Having put "debuild -uc -us" building started and at some point compilation was terminated as previously posted.

Kind regards,

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

Time to create page: 0.162 seconds
Powered by Kunena Forum