|
From: Michael Da S. P. <mi...@ib...> - 2008-05-13 12:49:39
|
Hi,
I see there is a xen-headers package for gutsy, but nothing out there
for hardy?
Thanks,
Mike
_____
From: Amos Shapira [mailto:amo...@gm...]
Sent: 13 May 2008 02:39 PM
To: Michael Da Silva Pereira
Cc: ipt...@li...
Subject: Re: [Iptperl-general] Issues building IPTABLES::IPV4 0.98 on
2.6.24-16 (ubunutu hardy)
On Tue, May 13, 2008 at 10:24 PM, Michael Da Silva Pereira
<mi...@ib...> wrote:
Hi there,
I wonder if anybody else has had these similar problems build the
module on the latest kernels?
"apt-file search ip_nat.h" finds this file in xen-headers-2.6.*
packages. Sounds a bit weird that the xen-headers would contain this
while linux-headers doesn't. Maybe it's related to the fact that
xen-headers are for 2.6.16 and 2.6.19 while linux-headers is for 2.6.22
(bug in linux-headers?)
cc -c -Iinclude -I/usr/src/linux/include -Wall
-DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -O2
-DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC
"-I/usr/lib/perl/5.8/CORE" -DINET6 -o unpacker_v6.o unpacker.c
cc -c -Iinclude -I/usr/src/linux/include -Wall
-DMODULE_PATH=\"/usr/local/lib/IPTables-IPv4\" -O2
-DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fPIC
"-I/usr/lib/perl/5.8/CORE" -DINET6 -o maskgen_v6.o maskgen.c
rm -f blib/arch/auto/IPTables/IPv6/IPv6.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib IPv6.o loader_v6.o
packer_v6.o unpacker_v6.o maskgen_v6.o libiptc/libiptc.a -o
blib/arch/auto/IPTables/IPv6/IPv6.so
chmod 755 blib/arch/auto/IPTables/IPv6/IPv6.so
Running Mkbootstrap for IPTables::IPv6 ()
chmod 644 IPv6.bs
cp IPv6.bs blib/arch/auto/IPTables/IPv6/IPv6.bs
chmod 644 blib/arch/auto/IPTables/IPv6/IPv6.bs
make -C modules/ all INSTALL_DIR=/usr/local/lib/IPTables-IPv4
make[1]: Entering directory
`/home/michael/IPTables-IPv4-0.98/modules'
gcc -o ipt_pl_icmp.o -c ipt_pl_icmp.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ld -shared -o ipt_pl_icmp.so ipt_pl_icmp.o
gcc -o ipt_pl_tcp.o -c ipt_pl_tcp.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ld -shared -o ipt_pl_tcp.so ipt_pl_tcp.o
gcc -o ipt_pl_udp.o -c ipt_pl_udp.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ld -shared -o ipt_pl_udp.so ipt_pl_udp.o
gcc -o ipt_pl_ah.o -c ipt_pl_ah.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ld -shared -o ipt_pl_ah.so ipt_pl_ah.o
gcc -o ipt_pl_esp.o -c ipt_pl_esp.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ld -shared -o ipt_pl_esp.so ipt_pl_esp.o
gcc -o ipt_pl_DNAT.o -c ipt_pl_DNAT.c -I/usr/src/linux/include
-I../include -I/usr/lib/perl/5.8/CORE -I.. -Wall -O2 -Wundef
ipt_pl_DNAT.c:11:41: error: linux/netfilter_ipv4/ip_nat.h: No such
file or directory
ipt_pl_DNAT.c:20: warning: â declared inside parameter list
ipt_pl_DNAT.c:20: warning: its scope is only this definition or
declaration, which is probably not what you want
ipt_pl_DNAT.c: In function â:
ipt_pl_DNAT.c:32: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:32: error: â undeclared (first use in this function)
ipt_pl_DNAT.c:32: error: (Each undeclared identifier is reported only
once
ipt_pl_DNAT.c:32: error: for each function it appears in.)
ipt_pl_DNAT.c:42: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:42: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:50: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:53: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:58: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:58: error: â undeclared (first use in this function)
ipt_pl_DNAT.c:63: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:67: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:67: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:71: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c:79: error: dereferencing pointer to incomplete type
ipt_pl_DNAT.c: In function â:
Kind Regards,
Michael da Silva Pereira
---------------------------------------------------------------------
----
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Iptperl-general mailing list
Ipt...@li...
https://lists.sourceforge.net/lists/listinfo/iptperl-general
|