Linux Netfilter discussions
 help / color / mirror / Atom feed
* compiling extension modules with -std=c99 fails
@ 2007-07-31  2:14 Sashan Govender
  2007-07-31  2:37 ` Gregory Carter
  0 siblings, 1 reply; 3+ messages in thread
From: Sashan Govender @ 2007-07-31  2:14 UTC (permalink / raw)
  To: netfilter

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-01  0:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31  2:14 compiling extension modules with -std=c99 fails Sashan Govender
2007-07-31  2:37 ` Gregory Carter
2007-08-01  0:25   ` Sashan Govender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox