使用cmake编译lvgl时报错

make
Scanning dependencies of target lvgl
Consolidate compiler generated dependencies of target lvgl
[ 0%] Building ASM object lvgl/CMakeFiles/lvgl.dir/src/draw/sw/blend/helium/lv_blend_helium.S.o
arm-openwrt-linux-muslgnueabi-gcc.bin: warning: environment variable ‘STAGING_DIR’ not defined
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h: Assembler messages:
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:93: Error: bad instruction typedef unsigned int uintptr_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:108: Error: bad instruction typedef int intptr_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:124: Error: bad instruction typedef signed char int8_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:129: Error: bad instruction typedef short int16_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:134: Error: bad instruction typedef int int32_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:139: Error: bad instruction typedef long long int64_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:144: Error: bad instruction typedef long long intmax_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:149: Error: bad instruction typedef unsigned char uint8_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:154: Error: bad instruction typedef unsigned short uint16_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:159: Error: bad instruction typedef unsigned int uint32_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:164: Error: bad instruction typedef unsigned long long uint64_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/alltypes.h:174: Error: bad instruction typedef unsigned long long uintmax_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:22: Error: bad instruction typedef int8_t int_fast8_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:23: Error: bad instruction typedef int64_t int_fast64_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:25: Error: bad instruction typedef int8_t int_least8_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:26: Error: bad instruction typedef int16_t int_least16_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:27: Error: bad instruction typedef int32_t int_least32_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:28: Error: bad instruction typedef int64_t int_least64_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:30: Error: bad instruction typedef uint8_t uint_fast8_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:31: Error: bad instruction typedef uint64_t uint_fast64_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:33: Error: bad instruction typedef uint8_t uint_least8_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:34: Error: bad instruction typedef uint16_t uint_least16_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:35: Error: bad instruction typedef uint32_t uint_least32_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/stdint.h:36: Error: bad instruction typedef uint64_t uint_least64_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/stdint.h:1: Error: bad instruction typedef int32_t int_fast16_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/stdint.h:2: Error: bad instruction typedef int32_t int_fast32_t’
/home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/stdint.h:3: Error: bad instruction typedef uint32_t uint_fast16_t' /home/book/tina-d1-h/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/bits/stdint.h:4: Error: bad instruction typedef uint32_t uint_fast32_t’
/home/book/t113_code/05_lvgl_study/src/lv_conf.h:71: Error: bad instruction `uint32_t custom_tick_get(void)’
lvgl/CMakeFiles/lvgl.dir/build.make:886: recipe for target ‘lvgl/CMakeFiles/lvgl.dir/src/draw/sw/blend/helium/lv_blend_helium.S.o’ failed
make[2]: *** [lvgl/CMakeFiles/lvgl.dir/src/draw/sw/blend/helium/lv_blend_helium.S.o] Error 1
CMakeFiles/Makefile2:139: recipe for target ‘lvgl/CMakeFiles/lvgl.dir/all’ failed
make[1]: *** [lvgl/CMakeFiles/lvgl.dir/all] Error 2
Makefile:135: recipe for target ‘all’ failed
make: *** [all] Error 2

使用的是T113-S3

参考连接:T113-PRO LVGL环境配置 | 百问网


这个是不是放不下了。可以修改哪里解决吗