[ << | Thread Index | >> ]    [ << | Date Index | >> ]

To: cipe-l,AT,inka,DOT,de
Subject: Cipe on 2.6.16 patch
From: Erik Wallin <erikw,AT,sec,DOT,se>
Date: Thu, 25 May 2006 22:58:58 +0200

At least in the Gentoo distribution cipe fails to compile under
gentoo-sources-2.6.16-r7. I could imagine that a vanilla 2.6.16 kernel
would have the same problem.

The build complains about the function "RT_TOS" not being defined.

Adding the following include file seems to solve the problem.

#include <net/ip.h>
+#include <net/route.h>
#include <net/icmp.h>

linux/in_route.h was removed from linux/ip.h in 2.6.16. I'm not quite
sure if the kernel version of the include file (linux/in_route.h) or the
library version (net/route.h) should be used. Someone who is more
involved in the development should have the final word on that.

/Erik


[ << | Thread Index | >> ]    [ << | Date Index | >> ]