http://bugs.linuxfromscratch.org/show_bug.cgi?id=1059

           Summary: IPROUTE2-2.6.9-050209 doesn't compile (undefined
                    reference to `__constant_htons' )
           Product: Linux From Scratch
           Version: 6.0
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: Book
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


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"



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to