In file included from vnn_yolotiny.c:16:0:
./include/vnn_yolotiny.h:20:0: warning: “VNN_VERSION_PATCH” redefined #define VNN_VERSION_PATCH 21
^
In file included from vnn_yolotiny.c:15:0:
./include/vnn_global.h:33:0: note: this is the location of the previous definition #define VNN_VERSION_PATCH 10
^
In file included from vnn_yolotiny.c:16:0:
./include/vnn_yolotiny.h:37:11: error: unknown type name ‘vsi_nn_preprocess_map_element_t’
const vsi_nn_preprocess_map_element_t * pre_process_map,
^
./include/vnn_yolotiny.h:39:11: error: unknown type name ‘vsi_nn_postprocess_map_element_t’
const vsi_nn_postprocess_map_element_t * post_process_map,
^
vnn_yolotiny.c:130:11: error: unknown type name ‘vsi_nn_preprocess_map_element_t’
const vsi_nn_preprocess_map_element_t * pre_process_map,
^
vnn_yolotiny.c:132:11: error: unknown type name ‘vsi_nn_postprocess_map_element_t’
const vsi_nn_postprocess_map_element_t * post_process_map,
^
vnn_yolotiny.c: In function ‘vnn_CreateYolotiny’:
vnn_yolotiny.c:275:77: error: request for member ‘graph_input_idx’ in something not a structure or union
status = vsi_nn_AddGraphPreProcess(graph, pre_process_map[i].graph_inpu
^
vnn_yolotiny.c:276:70: error: request for member ‘preprocesses’ in something not a structure or union
pre_process_map[i].preprocess
^
vnn_yolotiny.c:277:70: error: request for member ‘preprocess_count’ in something not a structure or union
pre_process_map[i].preprocess
^
vnn_yolotiny.c:286:80: error: request for member ‘graph_output_idx’ in something not a structure or union
status = vsi_nn_AddGraphPostProcess(graph, post_process_map[i].graph_outp
I check above document and i actually success just yolo model but i can’t build only tiny model
./build_vx.sh /home/mjvt/aml_npu_sdk_
6.4.3/linux_sdk/linux_sdk
/home/mjvt/aml_npu_sdk_6.4.3/linux_sdk/linux_sdk/common.target:85: 경고: 타겟 'bin_r/libnn_yolo_tiny.so’에 대한 명령보다 우선합니다
/home/mjvt/aml_npu_sdk_6.4.3/linux_sdk/linux_sdk/common.target:64: 경고: 타겟 ‘bin_r/libnn_yolo_tiny.so’에 대한 과거 명령을 무시합니다
LINK libnn_yolo_tiny.so
/usr/lib/gcc-cross/aarch64-linux-gnu/5/…/…/…/…/aarch64-linux-gnu/bin/ld: bin_r/yolo_tiny_process.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol __stack_chk_guard@@GLIBC_2.17' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: bin_r/yolo_tiny_process.o(.text+0x58): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol __stack_chk_guard@@GLIBC_2.17’
/usr/lib/gcc-cross/aarch64-linux-gnu/5/…/…/…/…/aarch64-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/home/mjvt/aml_npu_sdk_6.4.3/linux_sdk/linux_sdk/common.target:85: ‘bin_r/libnn_yolo_tiny.so’ 타겟에 대한 명령이 실패했습니다
make: *** [bin_r/libnn_yolo_tiny.so] 오류 1