Support #36341
closedbuild: compile with dpdk failed in master branch
0%
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 ?
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
https://github.com/ceph/ceph/pull/24487 should resolve it.
Updated by Kefu Chai over 5 years ago
- Status changed from In Progress to Resolved