Try "make install-dep install-ext-deps"...

 

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of hemant via
lists.fd.io
Sent: Sunday, December 27, 2020 7:35 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] latest gerrit vpp build fails?

 

I used the following steps to download latest vpp:

 

git clone https://gerrit.fd.io/r/vpp

sudo make install-deps

sudo make build-release

 

The build failure log is included below.

 

Do I have to do a "git checkout xxx" version to the build to succeed and if
so, what is the version?

 

Thanks,

 

Hemant

 

[1788/2395] Building C object plugin...es/dpdk_plugin.dir/device/format.c.o

FAILED: plugins/dpdk/CMakeFiles/dpdk_plugin.dir/device/format.c.o 

ccache /usr/bin/clang-9 --target=x86_64-linux-gnu -DHAVE_MEMFD_CREATE
-Ddpdk_plugin_EXPORTS -I/home/hemant/gerr/vpp/src -I. -Iinclude
-I/home/hemant/gerr/vpp/src/plugins -Iplugins
-I/opt/vpp/external/x86_64/include -Wno-address-of-packed-member -g -fPIC
-Werror -Wall -march=corei7 -mtune=corei7-avx  -O2 -fstack-protector
-DFORTIFY_SOURCE=2 -fno-common  -fPIC   -fvisibility=hidden
-ffunction-sections -fdata-sections -MD -MT
plugins/dpdk/CMakeFiles/dpdk_plugin.dir/device/format.c.o -MF
plugins/dpdk/CMakeFiles/dpdk_plugin.dir/device/format.c.o.d -o
plugins/dpdk/CMakeFiles/dpdk_plugin.dir/device/format.c.o   -c
/home/hemant/gerr/vpp/src/plugins/dpdk/device/format.c

/home/hemant/gerr/vpp/src/plugins/dpdk/device/format.c:874:5: error: use of
undeclared identifier 'RTE_MBUF_DYNFLAG_RX_TIMESTAMP_NAME'

    foreach_dpdk_pkt_dyn_rx_offload_flag

    ^

/home/hemant/gerr/vpp/src/plugins/dpdk/device/format.c:113:3: note: expanded
from macro 'foreach_dpdk_pkt_dyn_rx_offload_flag'

  _ (RX_TIMESTAMP, 0, "Timestamp field is valid")

  ^

/home/hemant/gerr/vpp/src/plugins/dpdk/device/format.c:862:49: note:
expanded from macro '_'

    rx_dynflag_offset = rte_mbuf_dynflag_lookup(RTE_MBUF_DYNFLAG_##F##_NAME,
\

                                                ^

<scratch space>:14:1: note: expanded from here

RTE_MBUF_DYNFLAG_RX_TIMESTAMP_NAME

^

1 error generated.

[1795/2395] Building C object vnet/C...s/vnet.dir/devices/virtio/device.c.o

ninja: build stopped: subcommand failed.

Makefile:693: recipe for target 'vpp-build' failed

make[1]: *** [vpp-build] Error 1

make[1]: Leaving directory '/home/hemant/gerr/vpp/build-root'

Makefile:365: recipe for target 'build-release' failed

make: *** [build-release] Error 2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18436): https://lists.fd.io/g/vpp-dev/message/18436
Mute This Topic: https://lists.fd.io/mt/79260685/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to