找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7291|回复: 8

小白编译过程出问题,求助

[复制链接]
昨天还不是这样的,今天就这样了,不知道怎么解决,是不是需要重做系统阿???
./scripts/feeds update -a

Updating feed 'luci' from 'https://github.com/coolsnowwolf/luci' ...
正克隆到 './feeds/luci'...
remote: Enumerating objects: 3962, done.
remote: Counting objects: 100% (3962/3962), done.
remote: Compressing objects: 100% (1853/1853), done.
remote: Total 3962 (delta 801), reused 3933 (delta 791), pack-reused 0
接收对象中: 100% (3962/3962), 3.74 MiB | 136.00 KiB/s, 完成.
处理 delta 中: 100% (801/801), 完成.
Create index file './feeds/luci.index'
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... failed.
Checking 'g++'... failed.
Checking 'working-g++'... failed.
Checking 'ncurses'... failed.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
/home/andy/lede/include/prereq-build.mk:156: recipe for target '/home/andy/lede/staging_dir/host/bin/mkhash' failed
Prerequisite check failed. Use FORCE=1 to override.
/home/andy/lede/include/toplevel.mk:167: recipe for target 'staging_dir/host/.prereq-build' failed
make: *** [staging_dir/host/.prereq-build] Error 1
/bin/sh: 3: mkhash: not found
Collecting package info: done
/bin/sh: 3: mkhash: not found
Collecting target info: done


我的恩山、我的无线 The best wifi forum is right here.
make distclean
然后重新update,install
不行就重新下载源码

点评

这就是重新下载的。 git完 到 ./scripts/feeds update -a就不行了。  详情 回复 发表于 2018-10-27 22:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

连gcc都不装你想干什么

点评

andy@andyxu-Lenovo-IdeaPad-Y500:~/lede$ sudo apt-get gcc [sudo] andy 的密码: E: 无效的操作 gcc 我安装gcc提示这样。L大git每一步都执行了。昨天还好好的。  详情 回复 发表于 2018-10-27 22:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 18604234386 于 2018-10-27 22:10 编辑
paldier 发表于 2018-10-27 21:46
连gcc都不装你想干什么

andy@andyxu-Lenovo-IdeaPad-Y500:~/lede$ sudo apt install gcc
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
gcc 已经是最新版 (4:7.3.0-3ubuntu2.1)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。

我安装gcc提示这样。L大git每一步都执行了。昨天还好好的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ITdesk 发表于 2018-10-27 21:45
make distclean
然后重新update,install
不行就重新下载源码

这就是重新下载的。
git完
到 ./scripts/feeds update -a就不行了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不知道你是不是按照这个安装的基础环境软件包
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils
不行的话可能用户环境出问题了,新建一个账户在新账号下重新来一遍试试

点评

以解决,谢谢。删除GCC,重新安装就好了。  详情 回复 发表于 2018-10-27 22:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ope087 发表于 2018-10-27 22:34
不知道你是不是按照这个安装的基础环境软件包
sudo apt-get install build-essential asciidoc binutils b ...

以解决,谢谢。删除GCC,重新安装就好了。

点评

好奇你gcc环境是怎么丢失的?  详情 回复 发表于 2018-10-28 19:15
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

18604234386 发表于 2018-10-27 22:39
以解决,谢谢。删除GCC,重新安装就好了。

好奇你gcc环境是怎么丢失的?

点评

就是不懂linux,编译时出现问题就百度。也不知道什么指令就整。结果。。。。  详情 回复 发表于 2018-10-29 07:20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ope087 发表于 2018-10-28 19:15
好奇你gcc环境是怎么丢失的?

就是不懂linux,编译时出现问题就百度。也不知道什么指令就整。结果。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 18:41

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表