Project

General

Profile

Support #36341

build: compile with dpdk failed in master branch

Added by tangwenjun tang 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
10/08/2018
Due date:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

sh do_cmake.sh -DWITH_DPDK=ON -DWITH_TESTS=OFF

make -j 12

[ 51%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileJournal.cc.o
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_flow_ctrl_get'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_tx_queue_setup'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_count'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_start'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_link_get_nowait'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_stop'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_devices'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_filter_ctrl'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_rss_reta_update'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_stats_get'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_configure'
../../lib/libceph-common.so.0: undefined reference to `rte_pktmbuf_pool_init'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_flow_ctrl_set'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_filter_supported'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_rx_queue_setup'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_socket_id'
../../lib/libceph-common.so.0: undefined reference to `rte_pktmbuf_init'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_dev_info_get'
../../lib/libceph-common.so.0: undefined reference to `rte_eth_macaddr_get'
collect2: error: ld returned 1 exit status
make2: * [src/tools/CMakeFiles/osdmaptool.dir/build.make:115: bin/osdmaptool] Error 1
make1:
[CMakeFiles/Makefile2:7095: src/tools/CMakeFiles/osdmaptool.dir/all] Error 2
make1: *
* Waiting for unfinished jobs....

how can i resolve this error ?

History

#1 Updated by Brad Hubbard 10 months ago

  • Status changed from New to In Progress
  • Assignee set to Brad Hubbard
  • Priority changed from Normal to High

#2 Updated by Kefu Chai 10 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF