Join Today
+ Reply to Thread
Results 1 to 6 of 6
  1. #1

    Default How to set up compile enviroment in Ubuntu distribution

    Wright now I'm preparing my notebook for making Ubuntu linux OS partition. So, I'll need some advice on setting enviroment for compile source code for my E680 (not i) Motorola smartphone!
    Because of some specifics on my current phone firmware, described from blackhawk on this link http://www.motorolafans.com/forums/v...=asc&start=100
    @blackhawk
    How did You manage to compile workable binary FBReader, haveing in mind those described differences!
    How did You resolve this: QMenuBar exist but incomplete and raise seg. faults, we have to hard-coding if need it
    I'm not so experience in linux compiling, but trying to learn something using heaviest way, flashing my phone is possible in every time I beleive!
    Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

  3. #3

    Default

    I tryed to build cross toolchain on OS Ubuntu Edgy Eft 6.10 using kegel guide!
    Ubuntu Edgy Eft distribution has:
    BINUTILS_DIR=binutils-2.17
    GCC_CORE_DIR=gcc-4.1.2
    GCC_DIR=gcc-4.1.2
    GLIBC_DIR=glibc-2.4
    LINUX_DIR=linux-2.6.17-386
    LINUX_SANITEZED_HEADER_DIR=linux-libc-headers-2.6.17.1
    GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.4
    GDB_DIR=gdb-6.4-90-debian
    After editing demo-arm-xscale.sh scriptadding this line)
    eval `cat arm-xscale.dat gcc-4.1.2-glibc-2.4.dat` sh all.sh --notest
    Also before this I add gcc-4.1.2-glibc-2.4.dat file in crosstool-0.43 directorium!
    As superuser I add permissions to croostool-0.43 directorium and start
    sh demo-arm-xscale.sh
    Result : Start it but it was interupt at some time because executing script didn't find some sources needed to build cross compiler.
    Then I tryed with gcc-3.2.3-glibc-2.3.2.dat (some procedure as before...)
    After some time 40-50 minutes (depends of download / upload speed to client / server side), I've got error in compiling gcc:
    ../../gcc/read-rtl.c:662: error: invalid lvalue in increment
    How can I resolve this problem:
    GCC 4.x maybe has issues building a GCC 3.x toolchain???
    Have someone try to build cross toolchain on Ubuntu Edgy Eft dist.?
    How he succeed on this issue?
    Thanks

  4. #4

    Default

    @neutrino
    trust me, at this point mkezx is the easiest option; all of these cross-compiling and dependancy issues have been nicely taken care of and getting started w/ mkezx is easy. it builds the necessary host tools (arm-linux-gcc among many others) as part of its build process and it is easy to use its compiler to build your own apps, either against the dev headers/libs as part of the mkezx packages, or (at least for e680i and a780) native ezx apps using the ezx dev-kit.

  5. #5

    Default

    @rpconnect
    Can You resolve me this error when trying to make mkezx-phone-0.2 ?
    ./configure finished OK
    ./make produced error, download it !?
    What has to be done?
    Thanks
    Attached Files Attached Files

  6. #6

    Default

    @neutrino
    have you read the mkezx instructions? please read them first. you should not have to do ./configure and ./make separately, the mkezx package takes care of all of that; if you only want to build the mkezx-phone package use 'scripts/mkezx build-package mkezx-phone'

    please look over the documentation and README file, its a lot easier than you are making it....


 
+ Reply to Thread

Similar Threads

  1. linux distribution
    By jendral_hxr in forum Comments/Suggestions
    Replies: 2
    Last Post: 10-16-2009, 03:20 PM
  2. Replies: 0
    Last Post: 07-23-2008, 05:40 PM
  3. A780 - Angstrom Distribution
    By ziteribo in forum Development
    Replies: 33
    Last Post: 08-21-2007, 09:54 PM
  4. Setup a Linux Developement Enviroment
    By skorianez in forum Development
    Replies: 0
    Last Post: 09-09-2006, 07:15 PM
  5. How to setup TERM enviroment variable:terminfo database
    By neutrino in forum E680i General Chat
    Replies: 0
    Last Post: 04-29-2006, 05:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1