Howdy!
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.
Now I can't compile libipt_ACCOUNT. And I don't have a clue where to begin
looking. A few google searches turned up nothing useful. So I figgered I'd
join this list and see if anyone here can help.
I'm building a Linux-From-Scratch (new version of Smoothwall, really) atop
Debian Lenny. I'm chrooted to use only the new toolchain. Various software
versions:
- GCC 4.3.2
- kernel 2.6.26.8
- iptables 1.4.2
- POM 20090513
- ipt_ACCOUNT 1.15
- libipt_ACCOUNT 1.3
The error is show below. If needed, I can send the entire build output for
this package, including the untar, reconf, config and compile.
Thanks!
Neal
-----------------
make all-recursive
make[2]: Entering directory `/build/sources/libipt_ACCOUNT/libipt_ACCOUNT-1.3'
Making all in src
make[3]: Entering directory
`/build/sources/libipt_ACCOUNT/libipt_ACCOUNT-1.3/src'
if /bin/sh ../libtool --mode=compile
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 -o
ipt_ACCOUNT_cl.lo ipt_ACCOUNT_cl.c; \
then mv -f ".deps/ipt_ACCOUNT_cl.Tpo" ".deps/ipt_ACCOUNT_cl.Plo"; else
rm -f ".deps/ipt_ACCOUNT_cl.Tpo"; exit 1; fi
mkdir .libs
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_tables.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)
/build/sources/kernel-phaeton/linux/include/linux/netfilter_ipv4.h:65:
error: 'INT_MAX' undeclared here (not in a function)
ipt_ACCOUNT_cl.c: In function 'ipt_ACCOUNT_init':
ipt_ACCOUNT_cl.c:38: warning: implicit declaration of function 'close'
make[3]: *** [ipt_ACCOUNT_cl.lo] Error 1
make[3]: Leaving directory
`/build/sources/libipt_ACCOUNT/libipt_ACCOUNT-1.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/sources/libipt_ACCOUNT/libipt_ACCOUNT-1.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/sources/libipt_ACCOUNT/libipt_ACCOUNT-1.3'
make: *** [compile] Error 2
make: Leaving directory `/build/sources/libipt_ACCOUNT'
-----------
--
ipt_ACCOUNT - see http://www.intra2net.com/en/developer/ipt_ACCOUNT for details.
To unsubscribe send a mail to ipt_ACCOUNT+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|