DPDK patches and discussions
 help / color / mirror / Atom feed
From: Matthew Hall <mhall@mhcomputing.net>
To: dev@dpdk.org
Subject: [dpdk-dev] compiling pktgen w/ DPDK 2.1.0 and master seems broken
Date: Sun, 22 Nov 2015 04:06:16 -0500	[thread overview]
Message-ID: <20151122090616.GA15292@mhcomputing.net> (raw)

Hello,

There are some really weird errors if you try to compile pktgen using DPDK 
2.1.0. No matter what I try, the logic in the DPDK external app *.mk files 
seems to mess up the value of RTE_OUTPUT.

I tried tracing through the *.mk and I found various places where it was set 
right and various places where it was set wrong but never narrowed it down to 
a more specific spot.

It appears to involve Makefiles in subdirs, and rte.extsubdir.mk, but I can't 
figure out what is happening.

Also, if I try compiling pktgen against master, then I get some new problems:

app/pktgen-stats.c:308:9: error: ibadcrc is deprecated [-Werror=deprecated-declarations]
app/pktgen-stats.c:309:9: error: ibadlen is deprecated [-Werror=deprecated-declarations]

What is the secret recipe people are using to get this thing to compile right? 
Did I miss something?

Matthew.

mhall@mvs-01:~/src/sdn_sensor/external/pktgen-dpdk$ export RTE_TARGET=x86_64-native-linuxapp-gcc
mhall@mvs-01:~/src/sdn_sensor/external/pktgen-dpdk$ export RTE_SDK=$(realpath ~/dpdk/)
mhall@mvs-01:~/src/sdn_sensor/external/pktgen-dpdk$ make V=1 SHELL="/bin/sh -x"
+ [ -d /home/mhall/src/sdn_sensor/external/pktgen-dpdk/lib/common/lib/common/x86_64-native-linuxapp-gcc/lib ]
+ cp -f wr_copyright_info.o wr_port_config.o wr_core_info.o wr_lscpu.o wr_utils.o wr_coremap.o wr_pcap.o wr_cksum.o wr_l2p.o wr_scrn.o /home/mhall/src/sdn_sensor/external/pktgen-dpdk/lib/common/lib/common/x86_64-native-linuxapp-gcc/build/lib
cp: target /home/mhall/src/sdn_sensor/external/pktgen-dpdk/lib/common/lib/common/x86_64-native-linuxapp-gcc/build/lib is not a directory
/home/mhall/src/sdn_sensor/external/dpdk/mk/rte.lib.mk:146: recipe for target 'libcommon.a' failed
make[3]: *** [libcommon.a] Error 1
/home/mhall/src/sdn_sensor/external/dpdk/mk/rte.extlib.mk:42: recipe for target 'all' failed
make[2]: *** [all] Error 2
/home/mhall/src/sdn_sensor/external/dpdk/mk/rte.extsubdir.mk:46: recipe for target 'common' failed
make[1]: *** [common] Error 2
/home/mhall/src/sdn_sensor/external/dpdk/mk/rte.extsubdir.mk:46: recipe for target 'lib' failed
make: *** [lib] Error 2

                 reply	other threads:[~2015-11-22  9:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20151122090616.GA15292@mhcomputing.net \
    --to=mhall@mhcomputing.net \
    --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).