[dpdk-users] Problems installing dpdk with gcc5.4 and rhel6
Sandeep Gupta
sandeep at vaticlabs.ai
Wed Jul 18 18:19:36 CEST 2018
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.
More information about the users
mailing list