Closed ctan888 closed 7 years ago
tanc@tanc-XPS-15-9550:~/Downloads/strata/libfs/lib$ make (cd spdk && ./configure && make -j8) Creating CONFIG.local...done. Type 'make' to build. make[1]: Entering directory '/home/tanc/Downloads/strata/libfs/lib/spdk' make[4]: Entering directory '/home/tanc/Downloads/strata/libfs/lib/spdk/dpdk' == Build lib == Build lib/librte_compat == Build lib/librte_eal == Build lib/librte_eal/common == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/eal == Build lib/librte_ring == Build lib/librte_eventdev == Build lib/librte_metrics == Build lib/librte_timer == Build lib/librte_kvargs == Build lib/librte_mempool == Build lib/librte_mbuf == Build lib/librte_net == Build lib/librte_ether == Build lib/librte_vhost == Build buildtools == Build buildtools/pmdinfogen == Build drivers == Build drivers/bus == Build drivers/event == Build drivers/mempool == Build drivers/mempool/ring == Build drivers/net == Build app == Build app/proc_info Build complete [x86_64-native-linuxapp-gcc] make[4]: Leaving directory '/home/tanc/Downloads/strata/libfs/lib/spdk/dpdk' CC lib/json/json_parse.o CC lib/blobfs/blobfs.o CC lib/conf/conf.o CC lib/blob/blobstore.o CC lib/event/app.o CC lib/cunit/spdk_cunit.o CC lib/bdev/bdev.o CC lib/copy/copy_engine.o LIB libspdk_cunit.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_cunit.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_cunit.a' failed make[3]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_cunit.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'cunit' failed make[2]: *** [cunit] Error 2 make[2]: *** Waiting for unfinished jobs.... LIB libspdk_conf.a CC lib/copy/ioat/copy_engine_ioat.o CC lib/blob/request.o ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_conf.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_conf.a' failed make[3]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_conf.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'conf' failed make[2]: *** [conf] Error 2 CC lib/json/json_util.o CC lib/event/reactor.o CC lib/json/json_write.o LIB libspdk_copy_ioat.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_copy_ioat.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_copy_ioat.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_copy_ioat.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'ioat' failed make[3]: *** [ioat] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'copy' failed make[2]: *** [copy] Error 2 CC lib/blobfs/tree.o CC lib/bdev/scsi_nvme.o CC lib/blob/bdev/blob_bdev.o CC lib/event/subsystem.o CC lib/bdev/error/vbdev_error.o CC lib/event/rpc/app_rpc.o CC lib/bdev/gpt/gpt.o LIB libspdk_blob.a LIB libspdk_blob_bdev.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob_bdev.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob_bdev.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob_bdev.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'bdev' failed make[3]: *** [bdev] Error 2 make[3]: *** Waiting for unfinished jobs.... CC lib/bdev/error/vbdev_error_rpc.o LIB libspdk_blobfs.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob.a' failed make[3]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blob.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'blob' failed make[2]: *** [blob] Error 2 CC lib/bdev/gpt/vbdev_gpt.o ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blobfs.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blobfs.a' failed make[3]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_blobfs.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'blobfs' failed make[2]: *** [blobfs] Error 2 CC lib/bdev/null/bdev_null.o CC lib/bdev/nvme/bdev_nvme.o CC lib/event/subsystems/bdev/bdev.o CC lib/bdev/malloc/bdev_malloc.o LIB libspdk_json.a LIB libspdk_app_rpc.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_json.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_json.a' failed make[3]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_json.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'json' failed make[2]: *** [json] Error 2 ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_app_rpc.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_app_rpc.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_app_rpc.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'rpc' failed make[3]: *** [rpc] Error 2 make[3]: *** Waiting for unfinished jobs.... LIB libspdk_event_bdev.a CC lib/bdev/rpc/bdev_rpc.o CC lib/event/subsystems/copy/copy.o LIB libspdk_vbdev_error.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_bdev.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_bdev.a' failed make[5]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_bdev.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'bdev' failed make[4]: *** [bdev] Error 2 make[4]: *** Waiting for unfinished jobs.... CC lib/bdev/malloc/bdev_malloc_rpc.o ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_error.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_error.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_error.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'error' failed make[3]: *** [error] Error 2 make[3]: *** Waiting for unfinished jobs.... CC lib/bdev/null/bdev_null_rpc.o LIB libspdk_vbdev_gpt.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_gpt.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_gpt.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_vbdev_gpt.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'gpt' failed make[3]: *** [gpt] Error 2 CC lib/bdev/nvme/bdev_nvme_rpc.o LIB libspdk_bdev_malloc.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_malloc.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_malloc.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_malloc.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'malloc' failed make[3]: *** [malloc] Error 2 LIB libspdk_event_copy.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_copy.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_copy.a' failed make[5]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_event_copy.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'copy' failed make[4]: *** [copy] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'subsystems' failed make[3]: *** [subsystems] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'event' failed make[2]: *** [event] Error 2 LIB libspdk_bdev_null.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_null.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_null.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_null.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'null' failed make[3]: *** [null] Error 2 LIB libspdk_bdev_rpc.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_rpc.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_rpc.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_rpc.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'rpc' failed make[3]: *** [rpc] Error 2 LIB libspdk_bdev_nvme.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_nvme.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_nvme.a' failed make[4]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev_nvme.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'nvme' failed make[3]: *** [nvme] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'bdev' failed make[2]: *** [bdev] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed make[1]: *** [lib] Error 2 make[1]: Leaving directory '/home/tanc/Downloads/strata/libfs/lib/spdk' Makefile:4: recipe for target 'all' failed make: *** [all] Error 2
tanc@tanc-XPS-15-9550:~/Downloads/strata/libfs/lib$ cd spdk tanc@tanc-XPS-15-9550:~/Downloads/strata/libfs/lib/spdk$ ./configure Creating CONFIG.local...done. Type 'make' to build. tanc@tanc-XPS-15-9550:~/Downloads/strata/libfs/lib/spdk$ make Configuration done make[3]: Entering directory '/home/tanc/Downloads/strata/libfs/lib/spdk/dpdk' == Build lib == Build lib/librte_compat == Build lib/librte_eal SYMLINK-FILE include/rte_compat.h == Build lib/librte_eal/common SYMLINK-FILE include/generic/rte_byteorder.h SYMLINK-FILE include/generic/rte_cycles.h SYMLINK-FILE include/generic/rte_atomic.h SYMLINK-FILE include/generic/rte_prefetch.h SYMLINK-FILE include/generic/rte_spinlock.h SYMLINK-FILE include/generic/rte_memcpy.h SYMLINK-FILE include/generic/rte_cpuflags.h SYMLINK-FILE include/generic/rte_rwlock.h SYMLINK-FILE include/generic/rte_vect.h SYMLINK-FILE include/generic/rte_io.h SYMLINK-FILE include/rte_branch_prediction.h SYMLINK-FILE include/rte_common.h SYMLINK-FILE include/rte_debug.h SYMLINK-FILE include/rte_eal.h SYMLINK-FILE include/rte_errno.h SYMLINK-FILE include/rte_launch.h SYMLINK-FILE include/rte_lcore.h SYMLINK-FILE include/rte_log.h SYMLINK-FILE include/rte_memory.h SYMLINK-FILE include/rte_memzone.h SYMLINK-FILE include/rte_pci.h SYMLINK-FILE include/rte_per_lcore.h SYMLINK-FILE include/rte_random.h SYMLINK-FILE include/rte_interrupts.h SYMLINK-FILE include/rte_alarm.h SYMLINK-FILE include/rte_tailq.h SYMLINK-FILE include/rte_string_fns.h SYMLINK-FILE include/rte_version.h SYMLINK-FILE include/rte_malloc_heap.h SYMLINK-FILE include/rte_eal_memconfig.h SYMLINK-FILE include/rte_hexdump.h SYMLINK-FILE include/rte_devargs.h SYMLINK-FILE include/rte_bus.h SYMLINK-FILE include/rte_dev.h SYMLINK-FILE include/rte_vdev.h SYMLINK-FILE include/rte_pci_dev_feature_defs.h SYMLINK-FILE include/rte_pci_dev_features.h SYMLINK-FILE include/rte_malloc.h SYMLINK-FILE include/rte_keepalive.h SYMLINK-FILE include/rte_time.h SYMLINK-FILE include/rte_rwlock.h SYMLINK-FILE include/rte_memcpy.h SYMLINK-FILE include/rte_cycles.h SYMLINK-FILE include/rte_spinlock.h SYMLINK-FILE include/rte_atomic_32.h SYMLINK-FILE include/rte_vect.h SYMLINK-FILE include/rte_prefetch.h SYMLINK-FILE include/rte_byteorder_32.h SYMLINK-FILE include/rte_atomic_64.h SYMLINK-FILE include/rte_byteorder_64.h SYMLINK-FILE include/rte_cpuflags.h SYMLINK-FILE include/rte_rtm.h SYMLINK-FILE include/rte_atomic.h SYMLINK-FILE include/rte_io.h SYMLINK-FILE include/rte_byteorder.h == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/eal CC eal.o CC eal_hugepage_info.o CC eal_memory.o CC eal_thread.o CC eal_log.o CC eal_vfio.o CC eal_vfio_mp_sync.o CC eal_pci.o CC eal_pci_uio.o CC eal_pci_vfio.o CC eal_debug.o CC eal_lcore.o CC eal_timer.o CC eal_interrupts.o CC eal_alarm.o CC eal_common_lcore.o CC eal_common_timer.o CC eal_common_memzone.o CC eal_common_log.o CC eal_common_launch.o CC eal_common_vdev.o CC eal_common_pci.o CC eal_common_pci_uio.o CC eal_common_memory.o CC eal_common_tailqs.o CC eal_common_cpuflags.o CC eal_common_errno.o CC eal_common_string_fns.o CC eal_common_hexdump.o CC eal_common_devargs.o CC eal_common_bus.o CC eal_common_dev.o CC eal_common_options.o CC eal_common_thread.o CC eal_common_proc.o CC rte_malloc.o CC malloc_elem.o CC malloc_heap.o CC rte_keepalive.o CC rte_cpuflags.o CC rte_spinlock.o SYMLINK-FILE include/exec-env/rte_interrupts.h SYMLINK-FILE include/exec-env/rte_kni_common.h SYMLINK-FILE include/exec-env/rte_dom0_common.h AR librte_eal.a INSTALL-LIB librte_eal.a == Build lib/librte_eventdev == Build lib/librte_ring == Build lib/librte_timer == Build lib/librte_metrics CC rte_eventdev.o CC rte_metrics.o CC rte_timer.o CC rte_ring.o SYMLINK-FILE include/rte_metrics.h AR librte_metrics.a INSTALL-LIB librte_metrics.a == Build lib/librte_kvargs SYMLINK-FILE include/rte_ring.h SYMLINK-FILE include/rte_timer.h AR librte_ring.a INSTALL-LIB librte_ring.a == Build lib/librte_mempool AR librte_timer.a INSTALL-LIB librte_timer.a SYMLINK-FILE include/rte_eventdev.h SYMLINK-FILE include/rte_eventdev_pmd.h SYMLINK-FILE include/rte_kvargs.h CC rte_kvargs.o CC rte_mempool.o CC rte_mempool_ops.o AR librte_kvargs.a INSTALL-LIB librte_kvargs.a SYMLINK-FILE include/rte_mempool.h AR librte_eventdev.a INSTALL-LIB librte_eventdev.a AR librte_mempool.a INSTALL-LIB librte_mempool.a == Build lib/librte_mbuf SYMLINK-FILE include/rte_mbuf.h CC rte_mbuf.o SYMLINK-FILE include/rte_mbuf_ptype.h CC rte_mbuf_ptype.o AR librte_mbuf.a INSTALL-LIB librte_mbuf.a == Build lib/librte_net SYMLINK-FILE include/rte_ip.h CC rte_net.o SYMLINK-FILE include/rte_tcp.h CC rte_net_crc.o SYMLINK-FILE include/rte_udp.h SYMLINK-FILE include/rte_sctp.h SYMLINK-FILE include/rte_arp.h SYMLINK-FILE include/rte_icmp.h SYMLINK-FILE include/rte_ether.h SYMLINK-FILE include/rte_gre.h SYMLINK-FILE include/rte_net.h SYMLINK-FILE include/rte_net_crc.h AR librte_net.a INSTALL-LIB librte_net.a == Build lib/librte_ether SYMLINK-FILE include/rte_ethdev.h SYMLINK-FILE include/rte_ethdev_pci.h CC rte_ethdev.o CC rte_flow.o SYMLINK-FILE include/rte_ethdev_vdev.h SYMLINK-FILE include/rte_eth_ctrl.h SYMLINK-FILE include/rte_dev_info.h SYMLINK-FILE include/rte_flow.h SYMLINK-FILE include/rte_flow_driver.h AR librte_ethdev.a INSTALL-LIB librte_ethdev.a == Build lib/librte_vhost CC fd_man.o CC vhost_user.o CC vhost.o CC socket.o CC virtio_net.o SYMLINK-FILE include/rte_vhost.h AR librte_vhost.a INSTALL-LIB librte_vhost.a == Build buildtools == Build buildtools/pmdinfogen HOSTCC pmdinfogen.o HOSTLD dpdk-pmdinfogen INSTALL-HOSTAPP dpdk-pmdinfogen == Build drivers == Build drivers/bus == Build drivers/event == Build drivers/mempool == Build drivers/mempool/ring CC rte_mempool_ring.o AR librte_mempool_ring.a INSTALL-LIB librte_mempool_ring.a == Build drivers/net == Build app == Build app/proc_info CC main.o LD dpdk-procinfo INSTALL-APP dpdk-procinfo INSTALL-MAP dpdk-procinfo.map Build complete [x86_64-native-linuxapp-gcc] make[3]: Leaving directory '/home/tanc/Downloads/strata/libfs/lib/spdk/dpdk' CC lib/bdev/bdev.o CC lib/bdev/scsi_nvme.o LIB libspdk_bdev.a ar: /home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev.a: No such file or directory /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.lib.mk:46: recipe for target '/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev.a' failed make[2]: *** [/home/tanc/Downloads/strata/libfs/lib/spdk/build/lib/libspdk_bdev.a] Error 1 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'bdev' failed make[1]: *** [bdev] Error 2 /home/tanc/Downloads/strata/libfs/lib/spdk/mk/spdk.subdirs.mk:35: recipe for target 'lib' failed make: *** [lib] Error 2
Fixed it. It was a directory creation problem.
The First Issue
The second issue.