Skip to content

compiling openmittsu on ARM64 (pinephone) #71

Description

@derbaertigeFrytz

Hello
When I try to compile openmittsu on a pinephone with mobian, it reaches 65% and then stops with the following error.
Can you please help me solving this?
Regards Friedhelm

[ 65%] Linking CXX executable openMittsuTests
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::detail::count_digits(unsigned long)': openmittsu-tests.cpp:(.text._ZN3fmt2v76detail12count_digitsEm[_ZN3fmt2v76detail12count_digitsEm]+0x38): undefined reference to fmt::v7::detail::basic_data::zero_or_powers_of_10_64_new'
/usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail12count_digitsEm[_ZN3fmt2v76detail12count_digitsEm]+0x3c): undefined reference to fmt::v7::detail::basic_data<void>::zero_or_powers_of_10_64_new' /usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::detail::count_digits(unsigned int)':
openmittsu-tests.cpp:(.text._ZN3fmt2v76detail12count_digitsEj[_ZN3fmt2v76detail12count_digitsEj]+0x38): undefined reference to fmt::v7::detail::basic_data<void>::zero_or_powers_of_10_32_new' /usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail12count_digitsEj[_ZN3fmt2v76detail12count_digitsEj]+0x3c): undefined reference to fmt::v7::detail::basic_data::zero_or_powers_of_10_32_new'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function spdlog::spdlog_ex::spdlog_ex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)': openmittsu-tests.cpp:(.text._ZN6spdlog9spdlog_exC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi[_ZN6spdlog9spdlog_exC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi]+0x74): undefined reference to fmt::v7::format_system_error(fmt::v7::detail::buffer&, int, fmt::v7::basic_string_view)'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function std::make_unsigned<long>::type fmt::v7::detail::to_unsigned<long>(long)': openmittsu-tests.cpp:(.text._ZN3fmt2v76detail11to_unsignedIlEENSt13make_unsignedIT_E4typeES4_[_ZN3fmt2v76detail11to_unsignedIlEENSt13make_unsignedIT_E4typeES4_]+0x2c): undefined reference to fmt::v7::detail::assert_fail(char const*, int, char const*)'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >::operator=(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&&)': openmittsu-tests.cpp:(.text._ZN3fmt2v719basic_memory_bufferIcLm250ESaIcEEaSEOS3_[_ZN3fmt2v719basic_memory_bufferIcLm250ESaIcEEaSEOS3_]+0x34): undefined reference to fmt::v7::detail::assert_fail(char const*, int, char const*)'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<char [6], int&, 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, char const (&) [6], int&)': openmittsu-tests.cpp:(.text._ZN3fmt2v79format_toIA6_cJRiELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EES7_E8iteratorERNS0_19basic_memory_bufferIS7_XT1_ESaIS7_EEERKT_DpOT0_[_ZN3fmt2v79format_toIA6_cJRiELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EES7_E8iteratorERNS0_19basic_memory_bufferIS7_XT1_ESaIS7_EEERKT_DpOT0_]+0x8c): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::detail::format_decimal_result<char*> fmt::v7::detail::format_decimal<char, unsigned int>(char*, unsigned int, int)': openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x44): undefined reference to fmt::v7::detail::assert_fail(char const*, int, char const*)'
/usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i]+0xa4): undefined reference to fmt::v7::detail::basic_data<void>::digits' /usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i]+0xa8): undefined reference to fmt::v7::detail::basic_data::digits'
/usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x140): undefined reference to fmt::v7::detail::basic_data<void>::digits' /usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcjEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x144): undefined reference to fmt::v7::detail::basic_data::digits'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::detail::format_decimal_result<char*> fmt::v7::detail::format_decimal<char, unsigned long>(char*, unsigned long, int)': openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x44): undefined reference to fmt::v7::detail::assert_fail(char const*, int, char const*)'
/usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i]+0xb8): undefined reference to fmt::v7::detail::basic_data<void>::digits' /usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i]+0xbc): undefined reference to fmt::v7::detail::basic_data::digits'
/usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x15c): undefined reference to fmt::v7::detail::basic_data<void>::digits' /usr/bin/ld: openmittsu-tests.cpp:(.text._ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i[_ZN3fmt2v76detail14format_decimalIcmEENS1_21format_decimal_resultIPT_EES5_T0_i]+0x160): undefined reference to fmt::v7::detail::basic_data::digits'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': openmittsu-tests.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESF_E8iteratorERNS0_19basic_memory_bufferISF_XT1_ESaISF_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESF_E8iteratorERNS0_19basic_memory_bufferISF_XT1_ESaISF_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: CMakeFiles/openMittsuTests.dir/test/src/openmittsu-tests.cpp.o: in function spdlog::sinks::rotating_file_sink<std::mutex>::calc_filename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)': openmittsu-tests.cpp:(.text._ZN6spdlog5sinks18rotating_file_sinkISt5mutexE13calc_filenameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm[_ZN6spdlog5sinks18rotating_file_sinkISt5mutexE13calc_filenameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm]+0x11c): undefined reference to fmt::v7::detail::vformat[abi:cxx11](fmt::v7::basic_string_view, fmt::v7::format_args)'
/usr/bin/ld: libopenMittsuCore.a(BackupReader.cpp.o): in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, int const&, 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, int const&)': BackupReader.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRKiELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EES9_E8iteratorERNS0_19basic_memory_bufferIS9_XT1_ESaIS9_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRKiELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EES9_E8iteratorERNS0_19basic_memory_bufferIS9_XT1_ESaIS9_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: libopenMittsuCore.a(DatabaseWrapper.cpp.o): in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, char const (&) [13], 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, char const (&) [13])': DatabaseWrapper.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA13_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA13_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: libopenMittsuCore.a(DatabaseWrapper.cpp.o): in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, char const (&) [15], 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, char const (&) [15])': DatabaseWrapper.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA15_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA15_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: libopenMittsuCore.a(DatabaseWrapper.cpp.o): in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, char const (&) [17], 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, char const (&) [17])': DatabaseWrapper.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA17_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA17_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: libopenMittsuCore.a(DatabaseWrapper.cpp.o): in function fmt::v7::buffer_context<fmt::v7::detail::buffer_appender<char>, char>::iterator fmt::v7::format_to<fmt::v7::basic_string_view<char>, char const (&) [11], 250ul, char>(fmt::v7::basic_memory_buffer<char, 250ul, std::allocator<char> >&, fmt::v7::basic_string_view<char> const&, char const (&) [11])': DatabaseWrapper.cpp:(.text._ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA11_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_[_ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA11_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0_]+0x90): undefined reference to void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)'
/usr/bin/ld: libopenMittsuCore.a(DatabaseWrapper.cpp.o):DatabaseWrapper.cpp:(.text.ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA9_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0[ZN3fmt2v79format_toINS0_17basic_string_viewIcEEJRA9_KcELm250EcEENS0_14buffer_contextINS0_6detail15buffer_appenderIT2_EESA_E8iteratorERNS0_19basic_memory_bufferISA_XT1_ESaISA_EEERKT_DpOT0]+0x90): more undefined references to `void fmt::v7::detail::vformat_to(fmt::v7::detail::buffer&, fmt::v7::basic_string_view, fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<fmt::v7::type_identity::type>, fmt::v7::type_identity::type> >, fmt::v7::detail::locale_ref)' follow
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/openMittsuTests.dir/build.make:351: openMittsuTests] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:173: CMakeFiles/openMittsuTests.dir/all] Fehler 2
make: *** [Makefile:171: all] Fehler 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions