ipt_ACCOUNT Archives

Subject: Re: libipt_ACCOUNT compile trouble

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: ipt_ACCOUNT@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 24 Aug 2009 13:39:58 +0200
Hello Neal,

On Friday, 21. August 2009 23:25:31 Neal Murphy wrote:
> For days, I couldn't get iptables to compile with ipt_ACCOUNT, until I
> 'talked to the bear' and realized why gcc couldn't find ipt_ACCOUNT.h: I
> added --with-kbuild or created /lib/modules/kernel/build or .../source
> link(s). Iptables finally compiles.

Good!

> make  all-recursive
> ...
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i686 -Wall
> -I/build/sources/kernel-phaeton/linux/include -MT ipt_ACCOUNT_cl.lo -MD
> -MP -MF .deps/ipt_ACCOUNT_cl.Tpo -c
> ipt_ACCOUNT_cl.c  -fPIC -DPIC -o .libs/ipt_ACCOUNT_cl.o
> In file included
> from
> /build/sources/kernel-phaeton/linux/include/linux/netfilter_ipv4/ip_table
>s.h:26, from ipt_ACCOUNT_cl.c:16:
> /build/sources/kernel-phaeton/linux/include/linux/netfilter_ipv4.h:55:
> error: 'INT_MIN' undeclared here (not in a function)

Something might be wrong with the kernel headers,
please try the attached workaround patch.

Cheers,
Thomas



--
ipt_ACCOUNT - see http://www.intra2net.com/en/developer/ipt_ACCOUNT for details.
To unsubscribe send a mail to ipt_ACCOUNT+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: 0001-Include-limits.h.patch
Description: Text Data

Current Thread