当前位置: 技术问答>linux和unix
内核从2.4升到2.6时碰到一点问题
来源: 互联网 发布时间:2016-07-17
本文导语: 按照网上的方法,在安装module-init-tools时,执行到make moveold时,出错: make: *** No rule to make target 'moveold'. Stop. 之前执行#./configure --prefix=/,提示: checking build system type... i686-pc-linux-gnu checking host system...
按照网上的方法,在安装module-init-tools时,执行到make moveold时,出错:
make: *** No rule to make target 'moveold'. Stop.
之前执行#./configure --prefix=/,提示:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
continue configure in default builddir "./build"
....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=build" "linux gnu"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for docbook-to-man... no
checking for docbook2man... docbook2man
configure: Adding gcc options: -g -O2 -Wunused -Wall
configure: creating ./config.status
config.status: creating Makefile
config.status: executing buildir commands
config.status: reusing top_srcdir/Makefile from earlier configure
config.status: build in build (HOST=)
config.status: executing depfiles commands
make: *** No rule to make target 'moveold'. Stop.
之前执行#./configure --prefix=/,提示:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
continue configure in default builddir "./build"
....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=build" "linux gnu"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for docbook-to-man... no
checking for docbook2man... docbook2man
configure: Adding gcc options: -g -O2 -Wunused -Wall
configure: creating ./config.status
config.status: creating Makefile
config.status: executing buildir commands
config.status: reusing top_srcdir/Makefile from earlier configure
config.status: build in build (HOST=)
config.status: executing depfiles commands
|
参考:http://www.cnblogs.com/konyel/articles/1282062.html
http://leftleg.hzpub.com/post/573/
建议make clean后,再.config配置,然后make menuconfig, 记得保存,然后make.
http://leftleg.hzpub.com/post/573/
建议make clean后,再.config配置,然后make menuconfig, 记得保存,然后make.