DPDK usage discussions
 help / color / mirror / Atom feed
From: Surendran Dhuruvan <surendran.dhu@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Not able to compile dpdk-18.02.2 in gcc version 4.4
Date: Mon, 14 Jan 2019 14:42:53 +0530	[thread overview]
Message-ID: <CAEQFU7qijczzNxzW2WwhW5+vAP-rthTc3_QE2fRYdqvyfnhMiw@mail.gmail.com> (raw)

Hi,

Am trying to compile dpdk-18.02.2 in rhel 6.10 which has gcc version 4.4.

while compiling am facing following error

In file included from
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_bus.h:53,
                 from /root/dpdk-stable-18.02.2/lib/librte_pci/rte_pci.c:17:
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_dev.h:189:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/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 /root/dpdk-stable-18.02.2/lib/librte_pci/rte_pci.c:20:
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:188:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:253:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:270:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:289:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:318:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:340:
error: wrong number of arguments specified for ‘deprecated’ attribute
/root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_eal.h:464:
error: wrong number of arguments specified for ‘deprecated’ attribute
make[5]: *** [rte_pci.o] Error 1
make[4]: *** [librte_pci] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2

it seems i need gcc 4.5 and above to overcome this error.
but my internal tools are running on gcc 4.4, so that am not able to
upgrade the version.

is there any other way to overcome this issue ?

Thanks in advance !

-- 
Surendran
software engineer,
HCL-CISCO,
chennai.

             reply	other threads:[~2019-01-14  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  9:12 Surendran Dhuruvan [this message]
2019-01-14 15:04 ` Wiles, Keith

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=CAEQFU7qijczzNxzW2WwhW5+vAP-rthTc3_QE2fRYdqvyfnhMiw@mail.gmail.com \
    --to=surendran.dhu@gmail.com \
    --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).