我在 mac 上编译 iptables,遇到错误(在 make 这一步):
wget http://www.netfilter.org/projects/iptables/files/iptables-1.6.0.tar.bz2
tar jxvf iptables-1.6.0.tar.bz2
cd iptables-1.6.0
./configure
make (在 make 这步遇到错误)
../include/linux/types.h:4:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^
1 error generated.
make[2]: *** [libip4tc.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
yudeMacBook-Air:iptables-1.6.0 brite$
在 google 里搜索了 fatal error: 'asm/types.h' file not found ,始终未找到解决办法。
有 mac 的读者可以在你的 mac 上,尝试编译 iptables 吗?看看是否也遇到我这样的错误?
非常感谢你的回复
wget http://www.netfilter.org/projects/iptables/files/iptables-1.6.0.tar.bz2
tar jxvf iptables-1.6.0.tar.bz2
cd iptables-1.6.0
./configure
make (在 make 这步遇到错误)
../include/linux/types.h:4:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^
1 error generated.
make[2]: *** [libip4tc.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
yudeMacBook-Air:iptables-1.6.0 brite$
在 google 里搜索了 fatal error: 'asm/types.h' file not found ,始终未找到解决办法。
有 mac 的读者可以在你的 mac 上,尝试编译 iptables 吗?看看是否也遇到我这样的错误?
非常感谢你的回复