hi all,
I have downloaded the ICS source code from CAF,when i am trying to build
the following below errors are getting
but my friends are able to build with the same CAF  & generating images
successfully.
Even i updated the my ubuntu machine then also i am getting.
guys anyone can help me,if you got similar kind of issue with ICS-CAF
source code.

BUILD ERROR:
----------------------
external/powertop/../../../kernel/include/asm-generic/signal.h:94: error:
'__BITS_PER_LONG' undeclared here (not in a function)

external/powertop/../../../kernel/include/asm-generic/signal.h:95: error:
conflicting types for 'sigset_t'
external/powertop/../../../kernel/include/asm-generic/signal.h:95: error:
conflicting types for 'sigset_t'
bionic/libc/kernel/arch-arm/asm/signal.h:20: note: previous declaration of
'sigset_t' was here
bionic/libc/kernel/arch-arm/asm/signal.h:20: note: previous declaration of
'sigset_t' was here
In file included from bionic/libc/include/signal.h:35,
                 from bionic/libc/include/sys/select.h:34,
                 from bionic/libc/include/unistd.h:34,
                 from external/powertop/config.c:25:
bionic/libc/kernel/arch-arm/asm/signal.h:84: error: redefinition of 'struct
sigaction'In file included from bionic/libc/include/signal.h:35,
                 from bionic/libc/include/sys/select.h:34,
                 from bionic/libc/include/unistd.h:34,
                 from external/powertop/process.c:25:
bionic/libc/kernel/arch-arm/asm/signal.h:84: error: redefinition of 'struct
sigaction'

bionic/libc/kernel/arch-arm/asm/signal.h:97: error: redefinition of 'struct
sigaltstack'bionic/libc/kernel/arch-arm/asm/signal.h:97: error:
redefinition of 'struct sigaltstack'

bionic/libc/kernel/arch-arm/asm/signal.h:101: error: conflicting types for
'stack_t'bionic/libc/kernel/arch-arm/asm/signal.h:101: error: conflicting
types for 'stack_t'

external/powertop/../../../kernel/include/asm-generic/signal.h:119: note:
previous declaration of 'stack_t' was
hereexternal/powertop/../../../kernel/include/asm-generic/signal.h:119:
note: previous declaration of 'stack_t' was here

In file included from bionic/libc/include/signal.h:35,
                 from bionic/libc/include/sys/select.h:34,
                 from bionic/libc/include/unistd.h:34,
                 from external/powertop/powertop.c:26:
bionic/libc/kernel/arch-arm/asm/signal.h:84: error: redefinition of 'struct
sigaction'
bionic/libc/kernel/arch-arm/asm/signal.h:97: error: redefinition of 'struct
sigaltstack'
bionic/libc/kernel/arch-arm/asm/signal.h:101: error: conflicting types for
'stack_t'
external/powertop/../../../kernel/include/asm-generic/signal.h:119: note:
previous declaration of 'stack_t' was here
make: ***
[out/target/product/qsd8250_surf/obj/EXECUTABLES/powertop_intermediates/config.o]
Error 1
make: *** Waiting for unfinished jobs....
make: ***
[out/target/product/qsd8250_surf/obj/EXECUTABLES/powertop_intermediates/process.o]
Error 1
external/powertop/powertop.c: In function 'main':
external/powertop/powertop.c:1010: warning: assignment discards qualifiers
from pointer target type
external/powertop/powertop.c:1012: warning: assignment discards qualifiers
from pointer target type
external/powertop/powertop.c:1014: warning: assignment discards qualifiers
from pointer target type
external/powertop/powertop.c:1048: warning: passing argument 1 of
'push_line' discards qualifiers from pointer target type
external/powertop/powertop.c:88: note: expected 'char *' but argument is of
type 'const char *'
make: ***
[out/target/product/qsd8250_surf/obj/EXECUTABLES/powertop_intermediates/powertop.o]
Error 1
warning: (MTD_MSM_NAND && MTD_DOC2000 && MTD_DOC2001 && MTD_DOC2001PLUS)
selects MTD_NAND_IDS which has unmet direct dependencies (MTD && MTD_NAND)
warning: (MTD_MSM_NAND && MTD_DOC2000 && MTD_DOC2001 && MTD_DOC2001PLUS)
selects MTD_NAND_IDS which has unmet direct dependencies (MTD && MTD_NAND)
#
# configuration written to .config
#
make[1]: Leaving directory `/u/prasad_CAF/kernel'


Thanks.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to