Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: User
compiling extension modules with -std=c99 fails
 

Index | Next | Previous | View Flat


sashang at gmail

Jul 30, 2007, 7:14 PM


Views: 1236
Permalink
compiling extension modules with -std=c99 fails

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/

Subject User Time
compiling extension modules with -std=c99 fails sashang at gmail Jul 30, 2007, 7:14 PM
    Re: compiling extension modules with -std=c99 fails gcarter at aesgi Jul 30, 2007, 7:37 PM
        Re: compiling extension modules with -std=c99 fails sashang at gmail Jul 31, 2007, 5:25 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.