compiling extension modules with -std=c99 fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Is there any reason why compiling the iptables extensions should fail
when using -std=c99?

cc -O2 -Wall -Wunused
-I/usr/src/kernels/2.6.18-1.2798.fc6-i586/include -Iinclude/
-DIPTABLES_VERSION=\"1.3.5\"
-DIPT_LIB_DIR=\"/usr/local/lib/iptables\" -rdynamic -o iptables
iptables-standalone.c iptables.o libiptc/libiptc.a -ldl -lnsl -std=c99
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from iptables-standalone.c:38:
/usr/src/kernels/2.6.18-1.2798.fc6-i586/include/linux/netfilter_ipv4/ip_tables.h:43:
error: IFNAMSIZ undeclared here (not in a function)


-- 
sashan
http://sashang.orcon.net.nz/


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux