Closed jaredmauch closed 4 years ago
building with head 0f7cb5143d81303aa23fee107046e90b0829242b and I get this result:
0f7cb5143d81303aa23fee107046e90b0829242b
pi@adsb:~/galmon $ make g++ -std=gnu++17 navparse.o ext/fmt-6.1.2/src/format.o ext/powerblog/h2o-pp.o ext/powerblog/ext/simplesocket/swrappers.o ext/powerblog/ext/simplesocket/sclasses.o ext/powerblog/ext/simplesocket/comboaddress.o minicurl.o ubx.o bits.o navmon.pb.o gps.o ephemeris.o beidou.o glonass.o ext/sgp4/libsgp4/Observer.o ext/sgp4/libsgp4/Vector.o ext/sgp4/libsgp4/DateTime.o ext/sgp4/libsgp4/Tle.o ext/sgp4/libsgp4/SatelliteException.o ext/sgp4/libsgp4/TimeSpan.o ext/sgp4/libsgp4/DecayedException.o ext/sgp4/libsgp4/TleException.o ext/sgp4/libsgp4/Globals.o ext/sgp4/libsgp4/CoordTopocentric.o ext/sgp4/libsgp4/SolarPosition.o ext/sgp4/libsgp4/Util.o ext/sgp4/libsgp4/SGP4.o ext/sgp4/libsgp4/CoordGeodetic.o ext/sgp4/libsgp4/Eci.o ext/sgp4/libsgp4/OrbitalElements.o tle.o navmon.o coverage.o osen.o trkmeas.o influxpush.o githash.o -o navparse -pthread -L/usr/local/lib -L/usr/local/opt/openssl/lib/ -lh2o-evloop -lssl -lcrypto -lz -lcurl -lprotobuf /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > >::get_arg(fmt::v5::internal::null_terminating_iterator<char>, unsigned int) [clone .isra.296]': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `char* fmt::v5::internal::format_decimal<unsigned long long, char, fmt::v5::internal::no_thousands_sep>(char*, unsigned long long, unsigned int, fmt::v5::internal::no_thousands_sep) [clone .isra.356]': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1056: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > >::parse_header(fmt::v5::internal::null_terminating_iterator<char>&, fmt::v5::basic_format_specs<char>&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1590: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1590: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_double<double>(double, fmt::v5::basic_format_specs<char> const&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2954: undefined reference to `int fmt::v5::internal::char_traits<char>::format_float<double>(char*, unsigned int, char const*, int, double)' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_double<long double>(long double, fmt::v5::basic_format_specs<char> const&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2954: undefined reference to `int fmt::v5::internal::char_traits<char>::format_float<long double>(char*, unsigned int, char const*, int, long double)' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_padded<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<int, fmt::v5::basic_format_specs<char> >::dec_writer> >(unsigned int, fmt::v5::align_spec const&, fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<int, fmt::v5::basic_format_specs<char> >::dec_writer>&&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_padded<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<unsigned int, fmt::v5::basic_format_specs<char> >::dec_writer> >(unsigned int, fmt::v5::align_spec const&, fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<unsigned int, fmt::v5::basic_format_specs<char> >::dec_writer>&&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_padded<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<long long, fmt::v5::basic_format_specs<char> >::dec_writer> >(unsigned int, fmt::v5::align_spec const&, fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<long long, fmt::v5::basic_format_specs<char> >::dec_writer>&&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_padded<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<unsigned long long, fmt::v5::basic_format_specs<char> >::dec_writer> >(unsigned int, fmt::v5::align_spec const&, fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<unsigned long long, fmt::v5::basic_format_specs<char> >::dec_writer>&&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_padded<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<char, fmt::v5::basic_format_specs<char> >::dec_writer> >(unsigned int, fmt::v5::align_spec const&, fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::padded_int_writer<fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::int_writer<char, fmt::v5::basic_format_specs<char> >::dec_writer>&&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o:/home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1038: more undefined references to `fmt::v5::internal::basic_data<void>::DIGITS' follow /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `void fmt::v5::basic_writer<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::write_int<unsigned int, fmt::v5::basic_format_specs<char> >(unsigned int, fmt::v5::basic_format_specs<char> const&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2614: undefined reference to `char fmt::v5::internal::thousands_sep<char>(fmt::v5::locale_provider*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1220: undefined reference to `fmt::v5::internal::basic_data<void>::ZERO_OR_POWERS_OF_10_32' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `std::enable_if<std::is_integral<int>::value, std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> > >::type fmt::v5::internal::arg_formatter_base<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >::operator()<int>(int)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2614: undefined reference to `char fmt::v5::internal::thousands_sep<char>(fmt::v5::locale_provider*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::ZERO_OR_POWERS_OF_10_32' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1058: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `fmt::v5::internal::result_of<fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > (int)>::type fmt::v5::visit<fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >, fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > > >(fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > >&&, fmt::v5::basic_format_arg<fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > > > const&)': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1332: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1320: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1326: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2614: undefined reference to `char fmt::v5::internal::thousands_sep<char>(fmt::v5::locale_provider*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:2614: undefined reference to `char fmt::v5::internal::thousands_sep<char>(fmt::v5::locale_provider*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1548: undefined reference to `fmt::v5::internal::basic_data<void>::ZERO_OR_POWERS_OF_10_32' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1548: undefined reference to `fmt::v5::internal::basic_data<void>::DIGITS' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1548: undefined reference to `fmt::v5::internal::basic_data<void>::ZERO_OR_POWERS_OF_10_64' /usr/bin/ld: ext/powerblog/ext/simplesocket/swrappers.o: in function `fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > >::format()': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/format.h:1590: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: ext/powerblog/ext/simplesocket/sclasses.o: in function `fmt::v5::basic_printf_context<std::back_insert_iterator<fmt::v5::internal::basic_buffer<char> >, char, fmt::v5::printf_arg_formatter<fmt::v5::back_insert_range<fmt::v5::internal::basic_buffer<char> > > >::get_arg(fmt::v5::internal::null_terminating_iterator<char>, unsigned int) [clone .isra.236]': /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' /usr/bin/ld: /home/pi/galmon/ext/fmt-5.2.1/include/fmt/core.h:863: undefined reference to `fmt::v5::internal::error_handler::on_error(char const*)' collect2: error: ld returned 1 exit status make: *** [Makefile:40: navparse] Error 1
(this has been fixed with a clean recompile)
building with head
0f7cb5143d81303aa23fee107046e90b0829242b
and I get this result: