Posted inCrossCompile
Cross-compile iptables
今天编译了iptables着实令我郁闷了一下。 我们的kernel用的是linux-2.6.36-rc2。由于历史原因,客户应用层使用的编译器和我们编译kernel的编译器不一样。 结果就很悲摧: iptables v1.4.12.1: can't initialize iptables table `filter': Invalid argument Perhaps iptables or your kernel needs to be upgraded. 查了一下bing,从什么大之前开始google就一直在抽风。 找到了一个更加令人悲摧的地方:http://www.iptables.info/en/iptables-problems.html This is a bit more serious since…