external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of ‘yaffs_InitialiseTags’ [-Wredundant-decls]

external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of ‘yaffs_InitialiseTags’ was here

host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_tagsvalidity.c

host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp

:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]

:0:0: note: this is the location of the previous definition

:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]

:0:0: note: this is the location of the previous definition

In file included from external/yaffs2/yaffs2/yaffs_tagsvalidity.c:17:0:

external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of ‘yaffs_InitialiseTags’ [-Wredundant-decls]

external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of ‘yaffs_InitialiseTags’ was here

host C: parseStringTest <= external/srec/tools/parseStringTest/parseStringTest.c

cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] Error 1

make: *** Waiting for unfinished jobs....

host C++: post_trace <= sdk/emulator/qtools/post_trace.cpp

:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]

:0:0: note: this is the location of the previous definition

:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]

:0:0: note: this is the location of the previous definition

更多推荐

ubuntu 12.04(gcc降级)编译android代码遇到,ubuntu 12.04(gcc降级)编译android代码遇到"_FORTIFY_