[
https://issues.apache.org/jira/browse/MINIFICPP-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064499#comment-17064499
]
dan rey commented on MINIFICPP-1184:
------------------------------------
I finally got it to compile by manually adding -latomic to all the list.text
files that were generating an error.
> Cannot compile on Raspberry Pi (Raspbian bullseye)
> --------------------------------------------------
>
> Key: MINIFICPP-1184
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1184
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Affects Versions: 0.7.0
> Environment: Raspberry Pi 4
> Reporter: dan rey
> Priority: Blocker
>
> I am unable to compile this on a Raspberry Pi running Raspbian GNU/Linux
> bullseye.
> I continually get an error about linking.
> [ 59%] Linking CXX executable minifi
> /usr/bin/ld: ../libminifi/libcore-minifi.a(Connection.cpp.o): in function
> `std::__atomic_base<unsigned long long>::load(std::memory_order) const':
> /usr/include/c++/9/bits/atomic_base.h:419: undefined reference to
> `__atomic_load_8'
> /usr/bin/ld: /usr/include/c++/9/bits/atomic_base.h:419: undefined reference
> to `__atomic_load_8'
--
This message was sent by Atlassian Jira
(v8.3.4#803005)