I recently upgraded to linux 5.10 and tried to build dpdk on it and no matter 
which version of dpdk i try to build, i tried a few
dpdk-18.11.6
dpdk-.18.11.11
dpdk-19.11.9

I get build failure with tons of errors of the form below, any ideas what this 
is ?

any help is greatly appreciated ...

regards
-Amit

...
...
...
...
./include/asm-generic/bug.h:98:3: note: in expansion of macro '__WARN_FLAGS'
   __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\
   ^~~~~~~~~~~~
./include/asm-generic/bug.h:130:3: note: in expansion of macro '__WARN_printf'
   __WARN_printf(TAINT_WARN, format);   \
   ^~~~~~~~~~~~~
./include/asm-generic/bug.h:161:3: note: in expansion of macro 'WARN'
   WARN(1, format);    \
   ^~~~
./include/linux/netdevice.h:5055:2: note: in expansion of macro 'WARN_ONCE'
  WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, dev->reg_state);
  ^~~~~~~~~
cc1: all warnings being treated as errors
make[10]: *** 
[/usr/src/dpdk-stable-19.11.9/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o]
 Error 1
make[9]: *** 
[/usr/src/dpdk-stable-19.11.9/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio]
 Error 2
make[8]: *** [modules] Error 2
make[7]: *** [__sub-make] Error 2
make[6]: *** [modules] Error 2
make[5]: *** [igb_uio.ko] Error 2
make[4]: *** [igb_uio] Error 2
make[4]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[10]: *** 
[/usr/src/dpdk-stable-19.11.9/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o]
 Error 1
make[9]: *** 
[/usr/src/dpdk-stable-19.11.9/x86_64-native-linuxapp-gcc/build/kernel/linux/kni]
 Error 2
make[8]: *** [modules] Error 2
make[7]: *** [__sub-make] Error 2
make[6]: *** [modules] Error 2
make[5]: *** [rte_kni.ko] Error 2
make[4]: *** [kni] Error 2
make[3]: *** [linux] Error 2
make[2]: *** [kernel] Error 2
make[2]: *** Waiting for unfinished jobs....

Reply via email to