[Desire HD Android Development] jroid:
hey guys, i've read the last 10-15 pages or so and I like the help you guys give each other. I'm posting here because the ics dev thread for nexus s has been locked to stop cluttering. I'm having error after error with my compile

<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: makekeycodes <= frameworks/base/tools/makekeycodes/makekeycodes.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: minigzip <= external/zlib/minigzip.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
external/zlib/minigzip.c: In function ‘file_compress’:
external/zlib/minigzip.c:283:5: warning: implicit declaration of function ‘gzopen64’ [-Wimplicit-function-declaration]
host C: mkbootfs <= system/core/cpio/mkbootfs.c
external/zlib/minigzip.c:283:9: warning: assignment makes pointer from integer without a cast [enabled by default]
external/zlib/minigzip.c: In function ‘file_uncompress’:
external/zlib/minigzip.c:322:8: warning: assignment makes pointer from integer without a cast [enabled by default]
external/zlib/minigzip.c: In function ‘main’:
external/zlib/minigzip.c:412:26: warning: assignment makes pointer from integer without a cast [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
system/core/cpio/mkbootfs.c: In function ‘_eject’:
system/core/cpio/mkbootfs.c:82:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libmincrypt <= system/core/libmincrypt/rsa.c
system/core/mkbootimg/mkbootimg.c: In function ‘write_padding’:
system/core/mkbootimg/mkbootimg.c:88:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c: In function ‘main’:
system/core/mkbootimg/mkbootimg.c:183:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
/usr/include/string.h:128:14: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’
system/core/mkbootimg/mkbootimg.c:228:9: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
system/core/mkbootimg/mkbootimg.c:241:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:244:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:248:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libmincrypt <= system/core/libmincrypt/sha.c
host C: mksdcard <= sdk/emulator/mksdcard/mksdcard.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
system/core/libmincrypt/sha.c: In function ‘SHA_update’:
system/core/libmincrypt/sha.c:153:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: mkyaffs2image <= external/yaffs2/yaffs2/utils/mkyaffs2image.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_packedtags2.c
In file included from external/yaffs2/yaffs2/yaffs_guts.h:23:0,
from external/yaffs2/yaffs2/utils/mkyaffs2image.c:38:
external/yaffs2/yaffs2/devextras.h:210:0: warning: "DT_UNKNOWN" redefined [enabled by default]
/usr/include/dirent.h:101:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:211:0: warning: "DT_FIFO" redefined [enabled by default]
/usr/include/dirent.h:103:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:212:0: warning: "DT_CHR" redefined [enabled by default]
/usr/include/dirent.h:105:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:213:0: warning: "DT_DIR" redefined [enabled by default]
/usr/include/dirent.h:107:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:214:0: warning: "DT_BLK" redefined [enabled by default]
/usr/include/dirent.h:109:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:215:0: warning: "DT_REG" redefined [enabled by default]
/usr/include/dirent.h:111:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:216:0: warning: "DT_LNK" redefined [enabled by default]
/usr/include/dirent.h:113:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:217:0: warning: "DT_SOCK" redefined [enabled by default]
/usr/include/dirent.h:115:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:218:0: warning: "DT_WHT" redefined [enabled by default]
/usr/include/dirent.h:117:0: note: this is the location of the previous definition
In file included from external/yaffs2/yaffs2/utils/mkyaffs2image.c:40: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
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from external/yaffs2/yaffs2/yaffs_packedtags2.c:18: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
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function ‘write_object_header’:
external/yaffs2/yaffs2/utils/mkyaffs2image.c:195:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:195:19: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:196:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:196:19: warning: array subscript is above array bounds [-Warray-bounds]
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_ecc.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_tagsvalidity.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>: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++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
host C: parseStringTest <= external/srec/tools/parseStringTest/parseStringTest.c
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
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....

compile has died like 3 times