|
[root@longxingjianghu Desktop]# /bin/tar xjvf iptables-1.3.5.tar.bz2
iptables-1.3.5/./
iptables-1.3.5/./libipq/
iptables-1.3.5/./libipq/ipq_message_type.3
iptables-1.3.5/./libipq/ipq_get_packet.3
iptables-1.3.5/./libipq/libipq.c
iptables-1.3.5/./libipq/libipq.3
iptables-1.3.5/./libipq/ipq_perror.3
iptables-1.3.5/./libipq/ipq_read.3
iptables-1.3.5/./libipq/ipq_set_verdict.3
iptables-1.3.5/./libipq/ipq_get_msgerr.3
iptables-1.3.5/./libipq/ipq_create_handle.3
iptables-1.3.5/./libipq/ipq_set_mode.3
iptables-1.3.5/./libipq/ipq_errstr.3
iptables-1.3.5/./libipq/Makefile
iptables-1.3.5/./libipq/ipq_destroy_handle.3
iptables-1.3.5/./include/
iptables-1.3.5/./include/linux/
……(下面还有很长,删了,我看这一步是没有问题)
……
[root@longxingjianghu Desktop]# make KERNEL_DIR=/usr/src/linux/
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@longxingjianghu Desktop]# cd /usr/src/linux
[root@longxingjianghu linux]# ls
arch drivers init lib Module.symvers security
block fs ipc Makefile net sound
crypto include kernel mm scripts usr
[root@longxingjianghu linux]# make KERNEL_DIR=/usr/src/linux/
CHK include/linux/version.h
make[1]: *** 没有规则可以创建“init/built-in.o”需要的目标“init/main.o” 。 停止。
make: *** [init] 错误 2
[root@longxingjianghu linux]# make KERNEL_DIR=/usr/src/linux/
CHK include/linux/version.h
make[1]: *** 没有规则可以创建“init/built-in.o”需要的目标“init/main.o” 。 停止。
make: *** [init] 错误 2
[root@longxingjianghu linux]# make install KERNEL_DIR=/usr/src/linux/
CHK include/linux/version.h
make[1]: *** 没有规则可以创建“init/built-in.o”需要的目标“init/main.o” 。 停止。
make: *** [init] 错误 2
[root@longxingjianghu linux]# make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in .config
#
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
make[1]: *** [menuconfig] 错误 1
make: *** [menuconfig] 错误 2 |
|