iptables z HEAD i 2.4.25

Paweł Sikora pluto w ds14.agh.edu.pl
Nie, 14 Mar 2004, 09:54:03 CET


testcase:

#include <iptables/iptables.h>

int main(int argc,char **argv)
{
    return 0;
}

# gcc z.c -c
In file included from /usr/include/iptables/iptables.h:5,
                 from z.c:1:
/usr/include/iptables/libiptc/libiptc.h:5:40:
   libiptc/ipt_kernel_headers.h: Nie ma takiego pliku ani katalogu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:18,
                 from /usr/include/iptables/libiptc/libiptc.h:6,
                 from /usr/include/iptables/iptables.h:5,
                 from z.c:1:
/usr/include/linux/netfilter_ipv4.h:52: error: `INT_MIN' undeclared here (not 
in a function)
/usr/include/linux/netfilter_ipv4.h:52: error: enumerator value for 
`NF_IP_PRI_FIRST' not integer constant
/usr/include/linux/netfilter_ipv4.h:62: error: `INT_MAX' undeclared here (not 
in a function)
/usr/include/linux/netfilter_ipv4.h:62: error: enumerator value for 
`NF_IP_PRI_LAST' not integer constant
In file included from /usr/include/iptables/libiptc/libiptc.h:6,
                 from /usr/include/iptables/iptables.h:5,
                 from z.c:1:
/usr/include/linux/netfilter_ipv4/ip_tables.h:26: error: field `src' has 
incomplete type
/usr/include/linux/netfilter_ipv4/ip_tables.
(...)

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...



Więcej informacji o liście dyskusyjnej pld-devel-pl