-Doug
On Tue, Dec 7, 2010 at 3:49 PM, DanielH <googl...@dani.cswpro.de> wrote:
> Well, I didn't get as far as you yet, as compiling stops with this
> error:
>
> configure:3807: checking whether the C compiler works
> configure:3829: arm-none-linux-gnueabi-gcc -I/tmp/org.pidroid/include -
> I/home/dani/mydroid/external/icu4c/common -O2 -L/tmp/org.pidroid/lib -
> Wl,-rpath-link=/tmp/org.pidroid/lib -licuuc conftest.c >&5
> /home/dani/mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/../
> lib/gcc/arm-eabi/4.3.1/../../../../arm-eabi/bin/ld: cannot find -
> licuuc
> collect2: ld returned 1 exit status
> configure:3833: $? = 1
> configure:3871: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "glib"
> | #define PACKAGE_TARNAME "glib"
> | #define PACKAGE_VERSION "2.27.4"
> | #define PACKAGE_STRING "glib 2.27.4"
> | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?
> product=glib"
> | #define PACKAGE_URL ""
> | #define GLIB_MAJOR_VERSION 2
> | #define GLIB_MINOR_VERSION 27
> | #define GLIB_MICRO_VERSION 4
> | #define GLIB_INTERFACE_AGE 0
> | #define GLIB_BINARY_AGE 2704
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:3876: error: in `/home/dani/pidroid/third_party/
> glib-2.27.4':
> configure:3878: error: C compiler cannot create executables
>
> How did you avoid this?
>
> By the way, I also had to change the files
> arm-none-linux-gnueabi-g++ and
> arm-none-linux-gnueabi-gcc
> in pidroid/cmds/ like this:
>
> - my $ALIB = "$DROID/out/target/product/generic/obj/lib";
> + my $ALIB = "$DROID/ndk/build/platforms/android-8/arch-arm/usr/lib";
> my $TOOLCHAIN = "$DROID/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1";
>
> Without this, compiling stopped even earlier.
>
> Perhaps you can help me to reach your status.
>
> Krzysztof Klinikowski schrieb:
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>
>
That's really important. You need to know that mydroid is a downloaded
and compiled android platform from where I got a lot of other
libaries.
2010/12/8 Doug Kwan (關振德) <doug...@google.com>:
Regards,
Krzysztof
2010/12/8 Krzysztof Klinikowski <kksz...@gmail.com>:
export PATH=$PATH:/home/kkszysiu/Pobrane/pidgin_android/pidroid/cmds/:/That's really important. You need to know that mydroid is a downloaded
home/kkszysiu/Pobrane/android-sdk-linux_86/tools/:/home/kkszysiu/
mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/
and compiled android platform from where I got a lot of other
libaries.
2010/12/8 Doug Kwan (關振德) <doug...@google.com>:
> You need to install libicuuc somewhere that is visible to the
> toolchain. The configuration failed becasue the linker cannot find
> the iccuc library.
>
> -Doug
>
2010/12/8 David Turner <di...@android.com>:
>
>
> On Wed, Dec 8, 2010 at 7:22 AM, Krzysztof Klinikowski <kksz...@gmail.com>
> wrote:
>>
>> export PATH=$PATH:/home/kkszysiu/Pobrane/pidgin_android/pidroid/cmds/:/
>> home/kkszysiu/Pobrane/android-sdk-linux_86/tools/:/home/kkszysiu/
>> mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/
>>
>> That's really important. You need to know that mydroid is a downloaded
>> and compiled android platform from where I got a lot of other
>> libaries.
>>
> Which means you're probably linking against unstable system libraries. Don't
> be surprised if things don't work consistently between platforms if you
> don't use the NDK-provided libraries for linking.
>>
>> 2010/12/8 Doug Kwan (關振德) <doug...@google.com>:
>> > You need to install libicuuc somewhere that is visible to the
>> > toolchain. The configuration failed becasue the linker cannot find
>> > the iccuc library.
>> >
>> > -Doug
>> >
>> > On Tue, Dec 7, 2010 at 3:49 PM, DanielH <googl...@dani.cswpro.de>
I don't have libraries like MPFR and GMP in NDK so that's pretty hard
to link that from NDK ;)
2010/12/8 David Turner <di...@android.com>:
>
>
> On Wed, Dec 8, 2010 at 7:22 AM, Krzysztof Klinikowski <kksz...@gmail.com>
> wrote:
>>
>> export PATH=$PATH:/home/kkszysiu/Pobrane/pidgin_android/pidroid/cmds/:/
>> home/kkszysiu/Pobrane/android-sdk-linux_86/tools/:/home/kkszysiu/
>> mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/
>>
>> That's really important. You need to know that mydroid is a downloaded
>> and compiled android platform from where I got a lot of other
>> libaries.
>>
> Which means you're probably linking against unstable system libraries. Don't
> be surprised if things don't work consistently between platforms if you
> don't use the NDK-provided libraries for linking.
>>
>> 2010/12/8 Doug Kwan (關振德) <doug...@google.com>:
>> > You need to install libicuuc somewhere that is visible to the
>> > toolchain. The configuration failed becasue the linker cannot find
>> > the iccuc library.
>> >
>> > -Doug
>> >
>> > On Tue, Dec 7, 2010 at 3:49 PM, DanielH <google.com@dani.cswpro.de>
Regards,
Krzysztof.
>> >> > On Tue, Dec 7, 2010 at 3:49 PM, DanielH <googl...@dani.cswpro.de>
Regards,
Krzysztof
2010/12/8, DanielH <googl...@dani.cswpro.de>:
> Compiling nearly finished, but this error came:
>
> /tmp/org.pidroid/native/bin/xz --lzma2=dict=1048576 -Ccrc32 -f assets/
> pidroid.tar
> (cd app; ant debug)
> /bin/sh: ant: Permission denied
> make: *** [debug] Fehler 127
>
> What does it mean?
> I scroogled the error message (I deny Google search due to privacy
> reasons :-)), but didn't find anything of interest.
>
> DanielH schrieb:
>> Ooops, I didn't know that mydroid has to be compiled and that's why
>> there were still some directories and libraries missing. So the
>> changes in the pidroid/cmds/ files were simply not neccessary.
>>
>> I hope it works now, still compiling... ;-)
>>
>> Krzysztof Klinikowski schrieb:
2010/12/8 DanielH <googl...@dani.cswpro.de>: