From: "Wiles, Keith" <keith.wiles@intel.com>
To: Surendran Dhuruvan <surendran.dhu@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Not able to compile dpdk-18.02.2 in gcc version 4.4
Date: Mon, 14 Jan 2019 15:04:39 +0000 [thread overview]
Message-ID: <7E63DCC2-0CA9-4314-91B1-5D8E1C27D545@intel.com> (raw)
In-Reply-To: <CAEQFU7qijczzNxzW2WwhW5+vAP-rthTc3_QE2fRYdqvyfnhMiw@mail.gmail.com>
> On Jan 14, 2019, at 3:12 AM, Surendran Dhuruvan <surendran.dhu@gmail.com> wrote:
>
> 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
This normally means the define ALLOW_EXPERIMENTAL_API is not defined, which is normally put on the make command line using -D option.
>
> 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.
Regards,
Keith
prev parent reply other threads:[~2019-01-14 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 9:12 Surendran Dhuruvan
2019-01-14 15:04 ` Wiles, Keith [this message]
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=7E63DCC2-0CA9-4314-91B1-5D8E1C27D545@intel.com \
--to=keith.wiles@intel.com \
--cc=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).