From: nirinA raseliarison <nirina.raseliarison@gmail•com>
To: "Stephen Hemminger" <stephen@networkplumber•org>
Cc: netdev@vger•kernel.org
Subject: if_bridge.h:183:20: error: field 'ip6' has incomplete type
Date: Sun, 23 Jun 2013 02:09:22 +0300 [thread overview]
Message-ID: <op.wy3rxwht9ey1ta@localhost> (raw)
hello there,
i got the errors below when building brigde-utils-1.5.
adding "in6.h" to "if_bridge.h" apparently solve them;
but i would be happy if someone can advise me to build
bridge-utils and the correct fix for these issues.
thanks,
-------------8<----------------------8<-------------------------------------
In file included from libbridge.h:24:0,
from libbridge_devif.c:28:
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete
type
struct in6_addr ip6;
^
In file included from libbridge.h:24:0,
from libbridge_if.c:26:
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete
type
struct in6_addr ip6;
^
In file included from libbridge.h:24:0,
from libbridge_init.c:28:
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete
type
struct in6_addr ip6;
^
In file included from libbridge.h:24:0,
from libbridge_misc.c:24:
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete
type
struct in6_addr ip6;
^
[...]
gcc -Wall -O2 -fPIC -I../libbridge -I/usr/src/linux/include -c brctl.c
In file included from ../libbridge/libbridge.h:24:0,
from brctl.c:25:
/usr/include/linux/if_bridge.h:183:20: error: field 'ip6' has incomplete
type
struct in6_addr ip6;
^
-------------8<----------------------8<-------------------------------------
diff -u include/uapi/linux/if_bridge_orig.h include/uapi/linux/if_bridge.h
--- include/uapi/linux/if_bridge_orig.h 2013-06-23 03:55:34.072971125 +0300
+++ include/uapi/linux/if_bridge.h 2013-06-23 03:55:45.676970995 +0300
@@ -14,6 +14,7 @@
#define _UAPI_LINUX_IF_BRIDGE_H
#include <linux/types.h>
+#include <linux/in6.h>
#define SYSFS_BRIDGE_ATTR "bridge"
#define SYSFS_BRIDGE_FDB "brforward"
-------------8<----------------------8<-------------------------------------
--
nirinA
reply other threads:[~2013-06-22 23:09 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=op.wy3rxwht9ey1ta@localhost \
--to=nirina.raseliarison@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stephen@networkplumber$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox