We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting this error:
make: Entering directory '/users/student/bess/deps/dpdk-19.11.4' == Build lib == Build lib/librte_kvargs == Build lib/librte_eal == Build lib/librte_eal/common == Build lib/librte_eal/linux == Build lib/librte_eal/linux/eal == Build lib/librte_pci == Build lib/librte_ring == Build lib/librte_stack == Build lib/librte_timer == Build lib/librte_cfgfile == Build lib/librte_meter == Build lib/librte_acl == Build lib/librte_jobstats == Build lib/librte_metrics == Build lib/librte_rcu == Build lib/librte_mempool == Build lib/librte_hash == Build lib/librte_power == Build lib/librte_efd == Build lib/librte_lpm == Build lib/librte_member == Build lib/librte_mbuf == Build lib/librte_rib == Build lib/librte_fib == Build lib/librte_net == Build lib/librte_bbdev == Build lib/librte_cryptodev == Build lib/librte_compressdev == Build lib/librte_reorder == Build lib/librte_cmdline == Build lib/librte_ethdev == Build lib/librte_sched == Build lib/librte_security == Build lib/librte_eventdev == Build lib/librte_rawdev == Build lib/librte_vhost == Build lib/librte_ip_frag == Build lib/librte_gro == Build lib/librte_bitratestats == Build lib/librte_latencystats == Build lib/librte_kni == Build lib/librte_distributor == Build lib/librte_pdump == Build lib/librte_gso == Build lib/librte_bpf == Build lib/librte_ipsec == Build lib/librte_port == Build lib/librte_table == Build lib/librte_flow_classify == Build lib/librte_pipeline == Build buildtools == Build kernel == Build buildtools/pmdinfogen == Build kernel/linux == Build kernel/linux/kni == Build kernel/linux/igb_uio == Build drivers == Build drivers/common == Build drivers/common/cpt == Build drivers/common/octeontx == Build drivers/common/octeontx2 == Build drivers/common/dpaax == Build drivers/bus CC [M] /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.o CC [M] /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.o CC [M] /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.o == Build drivers/bus/dpaa == Build drivers/bus/fslmc == Build drivers/bus/ifpga == Build drivers/bus/pci == Build drivers/bus/vdev == Build drivers/bus/vmbus /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c: In function ‘igbuio_pci_enable_interrupts’: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:230:20: error: this statement may fall through [-Werror=implicit-fallthrough=] 230 | if (pci_alloc_irq_vectors(udev->pdev, 1, 1, PCI_IRQ_MSIX) == 1) { | ^ /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:240:9: note: here 240 | case RTE_INTR_MODE_MSI: | ^~~~ /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:250:20: error: this statement may fall through [-Werror=implicit-fallthrough=] 250 | if (pci_alloc_irq_vectors(udev->pdev, 1, 1, PCI_IRQ_MSI) == 1) { | ^ /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:259:9: note: here 259 | case RTE_INTR_MODE_LEGACY: | ^~~~ In file included from ./include/linux/device.h:15, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:8: ./include/linux/dev_printk.h:148:31: error: this statement may fall through [-Werror=implicit-fallthrough=] 148 | dev_printk_index_wrap(_dev_notice, KERN_NOTICE, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^ ./include/linux/dev_printk.h:110:17: note: in definition of macro ‘dev_printk_index_wrap’ 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~~~~~ /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:267:17: note: in expansion of macro ‘dev_notice’ 267 | dev_notice(&udev->pdev->dev, "PCI INTX mask not supported\n"); | ^~~~~~~~~~ /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.c:269:9: note: here 269 | case RTE_INTR_MODE_NONE: | ^~~~ == Build drivers/mempool In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:25: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h: In function ‘iova_to_phys’: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:37: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ^~~ | | | struct task_struct * In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:14: ./include/linux/mm.h:1845:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1845 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:25: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:45: error: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Werror=int-conversion] 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ~~~^~~~ | | | struct mm_struct * In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:14: ./include/linux/mm.h:1846:43: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1846 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ ./include/linux/mm.h:2878:25: error: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Werror=int-conversion] 2878 | #define FOLL_TOUCH 0x02 /* mark page accessed */ | ^~~~ | | | int /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:105:37: note: in expansion of macro ‘FOLL_TOUCH’ 105 | FOLL_TOUCH, &page, NULL, NULL); | ^~~~~~~~~~ ./include/linux/mm.h:1847:67: note: expected ‘struct page **’ but argument is of type ‘int’ 1847 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:25: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:105:49: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 105 | FOLL_TOUCH, &page, NULL, NULL); | ^~~~~ | | | struct page ** In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:14: ./include/linux/mm.h:1848:53: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1848 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:25: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:15: error: too many arguments to function ‘get_user_pages_remote’ 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.c:14: ./include/linux/mm.h:1845:6: note: declared here 1845 | long get_user_pages_remote(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:22: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h: In function ‘iova_to_phys’: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:37: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ^~~ | | | struct task_struct * In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:9: ./include/linux/mm.h:1845:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’ 1845 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:22: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:45: error: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Werror=int-conversion] 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ~~~^~~~ | | | struct mm_struct * In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:9: ./include/linux/mm.h:1846:43: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’ 1846 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ ./include/linux/mm.h:2878:25: error: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Werror=int-conversion] 2878 | #define FOLL_TOUCH 0x02 /* mark page accessed */ | ^~~~ | | | int /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:105:37: note: in expansion of macro ‘FOLL_TOUCH’ 105 | FOLL_TOUCH, &page, NULL, NULL); | ^~~~~~~~~~ ./include/linux/mm.h:1847:67: note: expected ‘struct page **’ but argument is of type ‘int’ 1847 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:22: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:105:49: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types] 105 | FOLL_TOUCH, &page, NULL, NULL); | ^~~~~ | | | struct page ** In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:9: ./include/linux/mm.h:1848:53: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’ 1848 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:22: /users/student/bess/deps/dpdk-19.11.4/kernel/linux/kni/kni_dev.h:104:15: error: too many arguments to function ‘get_user_pages_remote’ 104 | ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/skbuff.h:17, from ./include/net/net_namespace.h:39, from ./include/linux/netdevice.h:37, from /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.c:9: ./include/linux/mm.h:1845:6: note: declared here 1845 | long get_user_pages_remote(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors cc1: all warnings being treated as errors cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:297: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_net.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: *** [scripts/Makefile.build:297: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio/igb_uio.o] Error 1 make[5]: *** [Makefile:1909: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/igb_uio] Error 2 make[4]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.module.mk:51: igb_uio.ko] Error 2 make[3]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.subdir.mk:37: igb_uio] Error 2 make[3]: *** Waiting for unfinished jobs.... make[6]: *** [scripts/Makefile.build:297: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni/kni_misc.o] Error 1 make[5]: *** [Makefile:1909: /users/student/bess/deps/dpdk-19.11.4/build/build/kernel/linux/kni] Error 2 make[4]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.module.mk:51: rte_kni.ko] Error 2 make[3]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.subdir.mk:37: kni] Error 2 make[2]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.subdir.mk:37: linux] Error 2 make[1]: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.sdkbuild.mk:48: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... == Build drivers/mempool/bucket == Build drivers/mempool/dpaa == Build drivers/mempool/dpaa2 == Build drivers/mempool/ring == Build drivers/mempool/stack == Build drivers/mempool/octeontx == Build drivers/mempool/octeontx2 == Build drivers/net == Build drivers/baseband == Build drivers/crypto == Build drivers/common/qat == Build drivers/compress == Build drivers/net/af_packet == Build drivers/net/ark == Build drivers/net/atlantic == Build drivers/net/avp == Build drivers/net/axgbe == Build drivers/net/bonding == Build drivers/net/cxgbe == Build drivers/net/dpaa == Build drivers/compress/octeontx == Build drivers/net/dpaa2 == Build drivers/net/e1000 == Build drivers/net/ena == Build drivers/net/enetc == Build drivers/crypto/octeontx == Build drivers/net/enic == Build drivers/crypto/octeontx2 == Build drivers/crypto/scheduler == Build drivers/crypto/null == Build drivers/net/failsafe == Build drivers/net/fm10k == Build drivers/baseband/null == Build drivers/net/hinic == Build drivers/crypto/dpaa2_sec == Build drivers/baseband/turbo_sw == Build drivers/baseband/fpga_lte_fec == Build drivers/net/hns3 == Build drivers/crypto/dpaa_sec == Build drivers/net/i40e == Build drivers/net/iavf == Build drivers/crypto/caam_jr == Build drivers/crypto/virtio == Build drivers/crypto/nitrox == Build drivers/net/ice == Build drivers/net/ixgbe == Build drivers/net/liquidio == Build drivers/net/memif == Build drivers/net/netvsc == Build drivers/net/nfp == Build drivers/net/bnxt == Build drivers/net/null == Build drivers/net/octeontx == Build drivers/net/octeontx2 == Build drivers/net/qede == Build drivers/net/ring == Build drivers/net/sfc == Build drivers/net/tap == Build drivers/net/thunderx == Build drivers/net/vdev_netvsc == Build drivers/net/virtio == Build drivers/net/vmxnet3 == Build drivers/net/kni == Build drivers/net/softnic == Build drivers/net/vhost == Build drivers/net/ifc == Build drivers/event == Build drivers/event/skeleton == Build drivers/event/sw == Build drivers/event/dsw == Build drivers/event/octeontx == Build drivers/event/octeontx2 == Build drivers/event/dpaa == Build drivers/event/dpaa2 == Build drivers/event/opdl == Build drivers/raw == Build drivers/raw/skeleton == Build drivers/raw/dpaa2_cmdif == Build drivers/raw/dpaa2_qdma == Build drivers/raw/ioat == Build drivers/raw/ntb == Build drivers/raw/octeontx2_dma make: *** [/users/student/bess/deps/dpdk-19.11.4/mk/rte.sdkroot.mk:99: all] Error 2 make: Leaving directory '/users/student/bess/deps/dpdk-19.11.4' Error has occured running command: make -C /users/student/bess/deps/dpdk-19.11.4 EXTRA_CFLAGS="-g -w" -j32
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting this error:
The text was updated successfully, but these errors were encountered: