Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/27932 _Compilation issues_ Submitter: Gaetan Rivet Date: Fri, 25 Aug 2017 11:04:26 +0200 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:85238f501ec36bc6f0e15e6434296312841259bd Patch27922-27932 --> compile error Build Summary: 21 Builds Done, 0 Successful, 21 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: UB1610_64 Kernel Version:4.8.0-22-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Clang Version:NA x86_64-native-linuxapp-icc OS: RHEL7.3_64 Kernel Version:3.10.0-514.16.1.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) Clang Version:NA x86_64-native-linuxapp-icc OS: FC25_64 Kernel Version:4.8.6-300.fc25.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Clang Version:NA x86_64-native-linuxapp-icc OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: CentOS7_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: FC24_64 Kernel Version:4.9.13-100.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug OS: UB1604_64 Kernel Version:4.4.0-78-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: dereferencing pointer to incomplete type cryptodev->device = &pci_dev->device; ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_dev.h:53:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:41, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_vdev.h:36, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:35: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: dereferencing pointer to incomplete type " failed", pci_dev->device.driver->name, ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.vendor_id, ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.device_id); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_remove’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: dereferencing pointer to incomplete type cryptodev->device = &pci_dev->device; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_dev.h:53:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:41, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_vdev.h:36, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:35: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: dereferencing pointer to incomplete type " failed", pci_dev->device.driver->name, ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.vendor_id, ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.device_id); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_remove’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared LD librte_eal.so.5.1 eal.o: In function `rte_eal_init': eal.c:(.text+0xdf1): undefined reference to `pci_vfio_enable' eal.c:(.text+0xdf6): undefined reference to `pci_vfio_is_enabled' eal.c:(.text+0xe0e): undefined reference to `vfio_mp_sync_setup' eal_vfio.o: In function `vfio_get_group_fd.part.1': eal_vfio.c:(.text+0x436): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x44c): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x45e): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x46d): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.c:(.text+0x593): undefined reference to `vfio_mp_sync_receive_fd' eal_vfio.o: In function `clear_group': eal_vfio.c:(.text+0x6d1): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x6e7): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x6f8): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x707): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.o: In function `vfio_get_container_fd': eal_vfio.c:(.text+0xa01): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0xa13): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0xa22): undefined reference to `vfio_mp_sync_receive_fd' collect2: error: ld returned 1 exit status Failed Build #4: OS: UB1610_64 Target: x86_64-native-linuxapp-icc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(169): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(189): error: pointer to incomplete class type is not allowed cryptodev->device = &pci_dev->device; ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(225): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c (code 2) /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #5: OS: RHEL7.3_64 Target: x86_64-native-linuxapp-icc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(169): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(189): error: pointer to incomplete class type is not allowed cryptodev->device = &pci_dev->device; ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(225): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c (code 2) Failed Build #6: OS: FC25_64 Target: x86_64-native-linuxapp-icc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(169): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(189): error: pointer to incomplete class type is not allowed cryptodev->device = &pci_dev->device; ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(200): error: pointer to incomplete class type is not allowed CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c(225): error: pointer to incomplete class type is not allowed rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ compilation aborted for /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c (code 2) /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #7: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: incomplete definition of type 'struct rte_pci_device' cryptodev->device = &pci_dev->device; ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: incomplete definition of type 'struct rte_pci_device' " failed", pci_dev->device.driver->name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ 4 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #8: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function 'rte_cryptodev_pci_generic_probe': /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: dereferencing pointer to incomplete type cryptodev->device = &pci_dev->device; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_dev.h:53:0, from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_vdev.h:41, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_vdev.h:36, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:35: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: dereferencing pointer to incomplete type " failed", pci_dev->device.driver->name, ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_log.h:344:32: note: in definition of macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro 'RTE_FMT' RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro 'RTE_FMT_TAIL' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro 'CDEV_LOG_ERR' CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.vendor_id, ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_log.h:344:32: note: in definition of macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro 'RTE_FMT' RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro 'RTE_FMT_TAIL' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro 'CDEV_LOG_ERR' CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.device_id); ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_log.h:344:32: note: in definition of macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro 'RTE_FMT' RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro 'RTE_FMT_TAIL' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro 'CDEV_LOG_ERR' CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function 'rte_cryptodev_pci_generic_remove': /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #9: OS: CentOS7_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: dereferencing pointer to incomplete type cryptodev->device = &pci_dev->device; ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_dev.h:53:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:41, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_vdev.h:36, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:35: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: dereferencing pointer to incomplete type " failed", pci_dev->device.driver->name, ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.vendor_id, ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.device_id); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_remove’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ Failed Build #10: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: incomplete definition of type 'struct rte_pci_device' cryptodev->device = &pci_dev->device; ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: incomplete definition of type 'struct rte_pci_device' " failed", pci_dev->device.driver->name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ 4 errors generated. Failed Build #11: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared LD librte_eal.so.5.1 eal.o: In function `rte_eal_init': eal.c:(.text+0xdf1): undefined reference to `pci_vfio_enable' eal.c:(.text+0xdf6): undefined reference to `pci_vfio_is_enabled' eal.c:(.text+0xe0e): undefined reference to `vfio_mp_sync_setup' eal_vfio.o: In function `vfio_get_group_fd.part.1': eal_vfio.c:(.text+0x436): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x44c): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x45e): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x46d): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.c:(.text+0x593): undefined reference to `vfio_mp_sync_receive_fd' eal_vfio.o: In function `clear_group': eal_vfio.c:(.text+0x6d1): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x6e7): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x6f8): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x707): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.o: In function `vfio_get_container_fd': eal_vfio.c:(.text+0xa01): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0xa13): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0xa22): undefined reference to `vfio_mp_sync_receive_fd' collect2: error: ld returned 1 exit status Failed Build #12: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: dereferencing pointer to incomplete type cryptodev->device = &pci_dev->device; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_dev.h:53:0, from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:41, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_vdev.h:36, from /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:35: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: dereferencing pointer to incomplete type " failed", pci_dev->device.driver->name, ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.vendor_id, ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: dereferencing pointer to incomplete type (unsigned int) pci_dev->id.device_id); ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:344:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:60:3: note: in expansion of macro ‘RTE_FMT’ RTE_FMT("%s() line %u: " RTE_FMT_HEAD(__VA_ARGS__,) "\n", \ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:24: note: in expansion of macro ‘RTE_FMT_TAIL’ __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:200:2: note: in expansion of macro ‘CDEV_LOG_ERR’ CDEV_LOG_ERR("driver %s: crypto_dev_init(vendor_id=0x%x device_id=0x%x)" ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_remove’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: dereferencing pointer to incomplete type rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ Failed Build #13: OS: FC24_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: incomplete definition of type 'struct rte_pci_device' cryptodev->device = &pci_dev->device; ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: incomplete definition of type 'struct rte_pci_device' " failed", pci_dev->device.driver->name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: incomplete definition of type 'struct rte_pci_device' (unsigned int) pci_dev->id.vendor_id, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: incomplete definition of type 'struct rte_pci_device' (unsigned int) pci_dev->id.device_id); ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ 6 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #14: OS: FC24_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type ‘struct rte_pci_device’ rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^~ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #15: OS: FC24_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type ‘struct rte_pci_device’ rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^~ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #16: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared LD librte_eal.so.5.1 eal.o: In function `rte_eal_init': eal.c:(.text+0xdd1): undefined reference to `pci_vfio_enable' eal.c:(.text+0xdd6): undefined reference to `pci_vfio_is_enabled' eal.c:(.text+0xdee): undefined reference to `vfio_mp_sync_setup' eal_vfio.o: In function `vfio_get_group_fd.part.1': eal_vfio.c:(.text+0x4a9): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x4bf): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x4d1): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x4e0): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.c:(.text+0x5b3): undefined reference to `vfio_mp_sync_receive_fd' eal_vfio.o: In function `clear_group': eal_vfio.c:(.text+0x6f3): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x709): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x71a): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x729): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.o: In function `vfio_get_container_fd': eal_vfio.c:(.text+0xa51): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0xa63): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0xa72): undefined reference to `vfio_mp_sync_receive_fd' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:127: recipe for target 'librte_eal.so.5.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #17: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type ‘struct rte_pci_device’ rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^~ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #18: OS: UB1604_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type ‘struct rte_pci_device’ rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #19: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c: In function ‘rte_cryptodev_pci_generic_probe’: /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: dereferencing pointer to incomplete type ‘struct rte_pci_device’ rte_pci_device_name(&pci_dev->addr, cryptodev_name, ^ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #20: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared LD librte_eal.so.5.1 eal.o: In function `rte_eal_init': eal.c:(.text+0xe81): undefined reference to `pci_vfio_enable' eal.c:(.text+0xe86): undefined reference to `pci_vfio_is_enabled' eal.c:(.text+0xe9e): undefined reference to `vfio_mp_sync_setup' eal_vfio.o: In function `vfio_get_group_fd.part.1': eal_vfio.c:(.text+0x509): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x51f): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x531): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x540): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.c:(.text+0x613): undefined reference to `vfio_mp_sync_receive_fd' eal_vfio.o: In function `clear_group': eal_vfio.c:(.text+0x761): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0x777): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x788): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0x797): undefined reference to `vfio_mp_sync_receive_request' eal_vfio.o: In function `vfio_get_container_fd': eal_vfio.c:(.text+0xad1): undefined reference to `vfio_mp_sync_connect_to_primary' eal_vfio.c:(.text+0xae3): undefined reference to `vfio_mp_sync_send_request' eal_vfio.c:(.text+0xaf2): undefined reference to `vfio_mp_sync_receive_fd' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:127: recipe for target 'librte_eal.so.5.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'linuxapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed Failed Build #21: OS: UB1604_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:169:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:189:30: error: incomplete definition of type 'struct rte_pci_device' cryptodev->device = &pci_dev->device; ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:201:22: error: incomplete definition of type 'struct rte_pci_device' " failed", pci_dev->device.driver->name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:202:26: error: incomplete definition of type 'struct rte_pci_device' (unsigned int) pci_dev->id.vendor_id, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:203:26: error: incomplete definition of type 'struct rte_pci_device' (unsigned int) pci_dev->id.device_id); ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:61:37: note: expanded from macro 'CDEV_LOG_ERR' __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:386:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:384:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_log.h:344:32: note: expanded from macro 'RTE_LOG' RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev_pmd.c:225:30: error: incomplete definition of type 'struct rte_pci_device' rte_pci_device_name(&pci_dev->addr, cryptodev_name, ~~~~~~~^ /home/patchWorkOrg/compilation/lib/librte_cryptodev/rte_cryptodev.h:372:9: note: forward declaration of 'struct rte_pci_device' struct rte_pci_device *pci_dev; /**< PCI information. */ ^ 6 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_cryptodev_pmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'librte_cryptodev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed DPDK STV team