On Thu, Nov 27, 2014 at 10:17:22AM -0800, Thomas Monjalon wrote: > > When redefining the same symbol in configuration (basically after an > > inclusion), > > we need to undefine the previous symbol to avoid "redefined" errors. > > > > Signed-off-by: David Marchand <david.marchand at 6wind.com> > > Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com> > > Applied > This patch doesn't seem to work on FreeBSD. I'm still investigating how to fix it but right now compilation with gcc/clang on FreeBSD is broken due to the config.h file having lines like the below in it :-(
/usr/home/bruce/dpdk.org/x86_64-native-bsdapp-clang/include/rte_config.h:3:21: fatal error: extra tokens at end of #undef directive [-Wextra-tokens] #undef RTE_EXEC_ENVn#define RTE_EXEC_ENV "bsdapp" I'll send on a fix as soon as I can. Regards, /Bruce