there may something broken when switching to cmake. I will check this. thanks! On Mon, Oct 31, 2016 at 6:46 PM, <gong.chuang@xxxxxxxxxx> wrote: > Hi Cephers: > > I build Ceph(v11.0.2) with spdk,then prompt the following error: > > [ 87%] Building CXX object src/os/CMakeFiles/os.dir/FuseStore.cc.o > [ 87%] Building CXX object > src/os/CMakeFiles/os.dir/bluestore/NVMEDevice.cc.o > /srv/autobuild-ceph/gitbuilder.git/build/rpmbuild/BUILD/ceph-11.0.2/src/os/bluestore/NVMEDevice.cc:31:22: > fatal error: spdk/pci.h: No such file or directory > #include > ^ > compilation terminated. > make[2]: *** [src/os/CMakeFiles/os.dir/bluestore/NVMEDevice.cc.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > > Build machine info : > OS:centos7 > kernel:3.10.0-327.22.2.el7.x86_64 > > other info: > 1.In ceph/CMakeLists.txt file, "option(WITH_SPDK "Enable SPDK" OFF)" modify > to "option(WITH_SPDK "Enable SPDK" ON)"; > 2.no /usr/include/spdk/ directory; > 3.when copy ./ceph/src/spdk/include/spdk/ dir to /usr/include/spdk/,can't > solve the problem. > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com