You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ defconfig cv1812h_wevb_0007a_emmc
Run function
_call_kconfig_script:11: no such file or directory: /mnt/e/wsl/v4.1.0.3/v4.1.0.3_source/build/scripts/.py
文档补充说明
套件补充
ubuntu 20.04 可能找不到该软件包
解决方法如下:
source build/cvisetup.sh
时出现以下情况:(其中 17:9 可能是其他数字)
cvisetup.sh 脚本未执行成功。执行
defconfig cv1812h_wevb_0007a_emmc_huashan
结果如下:原因:使用的 shell 并非 bash。且出 invalid subcript range(下标范围问题)可能是使用 zsh 执行 shell 脚本导致的。zsh 数组的下标索从 1 开始,与 bash 不同(bash 从 0 开始)。
更多讨论请参考:https://unix.stackexchange.com/questions/562561/bash-script-throws-assignment-to-invalid-subscript-range-when-running-from-zsh
解决方法:终端键入
bash
,在bash
环境下执行source build/cvisetup.sh
The text was updated successfully, but these errors were encountered: