求解,交叉编译问题
时间:2011-09-23
来源:互联网
../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=$? //[color=#FF6600][/color]出错的一行
if test "$my_status" -eq 0; then :; else
eval "(exit $my_status); $my_fail_exp"
fi
fi
}
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=$? //[color=#FF6600][/color]出错的一行
if test "$my_status" -eq 0; then :; else
eval "(exit $my_status); $my_fail_exp"
fi
fi
}
作者: gaoshanzhishui 发布时间: 2011-09-23
mipsel-linux-gcc: command not found
在./bin里,但是这个./bin不在 PATH环境变量中.
就无法找到了.
export PATH=$PATH:xxx/bin
在./bin里,但是这个./bin不在 PATH环境变量中.
就无法找到了.
export PATH=$PATH:xxx/bin
作者: zmlovelx 发布时间: 2011-09-24
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28