#example-standalone-inferencing$ sh build.sh
@cs007a Could you in edge-impulse-sdk/CMSIS/DSP/Include/arm_math.h
comment this out and try again?
/* evaluate ARM DSP feature */
#if (defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1))
#define ARM_MATH_DSP 1
#endif
Also which target is this? Would love to dive deeper into this…
cpu-target is Arm926ej-s
$ arm-anykav200-linux-uclibcgnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/adisk/anyka/opt/arm-anykav200-crosstool/usr/bin/arm-anykav200-linux-uclibcgnueabi-gcc.br_real
COLLECT_LTO_WRAPPER=/adisk/anyka/opt/arm-anykav200-crosstool/usr/bin/…/libexec/gcc/arm-anykav200-linux-uclibcgnueabi/4.8.5/lto-wrapper
Target: arm-anykav200-linux-uclibcgnueabi
Configured with: ./configure --prefix=/opt/arm-anykav200-crosstool/usr --sysconfdir=/opt/arm-anykav200-crosstool/etc --enable-static --target=arm-anykav200-linux-uclibcgnueabi --with-sysroot=/opt/arm-anykav200-crosstool/usr/arm-anykav200-linux-uclibcgnueabi/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --with-gmp=/opt/arm-anykav200-crosstool/usr --with-mpfr=/opt/arm-anykav200-crosstool/usr --with-pkgversion=‘anyka (gcc-4.8.5 + binutils-2.24 + ulcibc-0.9.33.2)(20170223)’ --with-bugurl=http://bugs.anyka.net/ --disable-libsanitizer --enable-tls --disable-libmudflap --enable-threads --with-mpc=/opt/arm-anykav200-crosstool/usr --without-isl --without-cloog --with-float=soft --disable-decimal-float --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/opt/arm-anykav200-crosstool/usr/arm-anykav200-linux-uclibcgnueabi/bin --enable-shared --disable-libgomp
Thread model: posix
gcc version 4.8.5 (anyka (gcc-4.8.5 + binutils-2.24 + ulcibc-0.9.33.2)(20170223))
I had comment #define ARM_MATH_DSP ,
After commenting this line of code, you can continue to execute, but a new error message is encountered
then I disable comment Related code 【#ifdef ARM_MATH_DSP … #endif 】 in “edge-impulse-sdk/CMSIS/DSP/Source/BasicMathFunctions/arm_xxx_xx.c”
it works,Thanks!
2 Likes