error: 'SEGMENT_SIZE' undeclared with arm-eabi-gcc toolchain

From: Kukjin Kim
Date: Fri Mar 30 2012 - 18:50:47 EST


Hi all,

Occurs following error with arm-eabi-gcc toolchain (gcc version 4.4.3 -
GCC). But there is no error with arm-none-linux-gnueabi-gcc toolchain
(gcc version 4.4.1 - Sourcery G++ Lite 2009q3)...

fs/binfmt_aout.c: In function 'load_aout_binary':
fs/binfmt_aout.c:255: error: 'SEGMENT_SIZE' undeclared (first use in
this function)
fs/binfmt_aout.c:255: error: (Each undeclared identifier is reported
only once
fs/binfmt_aout.c:255: error: for each function it appears in.)
make[2]: *** [fs/binfmt_aout.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [fs] Error 2

Any idea?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/