lkml.org 
[lkml]   [2004]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectnet-tools-1.60 build failed on 2.6.9
Hi.

Without this patch (apply to /usr/include/netinet/if_fddi.h) build
net-tools-1.60 failed

gcc -D_GNU_SOURCE -O3 -march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2
-mfpmath=sse -I. -idirafter ./include/ -Ilib
-I/var/tmp/portage/net-tools-1.60-r9/work/net-tools-1.60 -idirafter
/var/tmp/portage/net-tools-1.60-r9/work/net-tools-1.60/include -c -o
fddi.o fddi.c
In file included from /usr/include/netinet/if_fddi.h:26,
from fddi.c:30:
/usr/include/linux/if_fddi.h:110: error: field `gen' has incomplete type

--
Igor A. Valcov
--- if_fddi.h.bak 2004-10-20 02:15:18.127214584 +0400
+++ if_fddi.h 2004-10-20 02:15:32.225071384 +0400
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <asm/types.h>

+#include <linux/netdevice.h>
#include <linux/if_fddi.h>

#ifdef __USE_BSD
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.021 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site