From: Sandeep Gupta <sandeep@vaticlabs.ai>
To: users@dpdk.org
Subject: [dpdk-users] Problems installing dpdk with gcc5.4 and rhel6
Date: Wed, 18 Jul 2018 12:19:36 -0400 [thread overview]
Message-ID: <CAGqU8TC5jvYQaQKhjsYs5ntYEgwPM6wWXG+gAyF_meG-nz47Vw@mail.gmail.com> (raw)
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=/path/to/my/gcc/
install T=x86_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_bus.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_dev.h:189:
error: wrong number of arguments specified for ‘deprecated’ attribute
/home/sandeep/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_dev.h:205:
error: wrong number of arguments specified for ‘deprecated’ 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=/path/to/my/gcc` before running the
installation.
Any help is appreciated.
Thanks!
Sandeep.
--
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message and are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.
reply other threads:[~2018-07-18 16:20 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=CAGqU8TC5jvYQaQKhjsYs5ntYEgwPM6wWXG+gAyF_meG-nz47Vw@mail.gmail.com \
--to=sandeep@vaticlabs.ai \
--cc=users@dpdk.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).