Ryan,

Can you share the exact changes you made in the dmtrace.cpp and
freerunner-ril.c?

Thanks,

-Z.

On Dec 22, 6:59 pm, Zia <[email protected]> wrote:
> I'm getting the following error when trying to compile cupcake on
> Karmic 64bit. I've downgraded my gcc and g++ from 4.4 to 4.3 (linking
> gcc to gcc-4.3 and g++ to g++-4.3) and updated findleaves.sh. Any
> ideas?
>
> Thanks,
> Zia
> ------------
>  host Executable: aidl (out/host/linux-x86/obj/EXECUTABLES/
> aidl_intermediates/aidl)
> ar crs  out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/
> libpng.a out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/
> png.o out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/
> pngerror.o out/host/linux-x86/obj/STATIC_LIBRARIES/
> libpng_intermediates/pnggccrd.o out/host/linux-x86/obj/
> STATIC_LIBRARIES/libpng_intermediates/pngget.o out/host/linux-x86/obj/
> STATIC_LIBRARIES/libpng_intermediates/pngmem.o out/host/linux-x86/obj/
> STATIC_LIBRARIES/libpng_intermediates/pngpread.o out/host/linux-x86/
> obj/STATIC_LIBRARIES/libpng_intermediates/pngread.o out/host/linux-x86/
> obj/STATIC_LIBRARIES/libpng_intermediates/pngrio.o out/host/linux-x86/
> obj/STATIC_LIBRARIES/libpng_intermediates/pngrtran.o out/host/linux-
> x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngrutil.o out/host/
> linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngset.o out/host/
> linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngtrans.o out/
> host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngvcrd.o out/
> host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngwio.o out/
> host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/pngwrite.o
> out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/
> pngwtran.o out/host/linux-x86/obj/STATIC_LIBRARIES/
> libpng_intermediates/pngwutil.o
> host SharedLib: libESR_Portable (out/host/linux-x86/obj/lib/
> libESR_Portable.so)
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.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/aidl_intermediates/aidl]
> Error 1
> make: *** Waiting for unfinished jobs....
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.a when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.4/
> libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.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/lib/libESR_Portable.so] Error 1
>
> On Dec 8, 4:19 pm, Lox Knc <[email protected]> wrote:
>
> > > I just built the cupcake branch of Android (debug build) onUbuntu
> > > Karmic64-bit.  Karmic ships with gcc 4.4.1.
>
> > > Here are some notes regarding the instructions posted on the web at
> > >http://source.android.com/download
>
> > > 1. The required packages list needs to be updated, adding the following:
>
> > > sun-java6-jdk (replaces sun-java5-jdk)
> > > liblzo2-dev
> > > uboot-mkimage
>
> > Hello,
>
> > Very nice information you provide here. I just wonder why I get this
> > compiling eclair:
>
> > "You are attempting to build with the incorrect version
> > of java.
>
> > Your version is: java version "1.6.0_15".
> > The correct version is: 1.5."
>
> > Regards
>
> > --
> > Lox
> > [email protected]

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to