When executing ./build_all.sh , the terminal showed the following errors:
(DGL) emc_admin@numasvr02:~/AIFM$ sudo ./build_all.sh
[sudo] password for emc_admin:
make -C /lib/modules/5.4.0-139-generic/build M=/home/emc_admin/AIFM/shenango/ksched/build src=/home/emc_admin/AIFM/shenango/ksched clean
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-139-generic'
CLEAN /home/emc_admin/AIFM/shenango/ksched/build/Module.symvers
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-139-generic'
touch "/home/emc_admin/AIFM/shenango/ksched/build/Makefile"
make -C /lib/modules/5.4.0-139-generic/build M=/home/emc_admin/AIFM/shenango/ksched/build src=/home/emc_admin/AIFM/shenango/ksched modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-139-generic'
CC [M] /home/emc_admin/AIFM/shenango/ksched/build/ksched.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /home/emc_admin/AIFM/shenango/ksched/build/ksched.mod.o
LD [M] /home/emc_admin/AIFM/shenango/ksched/build/ksched.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-139-generic'
Submodule path 'dpdk': checked out '0da7f445df445630c794897347ee360d6fe6348b'
Submodule path 'rdma-core': checked out '240594e862c5044fdfcff06702959dca6a73e095'
Submodule path 'spdk': checked out '3947bc2492c7e66b7f9cb55b30857afc5801ee8d'
patching file drivers/net/ixgbe/ixgbe_rxtx.c
patching file drivers/net/ixgbe/ixgbe_rxtx.h
patching file drivers/net/ixgbe/ixgbe_rxtx_vec_common.h
patching file drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c
make: Entering directory '/home/emc_admin/AIFM/shenango/dpdk'
Configuration done using x86_64-native-linuxapp-gcc
make: Leaving directory '/home/emc_admin/AIFM/shenango/dpdk'
make: Entering directory '/home/emc_admin/AIFM/shenango/dpdk'
== Build lib
== Build lib/librte_compat
== Build lib/librte_cfgfile
SYMLINK-FILE include/rte_compat.h
SYMLINK-FILE include/rte_cfgfile.h
CC rte_cfgfile.o
== Build lib/librte_kvargs
SYMLINK-FILE include/rte_kvargs.h
CC rte_kvargs.o
AR librte_cfgfile.a
INSTALL-LIB librte_cfgfile.a
AR librte_kvargs.a
INSTALL-LIB librte_kvargs.a
== Build lib/librte_eal
== Build lib/librte_eal/common
......
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/eal
......
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘memzone_lookup_thread_unsafe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:38:8: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
38 | arr = &mcfg->memzones;
| ^~~~~~~~~~~~~~~
CC rte_malloc.o
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘memzone_reserve_aligned_thread_unsafe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:70:8: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
70 | arr = &mcfg->memzones;
| ^~~~~~~~~~~~~~~
CC hotplug_mp.o
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘rte_memzone_reserve_thread_safe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:197:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
197 | rte_rwlock_write_lock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:202:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
202 | rte_rwlock_write_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘rte_memzone_free’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:258:8: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
258 | arr = &mcfg->memzones;
| ^~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:260:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
260 | rte_rwlock_write_lock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:276:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
276 | rte_rwlock_write_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘rte_memzone_lookup’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:295:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
295 | rte_rwlock_read_lock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:299:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
299 | rte_rwlock_read_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘dump_memzone’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:315:32: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
315 | mz_idx = rte_fbarray_find_idx(&mcfg->memzones, mz);
| ^~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘rte_eal_memzone_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:372:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
372 | rte_rwlock_write_lock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:375:21: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
375 | rte_fbarray_init(&mcfg->memzones, "memzone",
| ^~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:380:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
380 | rte_fbarray_attach(&mcfg->memzones)) {
| ^~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:382:27: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
382 | rte_rwlock_write_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:386:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
386 | rte_rwlock_write_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c: In function ‘rte_memzone_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:400:8: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
400 | arr = &mcfg->memzones;
| ^~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:402:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
402 | rte_rwlock_read_lock(&mcfg->mlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memzone.c:409:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
409 | rte_rwlock_read_unlock(&mcfg->mlock);
| ^~~~~~~~~~~~
CC malloc_elem.o
CC malloc_heap.o
CC malloc_mp.o
CC rte_keepalive.o
CC rte_option.o
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function ‘rte_vfio_setup_device’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_vfio.c:580:27: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
580 | rte_rwlock_t *mem_lock = &mcfg->memory_hotplug_lock;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
CC rte_service.o
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_vfio.c: In function ‘rte_vfio_release_device’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_vfio.c:785:27: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
785 | rte_rwlock_t *mem_lock = &mcfg->memory_hotplug_lock;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
CC rte_reciprocal.o
CC rte_cpuflags.o
CC rte_hypervisor.o
CC rte_spinlock.o
CC rte_cycles.o
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘virt2memseg_list’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:227:9: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
227 | msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_contig_walk_thread_unsafe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:558:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
558 | struct rte_memseg_list *msl = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_contig_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:597:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
597 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:599:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
599 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_walk_thread_unsafe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:611:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
611 | struct rte_memseg_list *msl = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:639:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
639 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:641:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
641 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_list_walk_thread_unsafe’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:653:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
653 | struct rte_memseg_list *msl = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_list_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:672:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
672 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:674:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
674 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_get_fd’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:721:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
721 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:723:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
723 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_memseg_get_fd_offset’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:771:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
771 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:773:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
773 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c: In function ‘rte_eal_memory_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:790:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
790 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_memory.c:809:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
809 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_eal_tailq_lookup’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c:47:11: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
47 | return &mcfg->tailq_head[i];
| ^~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_dump_tailq’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c:61:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
61 | rte_rwlock_read_lock(&mcfg->qlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c:63:40: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
63 | const struct rte_tailq_head *tailq = &mcfg->tailq_head[i];
| ^~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c:69:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
69 | rte_rwlock_read_unlock(&mcfg->qlock);
| ^~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_eal_tailq_create’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/eal_common_tailqs.c:82:10: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
82 | head = &mcfg->tailq_head[rte_tailqs_count];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘remap_segment’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:680:9: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
680 | msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘prealloc_segments’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:998:11: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
998 | msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_legacy_hugepage_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:9: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1351 | msl = &mcfg->memsegs[0];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘alloc_seg_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c:884:12: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
884 | cur_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:1622:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1622 | struct rte_memseg_list *msl = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘free_seg_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c:996:14: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
996 | found_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘memseg_primary_init_32’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘sync_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:2104:11: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
2104 | msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c:1412:16: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1412 | primary_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘secondary_msl_create_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memalloc.c:1463:16: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1463 | primary_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘memseg_primary_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:2311:10: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
2311 | msl = &mcfg->memsegs[msl_idx++];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘memseg_secondary_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:2339:9: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
2339 | msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_common_tailqs.o] Error 1
make[5]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_common_memzone.o] Error 1
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_common_memory.o] Error 1
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘malloc_socket_to_heap_id’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:80:30: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
80 | struct malloc_heap *heap = &mcfg->malloc_heaps[i];
| ^~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘malloc_add_seg’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:125:9: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
125 | heap = &mcfg->malloc_heaps[heap_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:133:14: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
133 | found_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘try_expand_heap’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:491:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
491 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:501:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
501 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_get_socket_stats’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘alloc_more_mem_on_socket’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:161:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
161 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:549:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
549 | struct rte_memseg_list *msl = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:167:30: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
167 | ret = malloc_heap_get_stats(&mcfg->malloc_heaps[heap_idx],
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:170:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
170 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_dump_heaps’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:184:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
184 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:188:20: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
188 | malloc_heap_dump(&mcfg->malloc_heaps[idx], f);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:191:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
191 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_get_socket’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘malloc_heap_alloc_on_heap_id’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:209:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
209 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:636:29: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
636 | struct malloc_heap *heap = &mcfg->malloc_heaps[heap_id];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:211:29: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
211 | struct malloc_heap *tmp = &mcfg->malloc_heaps[idx];
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:225:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
225 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_socket_is_external’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:240:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
240 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:242:29: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
242 | struct malloc_heap *tmp = &mcfg->malloc_heaps[idx];
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:250:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
250 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_dump_stats’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:265:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
265 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:269:30: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
269 | struct malloc_heap *heap = &mcfg->malloc_heaps[heap_id];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:283:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
283 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘heap_alloc_biggest_on_heap_id’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:738:29: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
738 | struct malloc_heap *heap = &mcfg->malloc_heaps[heap_id];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘find_named_heap’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:329:30: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
329 | struct malloc_heap *heap = &mcfg->malloc_heaps[i];
| ^~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_memory_add’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:354:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
354 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:382:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
382 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_memory_remove’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:401:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
401 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:421:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
421 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘sync_mem_walk’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:447:15: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
447 | found_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘malloc_heap_free’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:931:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
931 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘sync_memory’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:492:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
492 | rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:986:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
986 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:528:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
528 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_create’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:561:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
561 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:564:29: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
564 | struct malloc_heap *tmp = &mcfg->malloc_heaps[i];
| ^~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:590:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
590 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c: In function ‘rte_malloc_heap_destroy’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:609:24: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
609 | rte_rwlock_write_lock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘malloc_heap_add_external_memory’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:1111:33: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1111 | struct rte_memseg_list *tmp = &mcfg->memsegs[i];
| ^~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/rte_malloc.c:633:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
633 | rte_rwlock_write_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘rte_eal_malloc_heap_init’:
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:1268:31: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1268 | struct malloc_heap *heap = &mcfg->malloc_heaps[i];
| ^~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:1282:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1282 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emc_admin/AIFM/shenango/dpdk/lib/librte_eal/common/malloc_heap.c:1290:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1290 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memalloc.o] Error 1
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_vfio.o] Error 1
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: rte_malloc.o] Error 1
cc1: all warnings being treated as errors
make[5]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/internal/rte.compile-pre.mk:116: malloc_heap.o] Error 1
make[4]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/rte.subdir.mk:37: eal] Error 2
make[3]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/rte.subdir.mk:37: linuxapp] Error 2
make[2]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/rte.subdir.mk:37: librte_eal] Error 2
make[1]: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/rte.sdkbuild.mk:51: lib] Error 2
make: *** [/home/emc_admin/AIFM/shenango/dpdk/mk/rte.sdkroot.mk:101: all] Error 2
make: Leaving directory '/home/emc_admin/AIFM/shenango/dpdk'
Failed to build DPDK.
Failed to build Shenango.
And when I set gcc/g++7.5 as the default compiler, another one issue occured:
In file included from /home/emc_admin/AIFM/shenango/dpdk/build/build/kernel/linux/igb_uio/igb_uio.c:8:
./include/linux/device.h:1805:2: error: this statement may fall through [-Werror=implicit-fallthrough=]
_dev_notice(dev, dev_fmt(fmt), ##__VA_ARGS__)
Could you kindly please give me some advice for solving this problem? Thank you @zainryan in advance!
The DPDK version used by AIFM is no longer compatible with the later version of GCC. Try downgrade your gcc into 9.0 or 9.1 . Alternatively (also the faster approach), follow the instructions in the link to patch dpdk's build config to bypass this error.
When executing
./build_all.sh
, the terminal showed the following errors:But I can properly run the
./dpdk.sh
and./scripts/setup_machine.sh
in the original shenango .And when I set gcc/g++7.5 as the default compiler, another one issue occured:
Could you kindly please give me some advice for solving this problem? Thank you @zainryan in advance!