|
使用 Ubuntu 18.04 编译最新的 OpenWrt 碰到同样的问题始终无法解决,网上所说的依赖库都装过了,问题依旧,git 装代码版本退回到 8174853c78f88b854ac66a3f0a5380d36ededa9a 也无法解决,没招了!
请问还有什么办法,究竟是哪里不对?
所有安装过的依赖库如下:
sudo apt-get install git
sudo apt-get install git-core
sudo apt-get install make
sudo apt-get install make-guile
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install gcc-multilib
sudo apt-get install python2.7
sudo apt-get install build-essential
sudo apt-get install subversion
sudo apt-get install libncurses5-dev
sudo apt-get install zlib1g-dev
sudo apt-get install gawk
sudo apt-get install flex
sudo apt-get install quilt
sudo apt-get install libssl-dev
sudo apt-get install xsltproc
sudo apt-get install libxml-parser-perl
sudo apt-get install mercurial
sudo apt-get install bzr
sudo apt-get install ecj
sudo apt-get install cvs
sudo apt-get install unzip
sudo apt-get install binutils
sudo apt-get install patch
sudo apt-get install bzip2
sudo apt-get install bison
sudo apt-get install autoconf
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install sharutils
sudo apt-get install ncurses-term
sudo apt-get install libssh-dev
sudo apt-get install liblzma
sudo apt-get install libz-dev
sudo apt-get install asciidoc
sudo apt-get install sphinxsearch
sudo apt-get install libtool
sudo apt-get install sphinx-common
sudo apt-get install fastjar
sudo apt-get install util-linux
sudo apt-get install intltool
sudo apt-get install jikespg
sudo apt-get install genisoimage
sudo apt-get install perl-modules
sudo apt-get install rsync
sudo apt-get install ruby
sudo apt-get install sdcc
sudo apt-get install wget
sudo apt-get install bin86
sudo apt-get install bcc
sudo apt-get install libnet-dev
sudo apt-get install libusb-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install python
sudo apt-get install perl
sudo apt-get install imagemagick
sudo apt-get install automake
sudo apt-get install libtool-bin
sudo apt-get install libreadline-dev
sudo apt-get install tofrodos
sudo apt-get install pkg-config
sudo apt-get install libstring-crc32-perl
sudo apt-get install libacl1-dev
sudo apt-get install libcap-dev
sudo apt-get install libc6-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install libp11-kit-dev
sudo apt-get install curl
sudo apt-get install zip
sudo apt-get install openssl
sudo apt-get install bash
sudo apt-get install bc
报错信息如下:
make[3]: Entering directory '/home/openwrt/OpenWRT/openwrt/package/base-files'
rm -f /home/openwrt/OpenWRT/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/base-files/.configured_*
rm -f /home/openwrt/OpenWRT/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.base-files_installed
[ -s /home/openwrt/OpenWRT/openwrt/key-build -a -s /home/openwrt/OpenWRT/openwrt/key-build.pub ] || /home/openwrt/OpenWRT/openwrt/staging_dir/host/bin/usign -G -s /home/openwrt/OpenWRT/openwrt/key-build -p /home/openwrt/OpenWRT/openwrt/key-build.pub -c "Local build key"
[ -s /home/openwrt/OpenWRT/openwrt/key-build.ucert ] || /home/openwrt/OpenWRT/openwrt/staging_dir/host/bin/ucert -I -c /home/openwrt/OpenWRT/openwrt/key-build.ucert -p /home/openwrt/OpenWRT/openwrt/key-build.pub -s /home/openwrt/OpenWRT/openwrt/key-build
Makefile:204: recipe for target '/home/openwrt/OpenWRT/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/base-files/.configured_c0749636930c58261808a73a6317c5c4_8e081b74cf069e1e6800a5bbcbb282f0' failed
make[3]: *** [/home/openwrt/OpenWRT/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/base-files/.configured_c0749636930c58261808a73a6317c5c4_8e081b74cf069e1e6800a5bbcbb282f0] Error 255
make[3]: Leaving directory '/home/openwrt/OpenWRT/openwrt/package/base-files'
time: package/base-files/compile#0.11#0.05#0.16
package/Makefile:107: recipe for target 'package/base-files/compile' failed
make[2]: *** [package/base-files/compile] Error 2
make[2]: Leaving directory '/home/openwrt/OpenWRT/openwrt'
package/Makefile:103: recipe for target '/home/openwrt/OpenWRT/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/openwrt/OpenWRT/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/openwrt/OpenWRT/openwrt'
/home/openwrt/OpenWRT/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2
|
|