Opened 19 years ago

Closed 19 years ago

#1059 closed defect (invalid)

IPROUTE2-2.6.9-050209 doesn't compile (undefined reference to `__constant_htons' )

Reported by: stelgn@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: 6.0
Severity: major Keywords:
Cc:

Description

Compiling errors show with 2.6.10 Kernel and 2.3.4 Glibc

Fix:

--- iproute2-2.6.9-050209/ip/iptunnel.c.orig 2005-03-06 00:22:11.069784441 +0800 +++ iproute2-2.6.9-050209/ip/iptunnel.c 2005-03-06 01:50:29.711234091 +0800 @@ -29,6 +29,11 @@

#include <linux/if.h> #include <linux/if_arp.h> #include <linux/ip.h>

+ +#ifndef constant_htons +#define constant_htons(x) htons(x) +#endif +

#include <linux/if_tunnel.h>

#include "rt_names.h"

Change History (1)

comment:1 by jeremy@…, 19 years ago

Resolution: invalid
Status: newclosed

This problem is already known, and is why iproute2 has not been upgraded in the LFS book. Since this version of iproute2 is not in the book, there's no action to be taken, and am marking this invalid.

Note: See TracTickets for help on using tickets.