iptables-faketcp
iptables-faketcp copied to clipboard
你好,centos7安装失败
你好,我是用的是阿里云的centos 7镜像,按照说明,make install的时候出错,可以帮忙看一下什么问题吗 谢谢了 [root@iZj6c8ft7tasnlhhmqz4zeZ ko]# make instlal make: *** No rule to make target `instlal'. Stop. [root@iZj6c8ft7tasnlhhmqz4zeZ ko]# make install make -C /lib/modules/3.10.0-693.2.2.el7.x86_64/build M=/root/iptables-faketcp-master/ko modules_install make: *** /lib/modules/3.10.0-693.2.2.el7.x86_64/build: No such file or directory. Stop. make: *** [install] Error 2 [root@iZj6c8ft7tasnlhhmqz4zeZ ko]# cd ../ [root@iZj6c8ft7tasnlhhmqz4zeZ iptables-faketcp-master]# ls ko LICENSE nf_faketcp.h README.md so [root@iZj6c8ft7tasnlhhmqz4zeZ iptables-faketcp-master]# cd so [root@iZj6c8ft7tasnlhhmqz4zeZ so]# make install install -m 755 -t /lib/iptables/ *.so install: failed to access ‘/lib/iptables/’: No such file or directory make: *** [install] Error 1
ubuntu 16.04
root@ubuntu:~/iptables-faketcp-master/ko# make install make -C /lib/modules/4.4.0-62-generic/build M=/root/iptables-faketcp-master/ko modules_install make[1]: Entering directory '/usr/src/linux-headers-4.4.0-62-generic' DEPMOD 4.4.0-62-generic make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-62-generic'
root@ubuntu:~/iptables-faketcp-master/so# make install install -m 755 -t /lib/iptables/ .so install: cannot stat '.so': No such file or directory Makefile:13: recipe for target 'install' failed make: *** [install] Error 1
具体是需要什么来支持呢
你需要安装对应 kernel 版本的 headers。