<p>Hi,<br>
had problems compiling with the r3 but did no further investigation. Now i noticed that the r1 isn&#39;t available for download anymore, so the &quot;compiling with r3&quot; becomes a high priority task - i&#39;ll start working on it asap. <br>

Until the problem is solved, i could offer to upload the r1 and make it ailable for downloading (if the license allows that). Unfortunatly i only have the Windows-Version of the NDK.</p>
<p>Regards,<br>
Stefan</p>
<p><blockquote type="cite">02.04.2010 09:56 schrieb am &quot;Thomas Holzmann&quot; &lt;<a href="mailto:t.holzmann@student.tugraz.at">t.holzmann@student.tugraz.at</a>&gt;:<br><br><br>
Hello,<br>
<br>
I&#39;m currently trying to compile the squeak android vm using the NDK. I assume I&#39;ve configured the NDK correctly because hello-jni compiles correctly.<br>
However, when I try to compile squeakvm I get very much errors like this:<br>
<br>
<br>
holzi@holzibook:~/android-ndk-r3$ make APP=squeakvm<br>
Android NDK: Application hello-gl2 targets unknown platform &#39;android-7&#39;   Android NDK: Switching to android-5   Android NDK: Application hello-jni targets unknown platform &#39;android-7&#39;   Android NDK: Switching to android-5   Android NDK: Building for application &#39;squeakvm&#39;   Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/squeakvm.c<br>

Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/interp.c<br>
apps/squeakvm/project/jni/interp.c: In function &#39;dumpImage&#39;:<br>
apps/squeakvm/project/jni/interp.c:4479: warning: passing argument 1 of &#39;sqImageFileOpen&#39; makes pointer from integer without a cast<br>
apps/squeakvm/project/jni/sqPlatformSpecific.h:28: note: expected &#39;char *&#39; but argument is of type &#39;sqInt&#39;<br>
apps/squeakvm/project/jni/interp.c: In function &#39;readImageFromFileHeapSizeStartingAt&#39;:<br>
apps/squeakvm/project/jni/interp.c:22475: warning: assignment makes integer from pointer without a cast<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/sqNamedPrims.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/sqVirtualMachine.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/B2DPlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/BitBltPlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/FilePlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/ZipPlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/LargeIntegers.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/MiscPrimitivePlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/SocketPlugin.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/sqFilePluginBasicPrims.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/sqExternalPrims.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/aio.c<br>
Compile thumb  : squeakvm &lt;= apps/squeakvm/project/jni/sqUnixSocket.c<br>
apps/squeakvm/project/jni/sqUnixSocket.c: In function &#39;Copyright&#39;:<br>
apps/squeakvm/project/jni/sqUnixSocket.c:2: error: expected declaration specifiers before numeric constant<br>
In file included from build/platforms/android-3/arch-arm/usr/include/sys/types.h:33,<br>
                from build/platforms/android-3/arch-arm/usr/include/math.h:21,<br>
                from apps/squeakvm/project/jni/sq.h:12,<br>
                from apps/squeakvm/project/jni/sqUnixSocket.c:44:<br>
build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/include/stddef.h:211: error: storage class specified for parameter &#39;size_t&#39;<br>
In file included from build/platforms/android-3/arch-arm/usr/include/stdint.h:31,<br>
                from build/platforms/android-3/arch-arm/usr/include/sys/types.h:34,<br>
                from build/platforms/android-3/arch-arm/usr/include/math.h:21,<br>
                from apps/squeakvm/project/jni/sq.h:12,<br>
                from apps/squeakvm/project/jni/sqUnixSocket.c:44:<br>
build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/include/stddef.h:323: error: storage class specified for parameter &#39;wchar_t&#39;<br>
In file included from build/platforms/android-3/arch-arm/usr/include/sys/_types.h:40,<br>
                from build/platforms/android-3/arch-arm/usr/include/stdint.h:32,<br>
                from build/platforms/android-3/arch-arm/usr/include/sys/types.h:34,<br>
                from build/platforms/android-3/arch-arm/usr/include/math.h:21,<br>
                from apps/squeakvm/project/jni/sq.h:12,<br>
                from apps/squeakvm/project/jni/sqUnixSocket.c:44:<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:52: error: storage class specified for parameter &#39;__int8_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:53: error: storage class specified for parameter &#39;__uint8_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:54: error: storage class specified for parameter &#39;__int16_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:55: error: storage class specified for parameter &#39;__uint16_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:56: error: storage class specified for parameter &#39;__int32_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:57: error: storage class specified for parameter &#39;__uint32_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:59: error: storage class specified for parameter &#39;__int64_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:61: error: storage class specified for parameter &#39;__uint64_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:64: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or &#39;__attribute__&#39; before &#39;__int_least8_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:65: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or &#39;__attribute__&#39; before &#39;__uint_least8_t&#39;<br>
build/platforms/android-3/arch-arm/usr/include/machine/_types.h:66: error: expected &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or &#39;__attribute__&#39; before &#39;__int_least16_t&#39;<br>
...<br>
<br>
<br>
As you see I&#39;m using NDK r3. But as stefan krecher wrote in the wiki, squeak will not work correctly with the NDK r3, but it should compile!?<br>
<br>
So does someone know what could be the problem?<br>
<br>
And could someone a link to a NDK version (for Linux) with which it works (I didn&#39;t find NDK r1...).<br>
<br>
Thanks!<br>
<br>
Thomas<br><font color="#888888">
<br>
-- <br>
Thomas Holzmann<br>
Student TU Graz / Informatik<br>
<br>
</font></blockquote></p>