Dianne,

Can we use library compiled using GlibC2.4 on android ? The problem as
i understand is some system calls like memcpy,malloc,fclose compiler
is unbale to understand..

Can you tell me how to approach this problem ? Any solution for this ?

Regards
Girish

On Feb 9, 11:07 am, Dianne Hackborn <hack...@android.com> wrote:
> Build your library with the Android build system, which uses the correct
> compiler, links against the correct libraries, etc.
>
>
>
> On Sun, Feb 8, 2009 at 9:51 PM, Girish <htgir...@gmail.com> wrote:
>
> > Thanks Ravi,Dianne,Joe and others.
>
> > But the libs built using glibc wont run on android i guess. I am
> > getting linking errors like this.
>
> > /home/app/user/girish/open_src/prebuilt/linux-x86/toolchain/arm-
> > eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/../../../../arm-eabi/bin/ld:
> > warning: libgcc_s.so.1, needed by out/target/product/obj/lib/
> > libmylibrary1.so, not found (try using -rpath or -rpath-link)
> > /home/app/user/girish/open_src/prebuilt/linux-x86/toolchain/arm-
> > eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/../../../../arm-eabi/bin/ld:
> > warning: libc.so.6, needed by out/target/product/obj/lib/
> > libmylibrary1.so, not found (try using -rpath or -rpath-link)
>
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `fcl...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `ra...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `memm...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `mal...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary2.so: undefined reference to
> > `fr...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary2.so: undefined reference to
> > `mem...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary3.so: undefined reference to
> > `__errno_locat...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `__aeabi_unwind_cpp_...@gcc_3.5'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `ld...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `__sysv_sig...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `__ctype_toupper_...@glibc_2.4'
> > out/target/product/obj/lib/libmylibrary1.so: undefined reference to
> > `t...@glibc_2.4'
>
> > And more ..............
>
> > Any comments on this ?
>
> > Regards
> > Girish
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to