I had the same problem. It is likely because you have the latest java6-
jdk installed, this will not work. You have to install java5 in order
for it to build correctly.
The reason is that for some reason java6 assumes that you are building
on a 64bit machine WORDSIZE == 64 and therefore looks for the 64bit
version of libstdc++

You can see the error reported here: https://review.source.android.com/15611

doddy

On Jul 6, 10:58 pm, chris kinney <chris.e...@gmail.com> wrote:
> i downloaded the source and ran make. im getting error, could you let
> me know what im missing?
>
> cmki...@laptop:~/mydroid$ make
> ============================================
> PLATFORM_VERSION_CODENAME=AOSP
> PLATFORM_VERSION=AOSP
> TARGET_PRODUCT=generic
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=
> TARGET_BUILD_TYPE=release
> TARGET_BUILD_APPS=
> TARGET_ARCH=arm
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=OPENMASTER
> ============================================
> Install: out/host/linux-x86/framework/apicheck.jar
> Install: out/host/linux-x86/framework/clearsilver.jar
> Install: out/host/linux-x86/framework/droiddoc.jar
> host SharedLib: libneo_util (out/host/linux-x86/obj/lib/
> libneo_util.so)
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.1/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.1/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.1/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.1/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> make: *** [out/host/linux-x86/obj/lib/libneo_util.so] Error 1

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to