milkv-duo / duo-buildroot-sdk

Milk-V Duo Official buildroot SDK
411 stars 174 forks source link

默认无法编译通过 #119

Closed coloz closed 4 months ago

coloz commented 4 months ago

啥也没修改,编译不过

[LINK][riscv64-unknown-linux-musl-ld] libsample.so
make[1]: Leaving directory '/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/common'
make[1]: Entering directory '/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803'
[riscv64-unknown-linux-musl-gcc] sample_vio_tp2863_tp2803.o
[riscv64-unknown-linux-musl-gcc] tp2863_tp2803_main.o
Invalid byte sequence in conversion input
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/tp2863_tp2803_main.o: in function `main':
/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/tp2863_tp2803_main.c:416: undefined reference to `CVI_MIPI_SetSnsMclk'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.o: in function `SAMPLE_VIO':
/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:55: undefined reference to `SAMPLE_COMM_VI_GetSensorInfo'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:78: undefined reference to `SAMPLE_COMM_VI_GetSizeBySensor'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:254: undefined reference to `SAMPLE_COMM_SYS_GetPicSize'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:100: undefined reference to `SAMPLE_COMM_SYS_Init'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:104: undefined reference to `SAMPLE_COMM_VI_StartSensor'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:113: undefined reference to `SAMPLE_COMM_VI_StartDev'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:118: undefined reference to `SAMPLE_COMM_VI_StartMIPI'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:128: undefined reference to `CVI_VI_CreatePipe'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:138: undefined reference to `CVI_VI_StartPipe'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:138: undefined reference to `CVI_VI_GetPipeAttr'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:149: undefined reference to `SAMPLE_COMM_VI_CreateIsp'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:156: undefined reference to `SAMPLE_COMM_VI_StartViChn'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:178: undefined reference to `SAMPLE_COMM_VPSS_Init'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:190: undefined reference to `SAMPLE_COMM_VPSS_Start'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:195: undefined reference to `SAMPLE_COMM_VI_Bind_VPSS'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:201: undefined reference to `SAMPLE_COMM_VO_GetDefConfig'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:215: undefined reference to `SAMPLE_COMM_VO_StartVO'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:227: undefined reference to `SAMPLE_COMM_VPSS_Bind_VO'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.o: in function `SAMPLE_VIO_HandleSig':
/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:263: undefined reference to `SAMPLE_COMM_VPSS_UnBind_VO'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:263: undefined reference to `SAMPLE_COMM_VO_StopVO'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:267: undefined reference to `SAMPLE_COMM_VI_UnBind_VPSS'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:269: undefined reference to `SAMPLE_COMM_VPSS_Stop'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:271: undefined reference to `SAMPLE_COMM_VI_DestroyIsp'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:273: undefined reference to `SAMPLE_COMM_VI_DestroyVi'
/home/clz/桌面/milk/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803/sample_vio_tp2863_tp2803.c:273: undefined reference to `SAMPLE_COMM_SYS_Exit'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:58: sample_test_tp2863_tp2803] Error 1
make[1]: Leaving directory '/home/clz/桌面/milk/duo-buildroot-sdk/middleware/v2/sample/tp2863_tp2803'
make: *** [Makefile:9: all] Error 1
Error: Build board milkv-duo failed!
aloncpp commented 4 months ago

中文路径没办法识别吧