Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
20 May 2021 03:09 - 20 May 2021 03:22 #209605
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
I want to upgrade the gcc version? Which version of gcc does it need?
Last edit: 20 May 2021 03:22 by Arthur_L.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
20 May 2021 03:36 #209606
by BeagleBrainz
Replied by BeagleBrainz on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
I was asking a question as to whether it could be a gcc issue.
As for upgrading gcc, that is way way out of the scope of these forums.
As for upgrading gcc, that is way way out of the scope of these forums.
Please Log in or Create an account to join the conversation.
20 May 2021 03:42 #209608
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
I reinstalled gcc7 and set it as the default compiler, but it still didn’t work. It doesn’t seem to be a problem with gcc
I don't know why you compile and generate the deb package will succeed
I don't know why you compile and generate the deb package will succeed
Please Log in or Create an account to join the conversation.
24 May 2021 03:59 #209990
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
Did you compile the deb package in that Linux distribution? As you said, I installed your deb package under ubuntu16.04, and there really is a problem. Among them, there is no problem with the deb package of linux kernel and RTAI, but the deb package of linuxcnc has some lack of dependent packages, which seems to be not very easy to solve.
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
24 May 2021 04:51 #210005
by BeagleBrainz
Replied by BeagleBrainz on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
If you are trying to install deb packages on Ubuntu 16.04 that have been built for a later version you will have issues. There will be more than likely be package version that are unavailable or unavailable.
Whilst you may be able to install them from source it may cause issues else where.
As much as you don’t want hear it, the best option is to use the official distro for Linuxcnc or at least follow the team’s instructions for getting up and going.
And honestly unless there is unmovable reason to stick with 16.04 I move on to Bionic or 18.xx.
Once the gtk3 issues has been sorted 20.xx will be the way to go.
Whilst you may be able to install them from source it may cause issues else where.
As much as you don’t want hear it, the best option is to use the official distro for Linuxcnc or at least follow the team’s instructions for getting up and going.
And honestly unless there is unmovable reason to stick with 16.04 I move on to Bionic or 18.xx.
Once the gtk3 issues has been sorted 20.xx will be the way to go.
Please Log in or Create an account to join the conversation.
24 May 2021 05:14 #210010
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
I will download Bionic right away, and then install and try those deb packages. Thank you
Please Log in or Create an account to join the conversation.
25 May 2021 05:48 #210188
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
When running runtests, the following errors appear. Do these errors affect the running of linuxcnc?
Please Log in or Create an account to join the conversation.
25 May 2021 05:50 #210189
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
Hi,Andy. When running runtests, the following errors appear. Do these errors affect the running of linuxcnc?
Please Log in or Create an account to join the conversation.
25 May 2021 21:25 #210260
by andypugh
Replied by andypugh on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
/home/bodor/Downloads/linuxcnc/tests/realtime-math
Looks worrying.
Which maths library did you build in to RTAI? I have tried both musl (as recommended by Paulo) and the {other one} recommended by Alec.
Looks worrying.
Which maths library did you build in to RTAI? I have tried both musl (as recommended by Paulo) and the {other one} recommended by Alec.
Please Log in or Create an account to join the conversation.
26 May 2021 00:33 #210291
by Arthur_L
Replied by Arthur_L on topic Compile Linux Kernel ,RTAI and LinuxCNC from Source Code
what is the meaning of "Which maths library did you build in to RTAI?"
This is the option that needs to be set when compiling RTAI? After I make menuconfig, there is no function library set in it. Which option is it? Can you describe it in more detail? Thanks
This is the option that needs to be set when compiling RTAI? After I make menuconfig, there is no function library set in it. Which option is it? Can you describe it in more detail? Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.122 seconds