On Fri, 26 May 2000, Jim Baxter wrote:
> After going throuh the painstaking process of compiling 2.3.99-pre9 on my
> 486/33 last night, I have to say I'm very happy with the multilink ppp
> support it now has! Because this box is infact a nat in my home, i compiled
> support for iptables and then today read the iptables howto. I'm having
> great difficult making iptables with this kernel. Here's the output:
>
> -- <snip> --
> themask:/usr/src/iptables-1.1.0# make
> Making dependencies: please wait...
> cc -O2 -Wall -Wunused -Iinclude/ -I/usr/src/linux/include -DNDEBUG -DNETFILT
> ER_VERSION=\"1.1.0\" -fPIC -o extensions/libipt_tcp_sh.o -c
> extensions/libipt_tcp.c
> In file included from
> /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:25,
> from include/libiptc/libiptc.h:6,
> from include/iptables.h:5,
> from extensions/libipt_tcp.c:7:
> /usr/src/linux/include/linux/netfilter_ipv4.h:53: `INT_MIN' undeclared here
> (not in a function)
> /usr/src/linux/include/linux/netfilter_ipv4.h:53: enumerator value for
> `NF_IP_PRI_FIRST' not integer constant
> /usr/src/linux/include/linux/netfilter_ipv4.h:59: `INT_MAX' undeclared here
> (not in a function)
> /usr/src/linux/include/linux/netfilter_ipv4.h:59: enumerator value for
> `NF_IP_PRI_LAST' not integer constant
> make: *** [extensions/libipt_tcp_sh.o] Error 1
> -- <snip> --
>
> any thoughts?
>
This kind of thing in the past has been caused by differences in glibc
headers over different versions of glibc, but my usual test of booting
into RH5.x for this hasn't picked it up.
What distro & version are you using, and what version of glibc does it
have? (if it's rpm based, do rpm -q glibc).
Also, it may be an idea to discuss this on the netfilter list (see
http://lists.samba.org/)
- James
-- James Morris <jmorris@intercode.com.au>- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:19 EST