Hi,

I’m trying to build x86 goldfish kernel.

I followed instructions from $ANDROID/external/qemu/docs/ANDROID-
KERNEL.TXT and also there is a similar thread [1] which has useful
instructions. But I see compile error:
init/main.c:267: error: impossible constraint in 'asm'

This error message is the same as in [2] but there are no hints how to
resolve it (may it is a well know issue but currently I have no idea
how to deal with it). Any help is highly appreciated.

Details:
$ git branch
* android-goldfish-2.6.29
 master

$ /bin/sh ../external/qemu/distrib/build-kernel.sh --arch=x86 --out=./
out
<SNIP>
 HOSTCC  scripts/pnmtologo
 HOSTCC  scripts/conmakehash
 CC      init/main.o
init/main.c:1: warning: SSE instruction set disabled, using 387
arithmetics
init/main.c: In function 'unknown_bootoption':
init/main.c:267: warning: asm operand 0 probably doesn't match
constraints
init/main.c:267: error: impossible constraint in 'asm'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Could not build the kernel. Aborting !

[1] 
http://groups.google.com/group/android-building/browse_thread/thread/f3a08d40c35ca7b6
[2] http://groups.google.com/group/android-kernel/msg/1ae82d98b9cf7a4c

Thanks,
Stepan.

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

Reply via email to