新用户登入 登录
萌子岛 返回首页

mhy123152的个人空间 https://www.dommdo.com/?886673 [收藏] [复制] [RSS]

日志

编译总遇到这些问题

已有 100 次阅读2012-4-25 09:19 | 下载, checkout

我从svn checkout svn://svn.openwrt.org.cn/openwrt/trunk 下载

然后vi feeds.conf.default


src-svn packages svn://svn.openwrt.org.cn/openwrt/packages
src-svn xwrt http://x-wrt.googlecode.com/svn/trunk/package
src-svn luci svn://svnhost.cn/luci-chn/tags/0.9.0/contrib/package
#src-svn luci http://svn.luci.subsignal.org/luci/trunk/contrib/package
#src-svn phone svn://svn.openwrt.org/openwrt/feeds/phone
#src-svn efl svn://svn.openwrt.org/openwrt/feeds/efl
#src-svn xorg svn://svn.openwrt.org/openwrt/feeds/xorg
#src-svn desktop svn://svn.openwrt.org/openwrt/feeds/desktop
#src-svn xfce svn://svn.openwrt.org/openwrt/feeds/xfce
#src-svn lxde svn://svn.openwrt.org/openwrt/feeds/lxde
#src-link custom /usr/src/openwrt/custom-feed
改为上面这样
./scripts/feeds update -a 

#安装所有包:
./scripts/feeds install -a

./scripts/feeds update packages luci
./scripts/feeds install -a -p luci    #安装luci的web管理界面

make menuconfig设置好以后

make package/luci/compile V=99
一智出现这些问题

mips-openwrt-linux-uclibc-gcc


make[5]: execvp: mips-openwrt-linux-uclibc-gcc: Permission denied
make[5]: *** [lapi.o] Error 127
make[5]: Leaving directory `/home/gwm/openwrt/trunk/build_dir/target-mips_uClibc-0.9.32/lua-5.1.4/src'
make[4]: *** [linux] Error 2
make[4]: Leaving directory `/home/gwm/openwrt/trunk/build_dir/target-mips_uClibc-0.9.32/lua-5.1.4/src'
make[3]: *** [linux] Error 2
make[3]: Leaving directory `/home/gwm/openwrt/trunk/build_dir/target-mips_uClibc-0.9.32/lua-5.1.4'
make[2]: *** [/home/gwm/openwrt/trunk/build_dir/target-mips_uClibc-0.9.32/lua-5.1.4/.built] Error 2
make[2]: Leaving directory `/home/gwm/openwrt/trunk/package/lua'
make[1]: *** [package/lua/compile] Error 2
make[1]: Leaving directory `/home/gwm/openwrt/trunk'
make: *** [package/luci/compile] 错误 2
[gwm@localhost trunk]$ 

首先是非root用户。在非root用户比如gwm为用户。文件地址在home/gwm/opnwrt/trunk下。ubuntu也是出现这个问题。fedora下也是。官方源码就没这个问题。不知道哪一步错误了。谢谢。
百度了一下。好像是交叉编译没有这个文件mips-openwrt-linux-uclibc-gcc。如何解决。

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

小黑屋|萌子岛

GMT+8, 2025-1-31 02:49 , Processed in 0.023002 second(s), 21 queries , Gzip On, MemCache On.

Copyright 2020  atollmoe©.a2.1.0 All rights reserved. 9+

Copyright 2009  supported by zhixuan© oeo© oko© All rights reserved.Thank you!

返回顶部