- 百度云盘下载全志853 Linux SDK tina-v853-open.tar.gz
- 解压后运行./build.sh,编译报错如下
/mnt/data1/TINA853/tina-v853-open$ ./build.sh
========ACTION List: build_linuxdev;========
options :
INFO: ----------------------------------------
INFO: build linuxdev …
INFO: chip: sun8iw21p1
INFO: platform: linux
INFO: kernel: linux-4.9
INFO: board: 100ask
INFO: output: /mnt/data1/TINA853/tina-v853-open/out/v853/100ask/openwrt
INFO: ----------------------------------------
cp: cannot create regular file ‘/mnt/data1/TINA853/tina-v853-open/out/v853/100ask/openwrt’: No such file or directory
INFO: don’t build dtbo …
INFO: build arisc
INFO: build_bootloader: brandy_path= /mnt/data1/TINA853/tina-v853-open/brandy/brandy-2.0
INFO: skip build brandy.
INFO: build kernel …
INFO: Prepare toolchain …
Building kernel
/mnt/data1/TINA853/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
HOSTLD scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc’; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:110: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:648: scripts/dtc] Error 2
make: *** [Makefile:579: scripts] Error 2
ERROR: build Failed
INFO: build kernel failed
1 个赞