[
https://issues.apache.org/jira/browse/MINIFICPP-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064449#comment-17064449
]
Arpad Boda edited comment on MINIFICPP-1184 at 3/22/20, 11:29 PM:
------------------------------------------------------------------
[~Danreyn22]
Thanks for reporting!
Could you provide a bit more details (compiler version)?
Could you try adding {code}set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS}
-latomic"){code} to the CMakeList.txt file in the root directory, around line
33? I have no RPI available to test, but I guess that should resolve.
Regards,
Arpad
was (Author: aboda):
[~Danreyn22]
Thanks for reporting!
Could you provide a bit more details (compiler version)?
Could you try adding {code}set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS}
-latomic"){code} to the CMakeList.txt file in the route directory, around line
33? I have no RPI available to test, but I guess that should resolve.
Regards,
Arpad
> 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)