python – BSEC on Raspberry Pi 400

I tried using the BSEC2.2.0.0 library on a Raspberry Pi 400 with the pi3g piece of software. The first time i run the steup.py with the ARMv6 version and it compiles just fine. The problem is the segmentation fault happens when it ends. Then I tried the ARMv8 but the compiler returns with

/usr/bin/ld: BSEC_2.2.0.0_Generic_Release_30052022/algo/normal_version/bin/RaspberryPi/PiThree_ArmV8/libalgobsec.a(GasHumidityBaselineTracker.o)(.text+0x20e4): unresolvable R_ARM_CALL relocation against symbol `truncf@@GLIBC_2.4′
/usr/bin/ld: final link failed: symbol needs debug section which does not exist
collect2: error: ld returned 1 exit status
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1

Could it be that is because the ARMv8 is the wrong version and isn’t able to run the command? How can i check which version of the ARM architecture is my RPi 400 on? Because on the Raspberry Pi website it says it is on the ARMv8

Read more here: Source link