有用过omapl138 dsplink的帮帮忙(dsplink编译环境搭建问题提示未找到setenv命令)
下面是dsplinkenv文件的内容:# ----------------------------------------
# @name DSPLINK
#
# @desc Root directory of DSP/BIOS LINK.
# ----------------------------------------
setenv DSPLINK ${HOME}/dvsdk/dsplink_1_65_00_02/dsplink
# ----------------------------------------
# @name PATH
#
# @desc Appends the path to the host sc cleripts
# ----------------------------------------
set path = $path ${DSPLINK}/etc/host/scripts/Linux
echo "==========================================================="
echo "The environment for DSP/BIOS LINK development has been set:"
echo "DSPLINK =" ${DSPLINK}
echo "PATH +=" ${DSPLINK}"/etc/host/scripts/Linux"
echo "==========================================================="
执行source命令时出现以下内容,为什么setenv命令不能用呢,本人菜鸟求高手解答,谢谢了[email=wh@wh:~/dvsdk/dsplink_1_65_00_02/dsplink$]wh@wh:~/dvsdk/dsplink_1_65_00_02/dsplink$[/email] source etc/host/scripts/Linux/dsplinkenv
未找到 'setenv' 命令,您要输入的是否是:
命令 'netenv' 来自于包 'netenv' (universe)
setenv:找不到命令
===========================================================
The environment for DSP/BIOS LINK development has been set:
DSPLINK =
PATH += /etc/host/scripts/Linux
===========================================================
[email=wh@wh:~/dvsdk/dsplink_1_65_00_02/dsplink$]wh@wh:~/dvsdk/dsplink_1_65_00_02/dsplink$[/email]
------解决方案--------------------
setenv DSPLINK ${HOME}/dvsdk/dsplink_1_65_00_02/dsplink
-->export DSPLINK="${HOME}/dvsdk/dsplink_1_65_00_02/dsplink:$DSPLINK"
export 有很多种写法,上面是其中一种。