Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] [ANNOUNCE] iproute2 2.6.9-041019
@ 2004-10-19 20:59 Stephen Hemminger
       [not found] ` <Pine.LNX.4.61.0410200805110.8475@boston.corp.fedex.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2004-10-19 20:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev, linux-net, LARTC

Now that 2.6.9 is final. Here is an update of the iproute2 utilities 
that contains
all the patches in my queue. 

    * lnstat to replace rtstat and ctstat (from Harald Welte)
    * latest xfrm related changes
    * several small typo's and build fixes for older systems

http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.9-041019.tar.gz
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019
       [not found] ` <Pine.LNX.4.61.0410200805110.8475@boston.corp.fedex.com>
@ 2004-10-20  7:00   ` Harald Welte
  2004-10-20  9:41     ` [LARTC] iproute2 and 2.6.9 kernel headers (was Re: [ANNOUNCE] iproute2 2.6.9-041019) Harald Welte
  2004-10-20 16:15   ` [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019 Stephen Hemminger
  2004-10-20 16:18   ` Stephen Hemminger
  2 siblings, 1 reply; 5+ messages in thread
From: Harald Welte @ 2004-10-20  7:00 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Stephen Hemminger, Linux Kernel, netdev, linux-net, LARTC

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On Wed, Oct 20, 2004 at 08:21:10AM +0800, Jeff Chua wrote:
> 
> On Tue, 19 Oct 2004, Stephen Hemminger wrote:
> 
> >Now that 2.6.9 is final. Here is an update of the iproute2 utilities that
> 
> 
> can't compile Got the following error. Linux is 2.6.9. Gcc is 2.95.3.

I'll take care of this. sorry fort he inconvenience.

> Thanks,
> Jeff.

-- 
- Harald Welte <laforge@gnumonks.org>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* [LARTC] iproute2 and 2.6.9 kernel headers (was Re: [ANNOUNCE] iproute2 2.6.9-041019)
  2004-10-20  7:00   ` [LARTC] " Harald Welte
@ 2004-10-20  9:41     ` Harald Welte
  0 siblings, 0 replies; 5+ messages in thread
From: Harald Welte @ 2004-10-20  9:41 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Stephen Hemminger, Linux Kernel, netdev, linux-net, LARTC

[-- Attachment #1: Type: text/plain, Size: 2718 bytes --]

On Wed, Oct 20, 2004 at 09:00:17AM +0200, Harald Welte wrote:
> I'll take care of this. sorry fort he inconvenience.

I should actually read mails befor replying ;)  I thought the bug was in
lnstat - but apparently it wasn't.

The include bug seems non-trivial to fix. (how do I hate kernel include
from userspace issues):

apparently __KERNEL_STRICT_NAMES is definde somewhere (glibc?) which
prevents __le16, __le64 and others from being defined in linux/types.h.

Just reietting it like this doesn't help much:


diff -Nru iproute2-2.6.9-041019/ip/iptunnel.c iproute2-2.6.9-laf/ip/iptunnel.c
--- iproute2-2.6.9-041019/ip/iptunnel.c	2004-10-19 22:49:02.000000000 +0200
+++ iproute2-2.6.9-laf/ip/iptunnel.c	2004-10-20 11:26:24.489444052 +0200
@@ -26,6 +26,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <sys/ioctl.h>
+#undef __KERNEL_STRICT_NAMES
 #include <asm/byteorder.h>
 #include <linux/if.h>
 #include <linux/if_arp.h>

Since now we have conflicting definitions

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o iptunnel.o iptunnel.c
In file included from /usr/include/linux/byteorder/big_endian.h:11,
                 from /usr/include/asm/byteorder.h:74,
                 from iptunnel.c:30:
/usr/include/linux/types.h:20: error: conflicting types for `fd_set'
/usr/include/sys/select.h:78: error: previous declaration of `fd_set'
/usr/include/linux/types.h:21: error: conflicting types for `dev_t'
/usr/include/sys/types.h:62: error: previous declaration of `dev_t'
/usr/include/linux/types.h:24: error: conflicting types for `nlink_t'
/usr/include/sys/types.h:77: error: previous declaration of `nlink_t'

I'm done with this, maybe somebody with more clue about kernel include
magic will take on from this.

Additional issue:  the iproute2 makefile didn't stop the build process
in the event of an error.   Stephen, plase consider this patch to fix
it:

diff -Nru iproute2-2.6.9-041019/Makefile iproute2-2.6.9-laf/Makefile
--- iproute2-2.6.9-041019/Makefile	2004-10-19 22:49:02.000000000 +0200
+++ iproute2-2.6.9-laf/Makefile	2004-10-20 11:33:33.223545024 +0200
@@ -29,10 +29,12 @@
 
 LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
 
-all: Config
-	@for i in $(SUBDIRS); \
-	do $(MAKE) $(MFLAGS) -C $$i; done
+all: Config $(SUBDIRS)
 
+.PHONY: $(SUBDIRS)
+$(SUBDIRS):
+	$(MAKE) $(MFLAGS) -C $@;
+	
 Config:
 	./configure $(KERNEL_INCLUDE)
 
-- 
- Harald Welte <laforge@gnumonks.org>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019
       [not found] ` <Pine.LNX.4.61.0410200805110.8475@boston.corp.fedex.com>
  2004-10-20  7:00   ` [LARTC] " Harald Welte
@ 2004-10-20 16:15   ` Stephen Hemminger
  2004-10-20 16:18   ` Stephen Hemminger
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2004-10-20 16:15 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Linux Kernel, netdev, linux-net, LARTC

Try this, ss was dragging in byteorder.h and it didn't need to.

diff -Nru a/misc/ss.c b/misc/ss.c
--- a/misc/ss.c	2004-10-20 09:13:56 -07:00
+++ b/misc/ss.c	2004-10-20 09:13:56 -07:00
@@ -33,7 +33,6 @@
 #include "libnetlink.h"
 #include "SNAPSHOT.h"
 
-#include <asm/byteorder.h>
 #include <linux/tcp.h>
 #include <linux/tcp_diag.h>
 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019
       [not found] ` <Pine.LNX.4.61.0410200805110.8475@boston.corp.fedex.com>
  2004-10-20  7:00   ` [LARTC] " Harald Welte
  2004-10-20 16:15   ` [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019 Stephen Hemminger
@ 2004-10-20 16:18   ` Stephen Hemminger
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2004-10-20 16:18 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Linux Kernel, netdev, linux-net, LARTC

Similar problem to ss in iptunnel. It was including asm/byteorder.h
a kernel header that it didn't need to.

diff -Nru a/ip/iptunnel.c b/ip/iptunnel.c
--- a/ip/iptunnel.c	2004-10-20 09:18:36 -07:00
+++ b/ip/iptunnel.c	2004-10-20 09:18:36 -07:00
@@ -26,7 +26,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <sys/ioctl.h>
-#include <asm/byteorder.h>
 #include <linux/if.h>
 #include <linux/if_arp.h>
 #include <linux/ip.h>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2004-10-20 16:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 20:59 [LARTC] [ANNOUNCE] iproute2 2.6.9-041019 Stephen Hemminger
     [not found] ` <Pine.LNX.4.61.0410200805110.8475@boston.corp.fedex.com>
2004-10-20  7:00   ` [LARTC] " Harald Welte
2004-10-20  9:41     ` [LARTC] iproute2 and 2.6.9 kernel headers (was Re: [ANNOUNCE] iproute2 2.6.9-041019) Harald Welte
2004-10-20 16:15   ` [LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019 Stephen Hemminger
2004-10-20 16:18   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox