On 12/03/2017 03:40, [email protected] wrote:
It's been a year or two since I last updated.

I did a git pull and got these errors...

Compiling machinetalk/haltalk/haltalk_group.cc
In file included from hal/lib/hal_accessor.h:6:0,
                 from hal/lib/hal_priv.h:677,
                 from machinetalk/haltalk/haltalk.hh:44,
                 from machinetalk/haltalk/haltalk_group.cc:19:
rtapi/rtapi_atomics.h: In function ‘hal_u64_t rtapi_load_u64(const hal_u64_t*)’: rtapi/rtapi_atomics.h:153:31: error: ‘RTAPI_MEMORY_MODEL’ was not declared in this scope rtapi/rtapi_atomics.h:153:49: error: ‘__atomic_load’ was not declared in this scope rtapi/rtapi_atomics.h: In function ‘hal_s64_t rtapi_load_s64(const hal_s64_t*)’: rtapi/rtapi_atomics.h:160:31: error: ‘RTAPI_MEMORY_MODEL’ was not declared in this scope
...

I tried updating everything; packages, kernel.

The is on a Beagle Bone Black. Kernel is now - Linux kossel 3.8.13-xenomai-r70 #1 Fri Jan 23 01:35:45 UTC 2015 armv7l GNU/Linux. I followed the build instructions here... http://www.machinekit.io/docs/developing/machinekit-developing/#get-source-and-build
and did a ./configure --with-platform-beaglebone

Any ideas?

I am guessing you are using a Wheezy based image with gcc-4.6

Preferably use a recent Jessie based image, which has gcc-4.9.2
Wheezy is only receiving security updates and next year will be dropped completely by Debian.

At the very least, enable backports and install gcc-4.7.2 (and ensure that it is selected , do gcc --version)

atomic operations are in the C11 standard, which 4.6 does not support in any meaningful way and 4.7.2 only scantily

regards

Thanks,
Frank

--
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] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
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].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to