SigmaStar内核编译出错drivers/sstar/Kconfig:35: can‘t open file “drivers/sstar/include//Kconfig“

在执行特定Linux内核模块的配置时,需要确保设置了正确的交叉编译环境。文章指出,在构建drivers/sstar/Kconfig文件之前,务必执行export CROSS_COMPILE=arm-linux-gnueabihf-和export ARCH=arm,这两条命令用于指定ARM架构的交叉编译器。这一步对于成功编译内核模块至关重要。

drivers/sstar/Kconfig:35: can't open file "drivers/sstar/include//Kconfig"

在执行make infinity6b0_ssc009a_s01a_lh_defconfig 前一定要先执行

export CROSS_COMPILE=arm-linux-gnueabihf-

export ARCH=arm

/home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: Success /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: Success /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: Success /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: line 2: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: line 2: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: Success init/Kconfig:39: syntax error init/Kconfig:38: invalid statement /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: line 7: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-gcc: Success /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: line 2: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: cannot execute binary file: Exec format error /home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/toolchain-arm-openwrt-linux-uclibcgnueabihf/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: line 2: /home/luyanxi/Desktop/nvr_2025/sstar931/toolchain/bin/arm-sigmastar-linux-uclibcgnueabihf-ld: Success drivers/sstar/flash/Kconfig:23:warning: no new line at end of file make[8]: *** [mercury6p_nor_mix_defconfig] Error 1 make[7]: *** [mercury6p_nor_mix_defconfig] Error 2 make[7]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/torchlight/build_dir/linux-mstar_msr931/linux-5.10.61' make[6]: *** [__sub-make] Error 2 make[6]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/sstar931/linux-5.10.61' make[5]: *** [mercury6p_nor_mix_defconfig] Error 2 make[5]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/sstar931/linux-5.10.61' make[4]: *** [/home/luyanxi/Desktop/nvr_2025/torchlight/build_dir/linux-mstar_msr931/linux-5.10.61/.configured] Error 2 make[4]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/torchlight/target/linux/mstar' make[3]: *** [compile] Error 2 make[3]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/torchlight/target/linux' make[2]: *** [target/linux/compile] Error 2 make[2]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/torchlight' make[1]: *** [/home/luyanxi/Desktop/nvr_2025/torchlight/staging_dir/target-arm-openwrt-linux-uclibcgnueabihf/stamp/.target_compile] Error 2 make[1]: Leaving directory `/home/luyanxi/Desktop/nvr_2025/torchlight' make: *** [world] Error 2
09-04
duanchangxu1604@ubuntu:~/NVMP/sdk/soc/ssc37x$ git pull --rebase remote: Finding sources: 100% (141/141) remote: Total 141 (delta 47), reused 141 (delta 47) Receiving objects: 100% (141/141), 1.41 MiB | 1.39 MiB/s, done. Resolving deltas: 100% (47/47), completed with 27 local objects. From ssh://gerrit-ce.tp-link.com:29418/IPC/NVMP/MSTAR/ssc37x dda71ad..cab8573 develop_sz0519 -> origin/develop_sz0519 72819e6..7c6e464 nvmp_release_1.8_bis -> origin/nvmp_release_1.8_bis First, rewinding head to replay your work on top of it... Applying: [c212v3] Separate kernel and romfs(4/4) Using index info to reconstruct a base tree... M boot-ssc375/configs/normalboot.mk M boot-ssc375/src/Makefile M boot-ssc375/src/lib_verify/validateFirmwareWithRecover.c M linux-5.10.117/drivers/sstar/slp_flash/Kconfig M linux-5.10.117/drivers/sstar/slp_flash/slp_flash.c .git/rebase-apply/patch:115: trailing whitespace. #ifdef KER_ROM_SEPARATED .git/rebase-apply/patch:117: trailing whitespace. #else .git/rebase-apply/patch:118: trailing whitespace. #define RADIO_LEN 0x0 .git/rebase-apply/patch:119: trailing whitespace. #endif .git/rebase-apply/patch:127: trailing whitespace. #ifdef KER_ROM_SEPARATED warning: squelched 143 whitespace errors warning: 148 lines add whitespace errors. Falling back to patching base and 3-way merge... Auto-merging linux-5.10.117/drivers/sstar/slp_flash/slp_flash.c Auto-merging linux-5.10.117/drivers/sstar/slp_flash/Kconfig CONFLICT (content): Merge conflict in linux-5.10.117/drivers/sstar/slp_flash/Kconfig Auto-merging boot-ssc375/src/lib_verify/validateFirmwareWithRecover.c Auto-merging boot-ssc375/src/Makefile Auto-merging boot-ssc375/configs/normalboot.mk error: Failed to merge in the changes. Patch failed at 0001 [c212v3] Separate kernel and romfs(4/4) The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git rebase --continue". If you prefer to skip this patch, run "git rebase --skip" instead. To check out the original branch and stop rebasing, run "git rebase --abort".
最新发布
11-18
I[10:13:20.116] Ubuntu clangd version 12.0.0-++20210319082646+4990141a4366-1~exp1~20210319193401.61 I[10:13:20.116] PID: 42014 I[10:13:20.116] Working directory: /home/tp/Project/nvr_2025 I[10:13:20.116] argv[0]: /usr/lib/llvm-12/bin/clangd I[10:13:20.116] argv[1]: --compile-commands-dir=/home/tp/Project/nvr_2025 I[10:13:20.116] argv[2]: --background-index I[10:13:20.116] argv[3]: --completion-style=detailed I[10:13:20.116] argv[4]: --header-insertion=never I[10:13:20.116] argv[5]: --log=info I[10:13:20.116] Starting LSP over stdin/stdout I[10:13:20.116] <-- initialize(0) I[10:13:20.118] --> reply:initialize(0) 2 ms I[10:13:20.122] <-- initialized I[10:13:20.127] <-- textDocument/didOpen I[10:13:20.128] --> textDocument/publishDiagnostics I[10:13:20.151] <-- textDocument/codeAction(1) I[10:13:20.204] Loaded compilation database from /home/tp/Project/nvr_2025/compile_commands.json I[10:13:20.205] ASTWorker building file /home/tp/Project/nvr_2025/tp_package/u_packages/nvrbug/src/nvrbug.c version 1 with command inferred from /home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/drv/disp/src/drv_disp_ctx.c [/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot] /usr/bin/arm-linux-gnueabihf-gcc --target=arm-linux-gnueabihf -c -Wp,-MD,drivers/sstar/camdriver/disp/./drv/disp/src/.drv_disp_ctx.o.d -nostdinc -isystem /home/tp/Project/nvr_2025/sstar931/toolchain/bin/../lib/gcc/arm-sigmastar-linux-uclibcgnueabihf/9.1.0/include -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/include -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SSTAR_RAM_SIZE=0x08000000 -DCONFIG_SSTAR_LOAD_ADDR=0x23D00000 -DCONFIG_SSTAR_RUN_ADDR=0x23E00000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-maybe-uninitialized -fmacro-prefix-map=./= -g -Wno-format-nonliteral -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=date-time -Wno-packed-not-aligned -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/drv/disp/inc -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/drv/disp/inc/uboot -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/drv/disp/pub -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/drv/midisp/pub -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/inc -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/pub -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/src/disp_hpq -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/src/disp_hpq/inc -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/src/disp_hpq/inc/pq -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/mercury6p/src/disp_hpq/inc/uboot -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/common -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/cmdq/drv/pub -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/drivers/sstar/camdriver/disp/hal/pub -D__ARM__ -marm -mabi=aapcs-linux -fno-pic -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -pipe -DCONFIG_UIP=1 -march=armv7-a -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a -I/home/tp/Project/nvr_2025/torchlight/build_dir/linux-mstar_msr931/factory_uboot/mboot/arch/arm/mach-sstar/include -DHDMITX_VGA_SUPPORTED -DDISP_UBOOT_SUPPORTED -DKBUILD_BASENAME="drv_disp_ctx" -DKBUILD_MODNAME="drv_disp_ctx" -std=gnu11 /home/tp/Project/nvr_2025/tp_package/u_packages/nvrbug/src/nvrbug.c -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/core/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/storage/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/onvif_discovery/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/pppd/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrtest/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/chm/src/ipcd/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/chm/src/slp/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/chm/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/chm/src/onvif/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrgui/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/ipcd/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/minigui/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/minigui/src/src/newgal/fbcon/hi_mpp/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/minigui/src/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/vigi_log/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/mgi/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/playback_share_info/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/dem/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/cloud_storage/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/media_server/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/media/librtsp/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/media/librtp/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/media/libflv/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/sdk/libice/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/sdk/libaio/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/sdk/libhttp/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsps/sdk/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsp/live/BasicUsageEnvironment/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsp/live/liveMedia/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsp/live/groupsock/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/rtsp/live/UsageEnvironment/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/nvrcore/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/media_server/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/badblocks/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/parted/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/vga_to_hdmi/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/busybox/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/iptables/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/traversal_utils/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/e2fsprogs/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/reg-tools-1.0.0/src/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/procrank/src/libpagemap/include -I/home/tp/Project/nvr_2025/torchlight/package/tp_package/u_packages/bq/src/include -fsyntax-only -resource-dir=/usr/lib/llvm-12/lib/clang/12.0.0 I[10:13:20.207] --> textDocument/clangd.fileStatus I[10:13:20.211] --> window/workDoneProgress/create(0) I[10:13:20.211] Enqueueing 8106 commands for indexing I[10:13:20.225] <-- textDocument/documentLink(2) I[10:13:20.227] <-- reply(0) I[10:13:20.227] --> $/progress I[10:13:20.227] --> $/progress I[10:13:20.246] --> textDocument/publishDiagnostics I[10:13:20.246] --> reply:textDocument/codeAction(1) 95 ms I[10:13:20.246] --> reply:textDocument/documentLink(2) 21 ms I[10:13:20.246] --> textDocument/clangd.fileStatus I[10:13:20.548] <-- textDocument/codeAction(3) I[10:13:20.548] <-- textDocument/documentSymbol(4) I[10:13:20.548] --> reply:textDocument/codeAction(3) 0 ms I[10:13:20.548] --> reply:textDocument/documentSymbol(4) 0 ms I[10:13:20.548] --> textDocument/clangd.fileStatus I[10:13:20.566] <-- textDocument/documentLink(5) I[10:13:20.566] --> reply:textDocument/documentLink(5) 0 ms I[10:13:20.566] --> textDocument/clangd.fileStatus I[10:13:20.788] <-- textDocument/semanticTokens/full(6) I[10:13:20.788] --> reply:textDocument/semanticTokens/full(6) 0 ms I[10:13:20.788] --> textDocument/clangd.fileStatus I[10:13:21.094] <-- $/setTrace I[10:13:21.094] unhandled notification $/setTrace I[10:13:21.131] <-- $/setTrace I[10:13:21.131] unhandled notification $/setTrace I[10:13:21.173] <-- textDocument/documentSymbol(7) I[10:13:21.173] <-- textDocument/documentLink(8) I[10:13:21.173] --> reply:textDocument/documentSymbol(7) 0 ms I[10:13:21.173] --> reply:textDocument/documentLink(8) 0 ms I[10:13:21.173] --> textDocument/clangd.fileStatus I[10:13:21.929] <-- textDocument/hover(9) I[10:13:21.929] --> reply:textDocument/hover(9) 0 ms I[10:13:21.929] --> textDocument/clangd.fileStatus I[10:13:22.219] <-- textDocument/hover(10) I[10:13:22.219] --> reply:textDocument/hover(10) 0 ms I[10:13:22.219] --> textDocument/clangd.fileStatus I[10:13:22.252] <-- $/setTrace I[10:13:22.252] unhandled notification $/setTrace I[10:13:22.379] <-- textDocument/codeAction(11) I[10:13:22.379] --> reply:textDocument/codeAction(11) 0 ms I[10:13:22.379] --> textDocument/clangd.fileStatus I[10:13:25.147] --> $/progress I[10:13:25.147] --> $/progress I[10:13:25.147] --> $/progress I[10:13:25.147] --> $/progress I[10:13:25.147] --> $/progress I[10:13:25.147] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.148] --> $/progress I[10:13:25.149] --> $/progress E[10:13:25.157] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/nat/linux-ptrace.c failed: Couldn't build compiler instance I[10:13:25.157] --> $/progress I[10:13:25.157] --> $/progress E[10:13:25.160] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/arm-linux-nat.c failed: Couldn't build compiler instance I[10:13:25.160] --> $/progress I[10:13:25.160] --> $/progress E[10:13:25.163] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/python/python.c failed: Couldn't build compiler instance I[10:13:25.163] --> $/progress I[10:13:25.163] --> $/progress E[10:13:25.165] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/nvrcore/rtsp/tprtspclient/live/ourMD5.cpp failed: Couldn't build compiler instance I[10:13:25.165] --> $/progress I[10:13:25.165] --> $/progress E[10:13:25.169] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/blockframe.c failed: Couldn't build compiler instance I[10:13:25.169] --> $/progress I[10:13:25.169] --> $/progress I[10:13:25.170] Indexed /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/dropbear-2020.81/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c (0 symbols, 2036 refs, 66 files) E[10:13:25.172] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/remote-fileio.c failed: Couldn't build compiler instance I[10:13:25.172] --> $/progress I[10:13:25.172] --> $/progress E[10:13:25.189] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/mi/mi-main.c failed: Couldn't build compiler instance I[10:13:25.189] --> $/progress I[10:13:25.189] --> $/progress E[10:13:25.193] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/std-regs.c failed: Couldn't build compiler instance I[10:13:25.193] --> $/progress I[10:13:25.193] --> $/progress E[10:13:25.198] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdb_usleep.c failed: Couldn't build compiler instance I[10:13:25.198] --> $/progress I[10:13:25.198] --> $/progress I[10:13:25.204] Indexed /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/dropbear-2020.81/libtomcrypt/src/pk/ecc/ecc_ansi_x963_import.c (2 symbols, 2105 refs, 66 files) E[10:13:25.206] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/compile/compile-c-support.c failed: Couldn't build compiler instance I[10:13:25.206] --> $/progress I[10:13:25.206] --> $/progress E[10:13:25.209] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/tui/tui-out.c failed: Couldn't build compiler instance I[10:13:25.209] --> $/progress I[10:13:25.209] --> $/progress I[10:13:25.210] Indexed /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/dropbear-2020.81/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c (1 symbols, 2181 refs, 66 files) E[10:13:25.213] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/inferior.c failed: Couldn't build compiler instance I[10:13:25.213] --> $/progress I[10:13:25.213] --> $/progress E[10:13:25.216] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/coff-pe-read.c failed: Couldn't build compiler instance I[10:13:25.216] --> $/progress I[10:13:25.216] --> $/progress E[10:13:25.217] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/tui/tui-win.c failed: Couldn't build compiler instance E[10:13:25.217] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/break-catch-sig.c failed: Couldn't build compiler instance I[10:13:25.218] --> $/progress I[10:13:25.219] --> $/progress I[10:13:25.219] --> $/progress I[10:13:25.219] --> $/progress I[10:13:25.219] --> $/progress I[10:13:25.219] --> $/progress E[10:13:25.219] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdbserver/linux-arm-low.c failed: Couldn't build compiler instance I[10:13:25.219] --> $/progress I[10:13:25.219] --> $/progress E[10:13:25.220] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/inf-ptrace.c failed: Couldn't build compiler instance I[10:13:25.220] --> $/progress I[10:13:25.220] --> $/progress E[10:13:25.222] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/f-typeprint.c failed: Couldn't build compiler instance I[10:13:25.222] --> $/progress I[10:13:25.222] --> $/progress E[10:13:25.223] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/dwarf2expr.c failed: Couldn't build compiler instance I[10:13:25.223] --> $/progress I[10:13:25.223] --> $/progress I[10:13:25.224] --> $/progress I[10:13:25.224] --> $/progress E[10:13:25.226] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/symmisc.c failed: Couldn't build compiler instance I[10:13:25.227] --> $/progress I[10:13:25.227] --> $/progress E[10:13:25.227] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/continuations.c failed: Couldn't build compiler instance I[10:13:25.227] --> $/progress I[10:13:25.227] --> $/progress I[10:13:25.228] --> $/progress I[10:13:25.228] --> $/progress E[10:13:25.228] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/nvrcore/rtsp/tprtspclient/tpnclient/tpudpclient.cpp failed: Couldn't build compiler instance I[10:13:25.229] --> $/progress I[10:13:25.229] --> $/progress E[10:13:25.232] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/smartctl/dev_ata_cmd_set.cpp failed: Couldn't build compiler instance I[10:13:25.232] --> $/progress I[10:13:25.232] --> $/progress E[10:13:25.232] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdbserver/linux-low.c failed: Couldn't build compiler instance I[10:13:25.232] --> $/progress I[10:13:25.232] --> $/progress E[10:13:25.236] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/annotate.c failed: Couldn't build compiler instance I[10:13:25.236] --> $/progress I[10:13:25.236] Indexed /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/dropbear-2020.81/libtomcrypt/src/pk/ecc/ecc_shared_secret.c (1 symbols, 2097 refs, 66 files) I[10:13:25.236] --> $/progress E[10:13:25.237] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdbserver/tdesc.c failed: Couldn't build compiler instance I[10:13:25.237] --> $/progress E[10:13:25.237] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/inflow.c failed: Couldn't build compiler instance I[10:13:25.237] --> $/progress E[10:13:25.239] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/nvrcore/rtsp/tprtspclient/tpnclient/tphostinfo.cpp failed: Couldn't build compiler instance I[10:13:25.239] --> $/progress I[10:13:25.239] --> $/progress I[10:13:25.239] --> $/progress I[10:13:25.239] --> $/progress E[10:13:25.241] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/location.c failed: Couldn't build compiler instance I[10:13:25.241] --> $/progress I[10:13:25.241] --> $/progress E[10:13:25.243] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/ax-gdb.c failed: Couldn't build compiler instance I[10:13:25.243] --> $/progress I[10:13:25.243] --> $/progress E[10:13:25.244] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdbserver/symbol.c failed: Couldn't build compiler instance I[10:13:25.244] --> $/progress I[10:13:25.244] --> $/progress E[10:13:25.244] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/exec.c failed: Couldn't build compiler instance I[10:13:25.244] --> $/progress I[10:13:25.244] --> $/progress E[10:13:25.245] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/solib.c failed: Couldn't build compiler instance I[10:13:25.245] --> $/progress I[10:13:25.245] --> $/progress E[10:13:25.246] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/common/ptid.c failed: Couldn't build compiler instance I[10:13:25.246] --> $/progress I[10:13:25.246] --> $/progress I[10:13:25.247] --> $/progress I[10:13:25.247] --> $/progress E[10:13:25.248] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/gdbserver/proc-service.c failed: Couldn't build compiler instance I[10:13:25.248] --> $/progress I[10:13:25.248] --> $/progress E[10:13:25.249] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/linespec.c failed: Couldn't build compiler instance E[10:13:25.249] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/smartctl/dev_interface.cpp failed: Couldn't build compiler instance I[10:13:25.249] --> $/progress I[10:13:25.249] --> $/progress I[10:13:25.249] --> $/progress I[10:13:25.249] --> $/progress E[10:13:25.250] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/nvrcore/rtsp/tprtspclient/rtspclient/aes_core.cpp failed: Couldn't build compiler instance I[10:13:25.250] --> $/progress I[10:13:25.250] --> $/progress E[10:13:25.252] Indexing /home/tp/Project/nvr_2025/torchlight/build_dir/target-arm-openwrt-linux-uclibcgnueabihf/gdb-8.0.1/gdb/tracepoint.c failed: Couldn't build compiler instance I[10:13:25.252] --> $/progress I[10:13:25.252] --> $/progress
09-05
touch: cannot touch '/home/tp/Project/NVMP/platform/nvmp/bin/ssc30x-sx25v2/current_firmware.config': No such file or directory /home/tp/Project/NVMP/platform/nvmp/scripts/make-device-info.sh: line 141: /home/tp/Project/NVMP/platform/nvmp/bin/ssc30x-sx25v2/current_firmware.config: No such file or directory /home/tp/Project/NVMP/platform/nvmp/scripts/make-device-info.sh: line 142: /home/tp/Project/NVMP/platform/nvmp/bin/ssc30x-sx25v2/current_firmware.config: No such file or directory Makefile:85: recipe for target '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117/.configured' failed make[4]: [/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117/.configured] Error 1 (ignored) touch /home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117/.configured make -C /home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117 ARCH=arm CROSS_COMPILE=arm-sigmastar-linux-uclibcgnueabihf-9.1.0- SSTAR_CHIP_NAME=ifado CC=arm-sigmastar-linux-uclibcgnueabihf-9.1.0-gcc -j4 modules make[5]: Entering directory '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117' make[6]: Entering directory '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117' Makefile:688: include/config/auto.conf: No such file or directory Makefile:734: include/config/auto.conf.cmd: No such file or directory SYNC include/config/auto.conf.cmd HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/parser.tab.o HOSTLD scripts/kconfig/conf arch/arm/mach-sstar/Kconfig:279: can't open file "arch/arm/mach-sstar/ifado/Kconfig" scripts/kconfig/Makefile:71: recipe for target 'syncconfig' failed make[8]: *** [syncconfig] Error 1 Makefile:646: recipe for target 'syncconfig' failed make[7]: *** [syncconfig] Error 2 Makefile:756: recipe for target 'include/config/auto.conf.cmd' failed make[6]: *** [include/config/auto.conf.cmd] Error 2 make[6]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117' makefile:22: recipe for target 'modules' failed make[5]: *** [modules] Error 2 make[5]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117' Makefile:85: recipe for target '/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117/.modules' failed make[4]: *** [/home/tp/Project/NVMP/platform/nvmp/build_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/linux-ssc30x_ssc305/linux-5.10.117/.modules] Error 2 make[4]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp/target/linux/ssc30x' Makefile:13: recipe for target 'compile' failed make[3]: *** [compile] Error 2 make[3]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp/target/linux' target/Makefile:21: recipe for target 'target/linux/compile' failed make[2]: *** [target/linux/compile] Error 2 make[2]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp' target/Makefile:16: recipe for target '/home/tp/Project/NVMP/platform/nvmp/staging_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/stamp/.target_compile' failed make[1]: *** [/home/tp/Project/NVMP/platform/nvmp/staging_dir/target-arm-openwrt-linux-uclibcgnueabi-sx25v2/stamp/.target_compile] Error 2 make[1]: Leaving directory '/home/tp/Project/NVMP/platform/nvmp' /home/tp/Project/NVMP/platform/nvmp/include/toplevel.mk:203: recipe for target 'world' failed make: *** [world] Error 2 错误在哪
09-20
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值