build-android-libs/compile_libs/curl/lib/idn.c:37:10: fatal error: 'idn2.h' file not found
build-android-libs/compile_libs/curl/lib/idn.c:37:10: fatal error: 'idn2.h' file not found
mold: error: undefined symbol: __res_init
>>> referenced by std.2af8c09dce0047da-cgu.07
>>> x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(std-91d92f3a80092f54.std.2af8c09dce0047da-cgu.07.rcgu.o):(std::sys::pal::unix::net::on_resolver_failure::hf1914f0e712e9fa0)
mh interesting:
1. interesting that it uses mold to compile
2. not so interesting that i get a compile time error that i dont understand xDmold: error: undefined symbol: __res_init
>>> referenced by std.2af8c09dce0047da-cgu.07
>>> x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(std-91d92f3a80092f54.std.2af8c09dce0047da-cgu.07.rcgu.o):(std::sys::pal::unix::net::on_resolver_failure::hf1914f0e712e9fa0)
mh interesting:
1. interesting that it uses mold to compile
2. not so interesting that i get a compile time error that i dont understand xD autogen.sh
or other scripts to generate additional source/header filesautogen.sh
or other scripts to generate additional source/header files ld.lld: error: x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(ddnet_engine_shared-a432234d37677268.05k6yrd7x6qeo8lukhce6gc2o.rcgu.o) is incompatible with elf_i386
git checkout curl-8_8_0
for curlmold: fatal: ddnet_engine_shared-a432234d37677268.05k6yrd7x6qeo8lukhce6gc2o.rcgu.o: incompatible file type: arm64 is expected but got x86_64
mold is a bit clearerlist(APPEND PLATFORM_LIBS dl) # for Rust
this line seems to apply to linux+rust but not to Android due to the elseif
TW_ANDROID_LIBS
which is defined somewhere else thoughmold: error: duplicate symbol: /home/jupeyy/Android/Sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/lib/linux/libclang_rt.builtins-arm-android.a(fixunssfdi.c.o): armv7-linux-androideabi/release/libddnet_engine_shared.a(compiler_builtins-33541d770eea3a97.compiler_builtins.de41643f9cd834e3-cgu.033.rcgu.o): __fixunssfdi
arm still fails btwTW_ANDROID_LIBS
which is defined somewhere else though list(APPEND PLATFORM_LIBS rt) # clock_gettime for glibc < 2.17
since your error message seems to contain rt
+fire
CFGFLAG_GAME
settings are only loaded from maps on the client sidewatch -n 1 sensors
#!/bin/bash
voltage=$(cat /sys/class/power_supply/BAT1/voltage_now)
current=$(cat /sys/class/power_supply/BAT1/current_now)
power=$(("$voltage" * "$current"))
power=$(("$power" / 1000000000000))
echo "$power"