I'm also having issues building the emulator, though different from yours. For you, I think build-emulator.sh is referring to 'android- configure' and 'android-rebuild.sh', not 'android-reconfigure'. I found I needed a softlink from SDL-1.2.12 to sdl, and then another softlink from sdl/configure to sdl/android-configure; that seems to have gotten me past the first problems. Now build is failing because it can't find X11/Xlib.h. Any ideas?
On Aug 20, 6:33 am, hgschmidt <[EMAIL PROTECTED]> wrote: > Hi everybody, > > it seems like the emulator sources tar is missing (at least) one > script: android-reconfigure. > > Therefore, the build-emulator.sh fails (on my system). If I take a > closer look at the build-emulator.sh script there is a reference to a > script called android-reconfigure: > > [...] > if ! (./android-configure --prefix=$LOCAL && make && make install); > then > echo "ERROR: could not build SDL library, please check their > sources" > fi > [...] > > ... which I simply cannot find. Trying to compile the emulator myself, > leads to following (if variables used, they were set correctly :-) ): > > 1) $ cd SDL-1.2.12 > 2) $ ./configure --prefix=${LOCAL} && make && make install > 3) $ cd ../qemu > 4) $ ./configure --disable-user --disable-kqemu --enable-trace -- > enable-shaper --use-sdl-config=/home/hgschmidt/Development/android- > emulator-0.9_r1/local/bin/sdl-config --static-png --static-sdl -- > target-list=arm-softmmu --enable-alsa --enable-esd --enable-oss -- > prefix=$CURDIR/emulator > 5) make > > Development/android-emulator-0.9_r1/qemu/sdl.c:26:17: warning: SDL.h: > No such file or directory > Development/android-emulator-0.9_r1/qemu/sdl.c:32: error: syntax error > before '*' token > Development/android-emulator-0.9_r1/qemu/sdl.c:32: warning: type > defaults to `int' in declaration of `screen' > Development/android-emulator-0.9_r1/qemu/sdl.c:32: warning: data > definition has no type or storage class > Development/android-emulator-0.9_r1/qemu/sdl.c:40: error: `KMOD_LALT' > undeclared here (not in a function) > Development/android-emulator-0.9_r1/qemu/sdl.c:40: error: `KMOD_LCTRL' > undeclared here (not in a function) > Development/android-emulator-0.9_r1/qemu/sdl.c:43: error: syntax error > before '*' token > Development/android-emulator-0.9_r1/qemu/sdl.c:43: warning: type > defaults to `int' in declaration of `sdl_cursor_normal' > > [...] > > Development/android-emulator-0.9_r1/qemu/sdl.c:558: warning: implicit > declaration of function `SDL_EnableUNICODE' > Development/android-emulator-0.9_r1/qemu/sdl.c:561: warning: implicit > declaration of function `SDL_CreateCursor' > Development/android-emulator-0.9_r1/qemu/sdl.c:561: warning: > assignment makes pointer from integer without a cast > Development/android-emulator-0.9_r1/qemu/sdl.c:562: warning: implicit > declaration of function `SDL_GetCursor' > Development/android-emulator-0.9_r1/qemu/sdl.c:562: warning: > assignment makes pointer from integer without a cast > make[1]: *** [sdl.o] Error 1 > make[1]: Leaving directory `Development/android-emulator-0.9_r1/qemu/ > arm-softmmu' > make: *** [subdir-arm-softmmu] Error 2 > > Correcting the include statement from > > #include SDL.h > > to > > #include SDL/SDL.h > > in a few files remove these errors but trigger new errors! Maybe, an > include parameter for make is missing somewhere (couldn't find it yet > if it is so)? > > Would be great if somebody has an idea here and could post a reply ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to android-internals@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---