First issue: Tried installing the MK package on RPi4 but get dependency 
error as follows

pi@rpi4-2gb:~ $ sudo apt-get install machinekit-rt-preempt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 machinekit-rt-preempt : Depends: machinekit (= 
0.1.1570528621.git9239acb-1~buster) but it is not going to be installed
                         Depends: yapps2-runtime but it is not installable
E: Unable to correct problems, you have held broken packages.



Second issue: building MK on RPi4 native and get link error
/usr/bin/ld: objects/hal/utils/halcmd_commands.o: undefined reference to 
symbol '__atomic_load_8@@LIBATOMIC_1.0'
/usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding 
symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [hal/utils/Submakefile:32: ../bin/halcmd] Error 1
make: Leaving directory '/home/pi/machinekit/src'

The library is present and running strings on it shows the symbol is 
available

pi@rpi4-2gb:/usr/lib/arm-linux-gnueabihf $ ls -l libatom*
lrwxrwxrwx 1 root root    18 Apr 15  2019 libatomic.so.1 -> 
libatomic.so.1.2.0
-rw-r--r-- 1 root root 30104 Apr 15  2019 libatomic.so.1.2.0
pi@rpi4-2gb:/usr/lib/arm-linux-gnueabihf $ strings libatomic.so.1.2.0
fU.+
fU2+
__gmon_start__
_ITM_deregisterTMCloneTable
_ITM_registerTMCloneTable
__cxa_finalize
__atomic_load_8
memcpy
__atomic_load_1
__atomic_load_2
__atomic_load_4
__atomic_load
...

Has anyone successfully built MK for the RPi4?  If so would you share your 
method?

Thank you,   Joe

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/d34b9c06-1b26-4f8c-bf1b-974322ed58cc%40googlegroups.com.

Reply via email to