DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: BYEONG-GI KIM <kimbyeonggi@gmail.com>,
	"Choi, Sy Jong" <sy.jong.choi@intel.com>,
	"Dpdk-ovs@lists.01.org" <Dpdk-ovs@lists.01.org>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Error while compiling DPDK
Date: Mon, 14 Jul 2014 08:27:31 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D89721C31B59@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <CAEHt_JahewNF2DUfNkbb+3j8==-dG-sDCMJsr4BHi1t3+69BgQ@mail.gmail.com>

Hi Byeong-gi,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
> Sent: Monday, July 14, 2014 5:44 AM
> To: Choi, Sy Jong; Dpdk-ovs@lists.01.org; dev@dpdk.org
> Subject: Re: [dpdk-dev] Error while compiling DPDK
> 
> Dear Choi,
> 
> Of course I used "export RTE_TARGET=x86_64-default-linuxapp-gcc" when I was
> trying to compile it.
> 
> By the way, the compilation went off to one more step, there was another
> error message though;
> 
> == Build lib/librte_eal/linuxapp/kni
>   LD
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/built-in.o
>   CC [M]
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:
> In function 'ixgbe_del_mac_filter':
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:525:3:
> error: implicit declaration of function 'compare_ether_addr'
> [-Werror=implicit-function-declaration]
>    if (!compare_ether_addr(addr, adapter->mac_table[i].addr) &&
>    ^
> cc1: all warnings being treated as errors
> make[10]: ***
> [/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o]
> Error 1
> make[9]: ***
> [_module_/home/stack/dpdk/DPDK-1.6.0/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
> 
> Honestly, I've never been able to compile DPDK successfully... I had been
> trying to compile it on CentOS 6.5, and was failed. Then I changed OS from
> CentOS to Fedora, but there are still lots of errors.
> 
> Best regards
> 
> Byeong-Gi KIM

To compile DPDK, you don't need to export RTE_TARGET, that's just for apps.
Anyway, have you tried to compile the latest dpdk version? Just remember to 
use different target: x86_64-native-linuxapp-gcc.

Regards,
Pablo


  reply	other threads:[~2014-07-14  8:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  0:24 BYEONG-GI KIM
2014-07-14  1:00 ` Choi, Sy Jong
2014-07-14  1:24   ` BYEONG-GI KIM
2014-07-14  2:02     ` Masaru Oki
2014-07-14  2:04       ` BYEONG-GI KIM
2014-07-14  2:40         ` Choi, Sy Jong
2014-07-14  3:28           ` BYEONG-GI KIM
2014-07-14  4:32             ` Choi, Sy Jong
2014-07-14  4:43               ` BYEONG-GI KIM
2014-07-14  8:27                 ` De Lara Guarch, Pablo [this message]
2014-07-14 11:46 ` 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=E115CCD9D858EF4F90C690B0DCB4D89721C31B59@IRSMSX103.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=Dpdk-ovs@lists.01.org \
    --cc=dev@dpdk.org \
    --cc=kimbyeonggi@gmail.com \
    --cc=sy.jong.choi@intel.com \
    /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).