DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Problems installing dpdk with gcc5.4 and rhel6
@ 2018-07-18 16:19 Sandeep Gupta
  0 siblings, 0 replies; only message in thread
From: Sandeep Gupta @ 2018-07-18 16:19 UTC (permalink / raw)
  To: users

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. 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-18 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-18 16:19 [dpdk-users] Problems installing dpdk with gcc5.4 and rhel6 Sandeep Gupta

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).