Hi Alec,

* Alec Leamas <leamas.a...@gmail.com> [2024-08-16 17:46]:
/usr/include/c++/14/bits/atomic_futex.h:278:(.text+0x16dc): undefined reference 
to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)'
/usr/bin/ld: /usr/include/c++/14/bits/atomic_futex.h:278:(.text+0x29d8): 
undefined reference to 
`std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)
AFAIK the armel architecture has no lock-free atomic primitives, so you probably need to link against the atomic library because opencpn uses std::atomic somewhere in its codebase.

Try adding

        export DEB_CXXFLAGS_MAINT_APPEND += -latomic

to your debian/rules.


Cheers
Timo



--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to