aa65535 / openwrt-chinadns

ChinaDNS for OpenWrt/LEDE
GNU General Public License v3.0
705 stars 174 forks source link

编译出错,请教下 #80

Closed dNEryno closed 6 years ago

dNEryno commented 7 years ago

configure: WARNING: unrecognized options: --disable-nls configure: loading site script /home/s/PandoraBox-SDK/include/site/mipsel checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-uclibc-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-uclibc-gcc checking whether the C compiler works... no configure: error: in /home/s/PandoraBox-SDK/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ChinaDNS/ChinaDNS-1.3.2': configure: error: C compiler cannot create executables Seeconfig.log' for more details Makefile:58: recipe for target '/home/s/PandoraBox-SDK/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ChinaDNS/ChinaDNS-1.3.2/.configured_yyy' failed make[2]: [/home/s/PandoraBox-SDK/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ChinaDNS/ChinaDNS-1.3.2/.configured_yyy] Error 77 make[2]: Leaving directory '/home/s/PandoraBox-SDK/package/chinadns' package/Makefile:127: recipe for target 'package/chinadns/compile' failed make[1]: [package/chinadns/compile] Error 2 make[1]: Leaving directory '/home/s/PandoraBox-SDK' /home/s/PandoraBox-SDK/include/toplevel.mk:192: recipe for target 'package/chinadns/compile' failed make: *** [package/chinadns/compile] Error 2

dNEryno commented 7 years ago

系统版本17.04 64bit. 所用的命令如下 sudo apt-get install net-tools build-essential asciidoc libcloog-isl4 libisl-dev 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 mercurial ccache quilt xsltproc libxml-parser-perl bzr ecj cvs gcc g++ bison make autoconf zip unrar p7zip-rar sharutils ncurses-term locate cmake checkinstall autoconf pkg-config libtool python-sphinx libcunit1-dev nettle-dev libyaml-dev libuv-dev openssl -y make download V=s ./scripts/feeds update -a ./scripts/feeds install -a git clone https://github.com/aa65535/openwrt-chinadns.git package/chinadns

选择要编译的包 Network -> ChinaDNS

make menuconfig

开始编译

make package/chinadns/compile V=99