Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save terminaldweller/98b7f7cf662ec4ee9b9b420e45a105de to your computer and use it in GitHub Desktop.

Select an option

Save terminaldweller/98b7f7cf662ec4ee9b9b420e45a105de to your computer and use it in GitHub Desktop.
from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_ethdev_tx.h:10, from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_ethdev_tx.c:7:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h: In function ‘is_broadcast_ether_addr’:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h:149:2: error: converting a packed ‘const struct ether_addr’ pointer (alignment 1) to a ‘unaligned_uint16_t’ {aka ‘const short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member]
149 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea; | ^~~~~ CC ark_pktgen.o
In file included from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:158, from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev_driver.h:18,
from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_pktchkr.c:10:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h: In function ‘is_broadcast_ether_addr’:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h:149:2: error: converting a packed ‘const struct ether_addr’ pointer (alignment 1) to a ‘unaligned_uint16_t’ {aka ‘const short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member] 149 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea; | ^~~~~ cc1: all warnings being treated as errors
make[5]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/internal/rte.compile-pre.mk:114: ark_ethdev_rx.o] Error 1
cc1: all warnings being treated as errors
make[5]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/internal/rte.compile-pre.mk:114: ark_ethdev_tx.o] Error 1
cc1: all warnings being treated as errors
make[5]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/internal/rte.compile-pre.mk:114: ark_pktchkr.o] Error 1 In file included from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:158, from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev_driver.h:18, from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_global.h:12,
from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_pktdir.c:9:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h: In function ‘is_broadcast_ether_addr’:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h:149:2: error: converting a packed ‘const struct ether_addr’ pointer (alignment 1) to a ‘unaligned_uint16_t’ {aka ‘const short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member] 149 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea;
| ^~~~~
cc1: all warnings being treated as errors
make[5]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/internal/rte.compile-pre.mk:114: ark_pktdir.o] Error 1
In file included from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:158,
from /root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ethdev_driver.h:18,
from /root/dpdk/dpdk-stable-18.08.1/drivers/net/ark/ark_pktgen.c:12:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h: In function ‘is_broadcast_ether_addr’:
/root/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc/include/rte_ether.h:149:2: error: converting a packed ‘const struct ether_addr’ pointer (alignment 1) to a ‘unaligned_uint16_t’ {aka ‘const short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member]
149 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea;
| ^~~~~
cc1: all warnings being treated as errors
make[5]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/internal/rte.compile-pre.mk:114: ark_pktgen.o] Error 1
make[5]: Target 'all' not remade because of errors.
make[4]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/rte.subdir.mk:35: ark] Error 2
make[4]: Target 'all' not remade because of errors.
make[3]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/rte.subdir.mk:35: net] Error 2
make[3]: Target 'all' not remade because of errors.
make[2]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/rte.sdkbuild.mk:51: drivers] Error 2
make[2]: Target 'all' not remade because of errors.
make[1]: *** [/root/dpdk/dpdk-stable-18.08.1/mk/rte.sdkroot.mk:101: all] Error 2
make[1]: Target 'default' not remade because of errors.
make: *** [Makefile:12: all] Error 2
root@router4tm7:~/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc# ls
app build include lib Makefile
root@router4tm7:~/dpdk/dpdk-stable-18.08.1/x86_64-native-linuxapp-gcc#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment