Hello Dirk, We recently resolved a similar problem with rte_cpuflags.h. I'm attaching a git-diff of how we worked around it. We may submit a patch for this, eventually. -- Regards, Robert >Hello, >the g++ complains the following problems when rte_xxxx.h header files >are included: > ....x86_64-native-linuxapp-gcc/include/rte_common.h:95:59: warning: >invalid conversion from Śvoid*ą to Śrte_mempool_objhdr*ą.... this >appears in multiple flavours > -as a workaround the '-fpermissive' option of the g++ may be used but >that's not nice. >....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:50:6: >error: use of enum Śrte_cpu_flag_tą without previous declaration enum >rte_cpu_flag_t; > ....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:55:6: >error: use of enum Ścpu_register_tą without previous declaration > enum cpu_register_t; >....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:104:31: >error: use of enum Śrte_cpu_flag_tą without previous declaration >rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature); > -as a workaround the file >'lib/librte_eal/common/include/generic/rte_cpuflags.h' may be modified: > remove or uncomment the following lines: > line 50: //enum rte_cpu_flag_t; > line 55: //enum cpu_register_t; > lines 103/104: //static inline int > //rte_cpu_get_flag_enabled(enum >rte_cpu_flag_t feature); > >Best regards >Dirk >-- >Dirk-Holger Lenz >+49 157 848 09099 >dirk.lenz@ng4t.com > ng 4 T Telecommunication >Technology >Testing >Tools > > >ng4T GmbH >Siemensdamm 50 >13629 Berlin >Germany >www.ng4t.com >+49 30 65218530 > >Berlin-Charlottenburg, HRB 123546 >CEO Dr. Andreas Kallmann