From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f196.google.com (mail-ob0-f196.google.com [209.85.214.196]) by dpdk.org (Postfix) with ESMTP id 1D56F9AA6 for ; Mon, 20 Jun 2016 07:53:15 +0200 (CEST) Received: by mail-ob0-f196.google.com with SMTP id wj2so2908725obc.2 for ; Sun, 19 Jun 2016 22:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=R7xAc+kLi8vM7f/HVSJU6llZeANW8Lk9N+WecOJ/CQE=; b=oIPLShS2PeI0NuR2t7WTKDXyPPjJWAxPBQVnV23C6uwg04kXrvAtWZTSa9J1TsqBKp SjVB13CaiKViVWyWnRNcwbr/Or5fDZcszn+fd5OajspUH2stj4s2dvyBCuoZNdR2/Rlj hCacIAZuWpyvexD9Ci0sJ/X0SGZGGKVL3hxhyV2eTtihBnePIkAMku/JfzOcnxAw3gCa zBR+iOTxAPdtF+53vvLImL+ez7JTFIy8RT6/9ClpLQjhJvEP0KWMxVjykd77z6fs8a8p 2fol43/OIUitWPBr6a/6YgKDoJKm9fpJl8E63ynScA8FiUIB970eARcTOS6hQPpVaUyY fecg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=R7xAc+kLi8vM7f/HVSJU6llZeANW8Lk9N+WecOJ/CQE=; b=buLbZkvaKDqKjRldtq3HGY2Ksfo8cfMNvn0G+OGFU1vhJ8AVX2ePBKImImreOfdG8K w8nSaCpgswoABn+uFkIWbq3DNaS5UufnkCJscsIoCLjML4+0uVn7Bu0rVSarMRVg7Nak FU6Oanp8aFnyyAQRAOj72IIUkkIM/0uXmogrp/YVvh5SbJ5JC7EgU0ijxnLEa7X8rTyY j27qsMZu7AwvLeEPZSwNROwTzFuXEol2Hywi/DgLEyNCWAeIHHhJGSNw4FN/dQlQ+Vty 1OnhDYp/95eV67vHMPrJarEAUkwPzKLb/sPLlBWYEV1Qgl5CeI6x11vzMOKODrYLEOVA iE6Q== X-Gm-Message-State: ALyK8tKHpFMgMY0qfyvhbut1MnNmObJQvXLY/flIPKGo7xfteBTOKKj0wTWJYete2VDE1TJ4pWQkRC6+SNmFpw== X-Received: by 10.157.12.228 with SMTP id o33mr7199608otd.96.1466401994399; Sun, 19 Jun 2016 22:53:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.59.67 with HTTP; Sun, 19 Jun 2016 22:53:13 -0700 (PDT) From: Anupam Kapoor Date: Mon, 20 Jun 2016 11:23:13 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] build error on git checkout X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 05:53:15 -0000 hi, while building dpdk from a latest git checkout, i am seeing the following build errors: ,---- | == Build lib/librte_eal/linuxapp/kni | CC [M] <...>/dpdk-sources/build/build/lib/librte_eal/linuxapp/kni/ixgbe_82599.o | <...>/dpdk-sources/build/build/lib/librte_eal/linuxapp/kni/ixgbe_82599.c: In function 'ixgbe_setup_mac_link_82599': | <...>/dpdk-sources/build/build/lib/librte_eal/linuxapp/kni/ixgbe_82599.c:870:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] | if (speed & IXGBE_LINK_SPEED_10GB_FULL) | ^~ | <...>/dpdk-sources/build/build/lib/librte_eal/linuxapp/kni/ixgbe_82599.c:873:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' | if ((orig_autoc & IXGBE_AUTOC_KR_SUPP) && | ^~ | cc1: all warnings being treated as errors `---- similar error is also seen for <...>/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.c in e1000_read_phy_reg_mphy(...) and e1000_write_phy_reg_mphy(...) as well. build environment details: dpdk-devel% uname -a Linux dpdk-devel 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux dpdk-devel% dpdk-devel% gcc --version gcc (GCC) 6.1.1 20160602 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- thanks anupam