Skip to content

Instantly share code, notes, and snippets.

@lukego
Created July 24, 2014 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukego/bc8f7ef97ad0110c60e1 to your computer and use it in GitHub Desktop.
Save lukego/bc8f7ef97ad0110c60e1 to your computer and use it in GitHub Desktop.
Pktgen-DPDK compile error
CC [M] /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o
/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_rx_hash’:
/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7379:3: error: implicit declaration of function ‘skb_set_hash’ [-Werror=implicit-function-declaration]
skb_set_hash(skb, le32_to_cpu(rx_desc->wb.lower.hi_dword.rss),
^
/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9: error: ‘PKT_HASH_TYPE_L3’ undeclared (first use in this function)
PKT_HASH_TYPE_L3);
^
/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
make[10]: *** [/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment