All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pawel Wodkowski <pawelx.wodkowski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Shankari Vaidyalingam
	<shankari.v2k6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: Error while executing make - Pktgen-DPDK
Date: Tue, 10 Feb 2015 08:48:33 +0100	[thread overview]
Message-ID: <54D9B7D1.3060300@intel.com> (raw)
In-Reply-To: <CAGeyXNeyaxa8Q2qJVC8EZKxQV-+=YZ_Zj+HTR4VZJqexQpPP3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 2015-02-09 20:25, Shankari Vaidyalingam wrote:
> Hi,
>
> I'm trying to compile the DPDK code coming along with the Pktgen-DPDK.
> I got the source code of Pktgen-DPDK by cloning the Git repository using -
> sudo git clone git://github.com/Pktgen/Pktgen-DPDK.git

On Ubuntu 12.04 you need to apply this patch 
http://dpdk.org/ml/archives/dev/2014-August/004771.html if you are using 
github repo. I don't think this repo is maintained anymore. You can use 
this repo http://dpdk.org/browse/apps/pktgen-dpdk/.

Pawel

>
> I'm getting the below error when I tried executing make:
>
> from
> /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,
>                   from
> /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
>                   from
> /home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
> /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3864:63:
> error: missing binary operator before token "~"
> make[10]: ***
> [/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o]
> Error 1
> make[9]: ***
> [_module_/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-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-native-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2
>
> Please let me know how to resolve this issue.
>
> Regards
> Shankari.V
>


-- 
Pawel

      parent reply	other threads:[~2015-02-10  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 19:25 Error while executing make - Pktgen-DPDK Shankari Vaidyalingam
     [not found] ` <CAGeyXNeyaxa8Q2qJVC8EZKxQV-+=YZ_Zj+HTR4VZJqexQpPP3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-10  7:48   ` Pawel Wodkowski [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=54D9B7D1.3060300@intel.com \
    --to=pawelx.wodkowski-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=shankari.v2k6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.