I am having issues building android from source on Ubuntu Linux 9.04 Compile seems to go fine. However linking is failing.
I have installed all following the required packages as given at http://source.android.com/download $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev Below is the error I am getting: /home/harsha/mydroid/prebuilt/linux-x86/toolchain/i686-unknown-linux- gnu-4.2.1/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../i686- unknown-linux-gnu/bin/ld: out/target/product/generic/obj/ SHARED_LIBRARIES/libdl_intermediates/libdl.o: Relocations in generic ELF (EM: 40) out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/ libdl.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/ libdl_intermediates/LINKED/libdl.so] Error 1 The make options I used are as follows: har...@localhost:~/mydroid$ make TARGET_ARCH=x86 TARGET_PRODUCT=generic TARGET_BUILD_TYPE=release showcommands > ~/ mydroid-make3.txt 2>&1 Can any one tell me the what other libraries that we need -or- anything else that I might need Regards, Harsha On Jul 30, 6:37 am, Mark Woollard <[email protected]> wrote: > Had same issue on my first project yesterday (on Mac OS X) and cured > it by doing a 'build/clean'. Once that was done it worked fine. > > Mark > > On 30 Jul 2009, at 11:30, Sean Hodges wrote: > > > > > Eclipse works just as well in Linux as it does in Windows. The error > > you are getting can have several manifestations, try pulling any > > third-party .jars out of your project and start Eclipse using the > > -clean switch. > > > Building from command-line works as well, you can write a build script > > in ANT or make, and produce an APK just the same as Eclipse. If you > > would prefer to go down this path, start by reading this: > >http://developer.android.com/guide/developing/other-ide.html > > > On Wed, Jul 29, 2009 at 12:32 PM, Bytes<[email protected]> wrote: > > >> Hi, > > >> Thanks for this post. I'm looking for this. > > >> I'd like to work on Linux... as I know GDB and linux internals much > >> better than Windows.... > > >> But my concern is > > >> Will Eclipse fine on Linux ?? Or command line is the best option.... > > >> I just started my HelloWorld program on Android and getting the > >> mysterious error > >> [I directly downloaded 1.5, not an updation] > > >> [2009-07-29 14:53:13 - First] no classfiles specified > >> [2009-07-29 14:53:13 - First] Conversion to Dalvik format failed with > >> error 1 > > >> People saying do refresh and it will give go away. Yes, its going > >> some > >> times but persistent most of the times..... > > >> But if I use command line on Linux for building and installing, can I > >> assume I've a stable build system...... ??? > > >> Thanks for your suggestions > > >> regards > >> -Venu > > >> On Jul 14, 10:10 pm, MCON Dev <[email protected]> wrote: > >>> I have compared multiple Linux distro's before I started with > >>> Android. As of > >>> now I have a windows setup and a Fedora setup. I love the fedora > >>> setup. > >>> Windows is really slow. Fedora zips fast with android development. > >>> I have tried OpenSuse and Debian before Fedora. > >>> Siddharth > > >>> On Tue, Jul 14, 2009 at 9:56 PM, mjlissner <[email protected]> > >>> wrote: > > >>>> I'd also add that if you're planning on doing much coding, in the > >>>> long > >>>> run knowing Linux and the way it thinks about things is pretty > >>>> valuable. It reveals many of the details of how things work that > >>>> Windows just doesn't do, or doesn't do as well. > > >>>> Again though, the sweeping generalization caveat should apply. > > >>>> M > > >>>> On Jul 13, 10:18 pm, wonglik <[email protected]> wrote: > >>>>> I would say it is pretty much up to preferences. Android SDK works > >>>>> both on Linux and windows. > >>>>> I personaly believe that Linux is better environment especially in > >>>>> terms of coding. > >>>>> The only real difference in the systems in Android domain I know > >>>>> is > >>>>> that compiling android os from sources works only on Linuxes and > >>>>> MacOS , so if you plan to play with those windows is not for you. > > >>>>> m > > >>>>> On Jul 13, 7:12 pm, tdapple <[email protected]> wrote: > > >>>>>> Hello, > > >>>>>> I am very interested in working with google stuff, including > >>>>>> android. > >>>>>> Which leads me to Java. I am wondering if Windows is good > >>>>>> enough for > >>>>>> working on android and various other google stuff...wave, voice > >>>>>> and > >>>>>> stuff.....Any advice on best system set up would be great to > >>>>>> get me > >>>>>> started... > > >>>>>> Also interested in python, but can't make android apps with it > >>>>>> as far > >>>>>> as I know. > > >>>>>> Thanks- Hide quoted text - > > >>> - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

