I am attempting to compile the project on Android in order to run Simon 1.
I have successfully compiled ScummVM and ran the game, however - I haven't been able to compile the music playing libraries in order to hear Simon's speech.
I act according to these instructions:
http://wiki.scummvm.org/index.php/Compi ... _libraries
The link for the precompiled binaires is broken (404), and when I attemt to compile the libraries myself, I get endless errors from the configuration script (autogen.sh or configure).
I already bypassed one error, and now I am stuck on the following:
Code: Select all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Code: Select all
configure:3662: checking how to run the C preprocessor
configure:3702: /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -E conftest.c
In file included from /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/syslimits.h:7,
from /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:11,
from conftest.c:11:
/Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:122:61: error: no include path in which to search for limits.h
configure:3708: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3702: /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -E conftest.c
In file included from /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/syslimits.h:7,
from /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:11,
from conftest.c:11:
/Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:122:61: error: no include path in which to search for limits.h
configure:3708: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3702: /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -E -traditional-cpp conftest.c
conftest.c:13: error: assert.h: No such file or directory
configure:3708: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3702: /Applications/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -E -traditional-cpp conftest.c
conftest.c:13: error: assert.h: No such file or directory
configure:3708: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3702: /lib/cpp conftest.c
./configure: line 3703: /lib/cpp: No such file or directory
configure:3708: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3702: /lib/cpp conftest.c
./configure: line 3703: /lib/cpp: No such file or directory
configure:3708: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3778: result: /lib/cpp
configure:3807: /lib/cpp conftest.c
./configure: line 3808: /lib/cpp: No such file or directory
configure:3813: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3807: /lib/cpp conftest.c
./configure: line 3808: /lib/cpp: No such file or directory
configure:3813: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbisidec"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3875: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Seems like the script encounters some dependency problem in the NDK toolchain.
It happens both on MAD and Tremor configure scripts, but the main ScummVM configure worked perfectly.
I also tried with NDK r5b as in the instructions.
Does anyone have his own set of precompiled binaries for MAD and Tremor, or knows how to solve this?