netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [IPROUTE] compilation problem
@ 2007-03-15 12:55 Nadia Derbey
  2007-03-16 18:23 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Nadia Derbey @ 2007-03-15 12:55 UTC (permalink / raw)
  To: netdev

Hi,

Trying to compile iproute2 (downloaded from 
http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.20-070313.tar.gz) 
I get the following error message.

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include 
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_ipt.o m_ipt.c
In file included from ../include/libiptc/libiptc.h:6,
                  from ../include/iptables.h:5,
                  from m_ipt.c:17:
../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: 
linux/netfilter/xt_tcpudp.h: No such file or directory
make[1]: *** [m_ipt.o] Error 1
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/home/lkernel/src/iproute-2.6.20-070313/tc'



This error goes away when I copy xt_tcpudp.h from the linux kernel tree 
(include/linux/netfilter) to the the private iproute include directory.

Am I doing something wrong?

Please Cc me since I'm not subscribed.

Regards,
Nadia



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [IPROUTE] compilation problem
  2007-03-15 12:55 [IPROUTE] compilation problem Nadia Derbey
@ 2007-03-16 18:23 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2007-03-16 18:23 UTC (permalink / raw)
  To: Nadia Derbey; +Cc: netdev

On Thu, 15 Mar 2007 13:55:36 +0100
Nadia Derbey <Nadia.Derbey@bull.net> wrote:

> Hi,
> 
> Trying to compile iproute2 (downloaded from 
> http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.20-070313.tar.gz) 
> I get the following error message.
> 
> gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include 
> -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_ipt.o m_ipt.c
> In file included from ../include/libiptc/libiptc.h:6,
>                   from ../include/iptables.h:5,
>                   from m_ipt.c:17:
> ../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: 
> linux/netfilter/xt_tcpudp.h: No such file or directory
> make[1]: *** [m_ipt.o] Error 1
> rm emp_ematch.lex.c emp_ematch.yacc.c
> make[1]: Leaving directory `/home/lkernel/src/iproute-2.6.20-070313/tc'
> 
> 
> 
> This error goes away when I copy xt_tcpudp.h from the linux kernel tree 
> (include/linux/netfilter) to the the private iproute include directory.
> 
> Am I doing something wrong?

No more ip_tables API change breakage. For now suck xt_tcpudp.h from
current kernel tree into the iproute2 include directory. I'll fix
for later versions.

-- 
Stephen Hemminger <shemminger@linux-foundation.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-16 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 12:55 [IPROUTE] compilation problem Nadia Derbey
2007-03-16 18:23 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).