From: Prashant Upadhyaya <praupadhyaya@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] compilation error with 1.6.0r2
Date: Thu, 15 May 2014 20:14:00 +0530 [thread overview]
Message-ID: <CAPBAu3U4HrFUT6FaK+A+DWi6x+qDiSuGBhdZz2iQccnsQqgLSQ@mail.gmail.com> (raw)
[resending on the list]
Hi,
I recently picked the 1.6.0r2 from dpdk.org and tried to compile it the
usual way and ran into the following compilation error.
I am aware I can sidestep these by getting the compiler to treat them as
warnings, but these did not use to come with 1.6.0r1 so wanted to report it
here.
I am using Fedora 18 to compile this version of DPDK.
Regards
-Prashant
[root@localhost ~]# cd dpdk-1.6.0r2/
[root@localhost dpdk-1.6.0r2]# make install T=x86_64-default-linuxapp-gcc
================== Installing x86_64-default-linuxapp-gcc
== Build scripts
== Build scripts/testhost
== Build lib
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
Building modules, stage 2.
MODPOST 1 modules
== Build lib/librte_eal/linuxapp/eal
== Build lib/librte_eal/linuxapp/kni
CC [M]
/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.o
/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.c:
In function 'igb_get_eee':
*/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.c:2441:4:
error: implicit declaration of function 'mmd_eee_adv_to_ethtool_adv_t'
[-Werror=implicit-function-declaration]*
/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.c:
In function 'igb_set_eee':
*/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.c:2551:2:
error: implicit declaration of function 'ethtool_adv_to_mmd_eee_adv_t'
[-Werror=implicit-function-declaration]*
cc1: all warnings being treated as errors
make[10]: ***
[/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.o]
Error 1
make[9]: ***
[_module_/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni]
Error 2
make[8]: *** [sub-make] Error 2
make[7]: *** [rte_kni.ko] Error 2
make[6]: *** [kni] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2
[root@localhost dpdk-1.6.0r2]#
next reply other threads:[~2014-05-15 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 14:44 Prashant Upadhyaya [this message]
2014-05-22 14:31 ` Thomas Monjalon
-- strict thread matches above, loose matches on Subject: below --
2014-05-12 8:45 Prashant Upadhyaya
2014-05-12 9:11 ` Thomas Monjalon
2014-05-12 11:33 ` Neil Horman
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=CAPBAu3U4HrFUT6FaK+A+DWi6x+qDiSuGBhdZz2iQccnsQqgLSQ@mail.gmail.com \
--to=praupadhyaya@gmail.com \
--cc=dev@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).