Project

General

Profile

Actions

Bug #21348

closed

compile ceph with spdk

Added by liu lang over 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Here is how I built dpdk (the package is in ceph):

setting the key "CONFIG_RTE_BUILD_SHARED_LIB" to "y" in dpdk.
1. make config T=x86_64-native-linuxapp-gcc
2. make
3. make install

Here is how I built spdk (the package is in ceph):
set the dpdk_path = /usr/local

Here is how I built ceph ():
turn on with spdk
./do_cmake.sh
when i run make in build
errors:
../../src/spdk/build/lib/libspdk_env_dpdp.a(env.o): in function 'rte_mempool_ops_enqueue_bulk':
/usr/local/include/dpdk/rte_mempool.h:495: undefined reference to 'rte_mempool_ops_table'
../../src/spdk/build/lib/libspdk_env_dpdp.a(env.o): in function 'spdk_mempool_create':
/root/ceph-12.2.0/src/spdk/lib/env_dpdk/env.c:152 undefined reference to 'rte_mempool_create'

Actions #1

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF