Project

General

Profile

Actions

Support #36341

closed

build: compile with dpdk failed in master branch

Added by tangwenjun tang over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% 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 ?

Actions #1

Updated by Brad Hubbard over 5 years ago

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

Updated by Kefu Chai over 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF