I got the same "#error unsupported CPU - please update the code" error. The problem is that the host architecture is detected as i686 but only I386 is supported. A quickfix is to edit qemu/objs/config- host.h (after failing) and replace HOST_i686 with HOST_I386. Then run make in qemu.
Jeff On Jan 5, 4:38 pm, dasacc22 <[email protected]> wrote: > Hi, > > I was trying to compile android emulator on ubuntu 8.10 platform and > received the following during make > > Ready to go. Type 'make' to build emulator > Prebuilt: objs/libSDLmain.a > Prebuilt: objs/libSDL.a > Compile: emulator-dyngen <= dyngen.c > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:123:2: error: > #error unsupported CPU - please update the code > Compile: emulator-op <= target-arm/op.c > /home/daniel/Workspace/android/emulator/qemu/dyngen.c: In function > ‘load_object’: > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:496: error: > ‘ELF_CLASS’ undeclared (first use in this function) > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:496: error: > (Each undeclared identifier is reported only once > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:496: error: for > each function it appears in.) > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:2236:2: error: > #error unsupported CPU > /home/daniel/Workspace/android/emulator/qemu/dyngen.c:3215:2: error: > #error unsupported CPU > make: *** [objs/intermediates/emulator-dyngen/dyngen.o] Error 1 > make: *** Waiting for unfinished jobs.... > ERROR: could not build SDL library > > Does anyone have any advice? > > Thanks, > Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

