forgot, all this is done in windows by cygwin

On Feb 25, 2:22 pm, haiyang kang <corn...@gmail.com> wrote:
> hi,
>
> first, i check out the source code
>     git clone git://android.git.kernel.org/common.git
>     git checkout -t origin/android-goldfish-2.6.27 -b goldfish
> then 
> fromhttp://www.codesourcery.com/sgpp/lite/arm/portal/package3689/public/a...
>   i downloaded the toolchain.
> with the arm-none-eabi-gcc -v, i got my gcc version is
> gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66)
>
> in my code path
>     change makefile  to the following.
>               ARCH   ?= arm
>               CROSS_COMPILE ?= arm-none-eabi-
>     make mrproper
>     make goldfish_defconfig
>     make zImage
>
> then i got the following error
> $ make zImage
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/docproc
>   HOSTLD  scripts/kconfig/conf
> scripts/kconfig/conf -s arch/arm/Kconfig
>   CHK     include/linux/version.h
>   UPD     include/linux/version.h
>   Generating include/asm-arm/mach-types.h
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-arm
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/docproc
>   CC      kernel/bounds.s
> In file included from include/linux/types.h:11,
>                  from include/linux/page-flags.h:8,
>                  from kernel/bounds.c:9:
> include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or
> dir
> ectory
> In file included from include/linux/page-flags.h:8,
>                  from kernel/bounds.c:9:
> include/linux/types.h:12:23: error: asm/types.h: No such file or directory
> In file included from include/linux/page-flags.h:8,
>                  from kernel/bounds.c:9:
> include/linux/types.h:16: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before '__kernel_dev_t'
> include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'dev_t'
> include/linux/types.h:20: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'ino_t'
> include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'mode_t'
> include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'nlink_t'
> include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'off_t'
> include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'pid_t'
> include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'daddr_t'
> include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'suseconds_t'
> include/linux/types.h:28: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'timer_t'
> include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'clockid_t'
> include/linux/types.h:35: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'uid_t'
> include/linux/types.h:36: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'gid_t'
> include/linux/types.h:37: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'uid16_t'
> include/linux/types.h:38: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'gid16_t'
> include/linux/types.h:44: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'old_uid_t'
> include/linux/types.h:45: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'old_gid_t'
> include/linux/types.h:57: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'loff_t'
> include/linux/types.h:66: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'size_t'
> include/linux/types.h:71: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'ssize_t'
> include/linux/types.h:76: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'ptrdiff_t'
> include/linux/types.h:81: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'time_t'
> include/linux/types.h:86: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'clock_t'
> include/linux/types.h:91: error: expected '=', ',', ';', 'asm' or
> '__attribute__
> ' before 'caddr_t'
> include/linux/types.h:109: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'u_int8_t'
> include/linux/types.h:110: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'int8_t'
> include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'u_int16_t'
> include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'int16_t'
> include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'u_int32_t'
> include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'int32_t'
> include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'uint8_t'
> include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'uint16_t'
> include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'uint32_t'
> include/linux/types.h:123: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'uint64_t'
> include/linux/types.h:124: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'u_int64_t'
> include/linux/types.h:125: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'int64_t'
> include/linux/types.h:180: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__le16'
> include/linux/types.h:181: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__be16'
> include/linux/types.h:182: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__le32'
> include/linux/types.h:183: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__be32'
> include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__le64'
> include/linux/types.h:186: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__be64'
> include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__sum16'
> include/linux/types.h:189: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before '__wsum'
> include/linux/types.h:197: error: expected '=', ',', ';', 'asm' or
> '__attribute_
> _' before 'resource_size_t'
> include/linux/types.h:201: error: expected specifier-qualifier-list before
> '__ke
> rnel_daddr_t'
> make[1]: *** [kernel/bounds.s] Error 1
> make: *** [prepare0] Error 2
>
> how can i fix this,  any one has an idea?
> thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to