From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by dpdk.org (Postfix) with ESMTP id 429C210A3 for ; Wed, 18 Jul 2018 18:20:08 +0200 (CEST) Received: by mail-it0-f42.google.com with SMTP id h2-v6so4975686itj.1 for ; Wed, 18 Jul 2018 09:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vaticlabs-ai.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=hBVBQz/Ya+z6fdDqG1SxtAanvmmA5woxsHavcw4ft80=; b=pYcLlXrBAcL6c3Tc4a80Q/Z6y8gf/UXUEdhRM9tUhwEM4OVLRxpnhycKr6K1mv2I4B KcowlSc/42xoF1mpNxeOG9M6WF/uKk3kJUvHXLeQNGeFGqV4tZMzGo2TbgWBMrjV+DoW lagm1Ee7YjctFRMPV2J4Ef7rNl+0RPaUeLzhWqKapmBgTctvZcGPBjoKStVtZTgSvC1X N3aF1Uk5VuEj/XZoVwVXFOjHGe8U7KOjrbBw3+vVOisVNPMxd7inGKzRSMZzQ2n2m68f nCWlpCfcwcoqQ4GNdZjlTZrmcUqSRq08i4ZU8KUnUAEMa/zTb05clonTZB60HGIKdNag NmRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hBVBQz/Ya+z6fdDqG1SxtAanvmmA5woxsHavcw4ft80=; b=VcFQHRcX6G22avhfR/l+FDQwGgAQdEnGWgflfVBjHv8IVg76bCmEO661AlzGJe62ur 48M/oqg9/xG0Q3294jQCH1jIecfs4cAEK0lE7mzNgzaee4YTIP8r57V7LaTIplYtEsCX d+5kF1VdUoCrVN/H71AC+j4YuEKCrwBOlMLHsWI9rAtaXDwWpOoD3IkSSRqrJyudzSbE 8Z0qUx1eI98dHbIdIz0ltXDfXRVzJ125W+PAItLoU4l73XWUtMfSAD1YiSkMbRTsvVy4 qKQ33x0K8cSOycHXH3bhp++5RSV7r3VUM2L+1dg+mGVpmKytO3+qOsNXmd4YTBa3XbC4 GxCg== X-Gm-Message-State: AOUpUlEgKYq8kSzka05fThcFH+Sa4byWDYcoDHxjtLp17mmSenD4bGwR xaR0w/zV6XEgkO+7EzoW+Hmkt+BLCm9mJ5E24cD/gBzLWIOkXwuZjuZhnLAG5Gawf+nYP5uY/zR VZUIVX4KRcaj7wyx2Q51G X-Google-Smtp-Source: AAOMgpe+ivSVzS/tuD7vNFOmQR+6WCtMsQe5XnQSWMIP9QKiEp0PIB3IAXOb8m2BTFuyazNqk6Kb1Jvc2ZgZv1dtdRM= X-Received: by 2002:a24:65d5:: with SMTP id u204-v6mr2483567itb.8.1531930807224; Wed, 18 Jul 2018 09:20:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:3448:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 09:19:36 -0700 (PDT) From: Sandeep Gupta Date: Wed, 18 Jul 2018 12:19:36 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Problems installing dpdk with gcc5.4 and rhel6 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 16:20:08 -0000 Hello, I am trying to install latest stable dpdk (18.0.2) on my rhel6 box with gcc5.4 and am running into some errors. 1. Command being run `make CC=3D/path/to/my/gcc/ install T=3Dx86_64-native-linuxapp-gcc` The error that I am getting is this: ``` In file included from /home/sandeep/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_bu= s.h:53, from /home/sandeep/dpdk-stable-18.02.2/lib/librte_pci/rte_pci.c:17: /home/sandeep/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_de= v.h:189: error: wrong number of arguments specified for =E2=80=98deprecated=E2=80=99= attribute /home/sandeep/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_de= v.h:205: error: wrong number of arguments specified for =E2=80=98deprecated=E2=80=99= attribute In file included from /home/sandeep/dpdk-stable-18.02.2/lib/librte_pci/rte_pci.c:20: ``` On searching on google, this error "wrong number of arguments" seem to be with older versions of gcc, but not with 5.4 $ /path/to/my/gcc --version gcc (GCC) 5.4.0 Copyright (C) 2015 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. I have also done `export CC=3D/path/to/my/gcc` before running the installation. Any help is appreciated. Thanks! Sandeep. --=20 This message (including any attachments) contains confidential information= =20 intended for a specific individual and purpose, and is protected by law. If= =20 you are not the intended recipient, you should delete this message and are= =20 hereby notified that any disclosure, copying, or distribution of this=20 message, or the taking of any action based on it, is strictly prohibited.= =C2=A0