drv netif dpdk after ./buildme.sh compile problem:
== Build app/dump_cfg
CC main.o
LD dump_cfg
INSTALL-APP dump_cfg
INSTALL-MAP dump_cfg.map
Build complete
dependall ===> libdpdkif
create libdpdkif/dpdkif_user.d
create libdpdkif/if_virt.d
create libdpdkif/.depend
compile libdpdkif/dpdkif_user.o
dpdkif_user.c: In function 'deliverframe':
dpdkif_user.c:174:9: error: 'struct rte_mbuf' has no member named 'pkt'
if (rm0->pkt.nb_segs > STACK_MEXTDATA) {
^
dpdkif_user.c:175:38: error: 'struct rte_mbuf' has no member named 'pkt'
mextp = malloc(sizeof(*mextp) * rm0->pkt.nb_segs);
^
dpdkif_user.c:183:28: error: 'struct rte_mbuf' has no member named 'pkt'
for (rm = rm0; rm; rm = rm->pkt.next, mextp++) {
^
dpdkif_user.c:183:38: error: left-hand operand of comma expression has no
effect [-Werror=unused-value]
for (rm = rm0; rm; rm = rm->pkt.next, mextp++) {
^
cc1: all warnings being treated as errors
*** Failed target: dpdkif_user.o
*** Failed command:
/opt/drv-netif-dpdk-buildrump.sh-v20140317/rumptools/bin/x86_64--netbsd-gcc -o
dpdkif_user.o -O2 -g -Wno-format-zero-length -Wno-pointer-sign -Werror -Wall
-Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-I/opt/drv-netif-dpdk-buildrump.sh-v20140317/rumptools/dest/usr/include
-U_FORTIFY_SOURCE -DVIRTIF_BASE=dpdk
-I/opt/drv-netif-dpdk-buildrump.sh-v20140317/src/libdpdkif/virtif
-I/opt/drv-netif-dpdk-buildrump.sh-v20140317/dpdk/build/include -c dpdkif_user.c
*** Error code 1
Stop.
nbmake[2]: stopped in /opt/drv-netif-dpdk-buildrump.sh-v20140317/src/libdpdkif
*** Failed target: dependall
*** Failed command: cd
"/opt/drv-netif-dpdk-buildrump.sh-v20140317/src/libdpdkif";
/opt/drv-netif-dpdk-buildrump.sh-v20140317/rumptools/bin/nbmake realall
*** Error code 1
Stop.
nbmake[1]: stopped in /opt/drv-netif-dpdk-buildrump.sh-v20140317/src/libdpdkif
*** Failed target: dependall-libdpdkif
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/opt/drv-netif-dpdk-buildrump.sh-v20140317/src" ;; *) this="${dir}/";
real="/opt/drv-netif-dpdk-buildrump.sh-v20140317/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /opt/drv-netif-dpdk-buildrump.sh-v20140317/rumptools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libdpdkif dependall
*** Error code 1
Stop.
nbmake: stopped in /opt/drv-netif-dpdk-buildrump.sh-v20140317/src
./buildme.sh: 25: ./buildme.sh: dpdkif: not found
Please tell me how to solve
[email protected]