From patchwork Sat Jun 22 23:09:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nirinA raseliarison X-Patchwork-Id: 253450 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CF3742C0419 for ; Sun, 23 Jun 2013 09:09:21 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478Ab3FVXJN (ORCPT ); Sat, 22 Jun 2013 19:09:13 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:37517 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943Ab3FVXJL (ORCPT ); Sat, 22 Jun 2013 19:09:11 -0400 Received: by mail-wg0-f46.google.com with SMTP id c11so7275700wgh.13 for ; Sat, 22 Jun 2013 16:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:date:subject:to:cc:mime-version :content-transfer-encoding:from:message-id:user-agent; bh=IOKyilP3umPAYXQbiFNBsBDrFlVg5oWErbTqDcuhXcg=; b=xoxG6LaJlhiA59hWMujtv3yRFFrIEgA4a9qP7vmusyV7jQjXyVOcKV3zklemjPcScW M7Uz392aCmhAC+3bYL1TsbCJaeuD66QK9ixTZijY4aXJgmQPmJwcdC/fRbrtC2x61t3u T8WdjTnJEaU4a9zawgc//++eO+eoGbUAP0BDF+nVPg8ezVmj6/ooxY1AlTFHaD17fJR3 UbZefn39I/o7r2pwC1e68/IsQcVOP2vWYBe8+nR8Jk1uX1EUrpnJqJObfCenNMw2QTrj 7BGhAsV7Prrz2ALbIeUPIA37UKXEF5oc2MIk/ka6RNcgFQJ9+Blx8JJ8b33WahdNZZCl rnlg== X-Received: by 10.194.158.130 with SMTP id wu2mr13017520wjb.12.1371942549509; Sat, 22 Jun 2013 16:09:09 -0700 (PDT) Received: from localhost ([41.77.16.69]) by mx.google.com with ESMTPSA id fv11sm6764737wic.11.2013.06.22.16.09.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 22 Jun 2013 16:09:08 -0700 (PDT) Date: Sun, 23 Jun 2013 02:09:22 +0300 Subject: if_bridge.h:183:20: error: field 'ip6' has incomplete type To: "Stephen Hemminger" Cc: netdev@vger.kernel.org MIME-Version: 1.0 From: nirinA raseliarison Message-ID: User-Agent: Opera Mail/11.10 (Linux) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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<------------------------------------- -------------8<----------------------8<------------------------------------- --- nirinA -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 +#include #define SYSFS_BRIDGE_ATTR "bridge" #define SYSFS_BRIDGE_FDB "brforward"