All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Igor A. Valcov" <viaprog@lic1.vsi.ru>
To: linux-kernel@vger.kernel.org
Cc: Semen <semen@basdesign.ru>
Subject: net-tools-1.60 build failed on 2.6.9
Date: Wed, 20 Oct 2004 02:23:45 +0400	[thread overview]
Message-ID: <417593F1.3090300@lic1.vsi.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

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

[-- Attachment #2: if_fddi.h.diff --]
[-- Type: text/plain, Size: 250 bytes --]

--- 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

                 reply	other threads:[~2004-10-19 22:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=417593F1.3090300@lic1.vsi.ru \
    --to=viaprog@lic1.vsi.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=semen@basdesign.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.