Tom,

I am using ubuntu 8.04.1 desktop on x86_64 to build android.

You need 32bit version library, such as /usr/lib32/libstdc++.so
How about try

 $ sudo apt-get install ia32-libs lib32z1-dev lib32ncurses5-dev

to get 32bit libraries.

On 10月24日, 午前1:03, Tom Morris <[EMAIL PROTECTED]> wrote:
> It doesn't appear that building from source works out of the box on 64-
> bit Ubuntu (8.04 Hardy Heron).
>
> Before I dig into debugging it, I was wondering if a) it's a supported
> platform and b) anyone has already done the work?
>
> The initial errors are listed below, but, like I said, I haven't
> looked at it yet, so I don't know if this is an isolated problem or
> the tip of the iceberg.
>
> Tom
> -----
>
> $ make
> build/core/product_config.mk:229: WARNING: adding test OTA key
> host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
> acp_intermediates/acp)
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp]
> Error 1
> $

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to