[quagga-dev 4584] Re: Which Linux Kernel Version?

Andrew J. Schorr aschorr at telemetry-investments.com
Fri Feb 23 13:42:12 GMT 2007

On Fri, Feb 23, 2007 at 05:49:44AM +0000, Daniel Ng wrote:
> This output seems to suggest a problem with the Kernel Header file rtnetlink.h. 

I think I had a similar problem building on FC6.  Can you please try
the attached patch and let me know if it helps?  I'm not
sure it's the ideal patch, but it may get the software to build...

-------------- next part --------------
Index: lib/zebra.h
RCS file: /var/cvsroot/quagga/lib/zebra.h,v
retrieving revision 1.42
diff -b -u -p -r1.42 zebra.h
--- lib/zebra.h	28 May 2006 08:08:24 -0000	1.42
+++ lib/zebra.h	23 Feb 2007 13:36:03 -0000
@@ -63,6 +63,9 @@ typedef int socklen_t;
 #include <sys/types.h>
 #include <sys/param.h>
+#ifdef GNU_LINUX
+#include <linux/types.h>
 #include <sys/sysctl.h>
 #endif /* HAVE_SYS_SYSCTL_H */
 #include <sys/ioctl.h>

More information about the Quagga-dev mailing list