[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netfilter unavailable



forgive me for intruding, I am just learning a little myself
in networking and still getting confused.

however, I just want to ask:

a) is iptables now considered legacy code/method.

b) are there newer packages/ software to do whatever
it is (i have no idea) you are needing iptables for ?
for instance i use ipmasq and it seems i ran acrosss
something that earlier what i do with that would have had
to use iptables in earlier systems (such as with 2.4 kernels)

Brian

On 6/12/07, L Moore <ljmoore@wightman.ca> wrote:
On Mon, Jun 11, 2007 at 07:38:53AM -0500, Stephen R Marenka wrote:
> On Mon, Jun 11, 2007 at 02:16:45PM +0200, Petr Stehlik wrote:
>
> > how about "apt-get build-dep iptables" ?
>
> The obvious answer is also good. :)
>

I have now done 'apt-get build-dep initables'

Thinking that I was homefree I tried going to
make clean && make binary and got error messages:

make -f /root/iptables-1.3.6.0debian1/debian/rules clean
make[1]: Entering directory `/root/iptables-1.3.6.0debian1'
dh_testdir
rm -rf /root/iptables-1.3.6.0debian1/debian/build
dh_clean
make[1]: Leaving directory `/root/iptables-1.3.6.0debian1'
make -f /root/iptables-1.3.6.0debian1/debian/rules binary
make[1]: Entering directory `/root/iptables-1.3.6.0debian1'
install -d /root/iptables-1.3.6.0debian1/debian/build/stamp
cp -a iptables /root/iptables-1.3.6.0debian1/debian/build/iptables_profectio
cp -a linux /root/iptables-1.3.6.0debian1/debian/build/kernel_profectio
touch /root/iptables-1.3.6.0debian1/debian/build/stamp/prep
install -d /root/iptables-1.3.6.0debian1/debian/build/docs
cd /root/iptables-1.3.6.0debian1/debian/build/docs; sgml2html /root/iptables-1.3.6.0debian1/howtos/NAT-HOWTO.sgml; sgml2html /root/iptables-1.3.6.0debian1/howtos/netfilter-extensions-HOWTO.sgml; sgml2html /root/iptables-1.3.6.0debian1/howtos/netfilter-hacking-HOWTO.sgml; sgml2html /root/iptables-1.3.6.0debian1/howtos/packet-filtering-HOWTO.sgml;
Processing file /root/iptables-1.3.6.0debian1/howtos/NAT-HOWTO.sgml
Processing file /root/iptables-1.3.6.0debian1/howtos/netfilter-extensions-HOWTO.sgml
Processing file /root/iptables-1.3.6.0debian1/howtos/netfilter-hacking-HOWTO.sgml
/usr/bin/nsgmls:<OSFD>0:1239:40:E: character data is not allowed here
/usr/bin/nsgmls:<OSFD>0:1375:35:E: character data is not allowed here
/usr/bin/nsgmls:<OSFD>0:1377:39:E: character data is not allowed here
Processing file /root/iptables-1.3.6.0debian1/howtos/packet-filtering-HOWTO.sgml
touch /root/iptables-1.3.6.0debian1/debian/build/stamp/howtos
dh_testdir
make -C /root/iptables-1.3.6.0debian1/debian/build/iptables_profectio all ip6tables-save ip6tables-restore iptables.8 ip6tables.8  LIBDIR=/lib KERNEL_DIR=/root/iptables-1.3.6.0debian1/debian/build/kernel_profectio
make[2]: Entering directory `/root/iptables-1.3.6.0debian1/debian/build/iptables_profectio'
make[2]: Leaving directory `/root/iptables-1.3.6.0debian1/debian/build/iptables_profectio'
make[2]: Entering directory `/root/iptables-1.3.6.0debian1/debian/build/iptables_profectio'
Unable to resolve dependency on linux/compiler.h. Try 'make clean'.
cc -O2 -Wall -Wunused -I/root/iptables-1.3.6.0debian1/debian/build/kernel_profectio/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.6\"  -D_UNKNOWN_KERNEL_POINTER_SIZE -fPIC -o extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_conntrack.c:11:
/root/iptables-1.3.6.0debian1/debian/build/kernel_profectio/include/linux/netfilter_ipv4/ip_tables.h:25:28: error: linux/compiler.h: No such file or directory
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_conntrack.c:11:
/root/iptables-1.3.6.0debian1/debian/build/kernel_profectio/include/linux/netfilter_ipv4/ip_tables.h:194: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
In file included from extensions/libipt_conntrack.c:15:
extensions/../include/linux/netfilter_ipv4/ipt_conntrack.h:16:25: error: operator '<' has no left operand
make[2]: *** [extensions/libipt_conntrack_sh.o] Error 1
make[2]: Leaving directory `/root/iptables-1.3.6.0debian1/debian/build/iptables_profectio'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/iptables-1.3.6.0debian1'
make: *** [binary] Error 2
Script done on Tue Jun 12 08:22:18 2007


--
Location: 43 58 8 N by 80 58 45 W
Growing zone: lowest 48-hour temperature -25C
Built: 1835 Renovations: 1910, 1952, 2006.


--
To UNSUBSCRIBE, email to debian-68k-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: