求解,交叉编译问题
../libtool: line 976: mipsel-linux-gcc: command not found
make[3]: *** [mdct.lo] Error 1
这个是什么错误,网上找,差不多是编译路径有问题,但是我echo了一下
usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/buildroot-gcc342/bin
我的交叉编译环境就是在:/opt/buildroot-gcc342这里面,而且./bin里面也有mipsel-linux-gcc
另一个源码包,sudo make install
../libtool: line 1090: mipsel-linux-ranlib: command not found
而且我./bin里面也有mipsel-linux-ranlib这个呀
请问这个是为什么呢
func_show_eval ()
{
my_cmd="$1"
my_fail_exp="${2-:}"
${opt_silent-false} || {
func_quote_for_expand "$my_cmd"
eval "func_echo $func_quote_for_expand_result"
}
if ${opt_dry_run-false}; then :; else
eval "$my_cmd"
my_status=$? //出错的一行
if test "$my_status" -eq 0; then :; else
eval "(exit $my_status); $my_fail_exp"
fi
fi
}