Results 1 to 5 of 5

Thread: make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

  1. #1
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Unhappy make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

    Hi everyone,
    Am working on Windows XP.
    I installed VMware player and Greenphone SDK without any errors or warnings.When I click the 'Greenphone SDK icon' ,VMware player starts up and I get a user interface which resembles Linux user interface(screenshot attached).
    I followed the steps mentioned in the 'getting started' pdf while trying to run the 'example' application(in the konsole)----
    1. source /opt/Qtopia/SDK/scripts/devel-x86.sh

    2. cd ~/projects/application

    3. qtopiamake(which results in)
    Cleaning out stale build files....
    Finding project files....
    1 project files found.

    4.make (which shows a lot of stuff and ends in the following errors)...
    make[2]:arm-linux-g++:Command not found.
    make[2]:***[.obj/release-shared/main.o] error 127
    make[2]:Leaving directory '/home/user/projects/application'
    make[1]:***[all] error 2
    make[2]:Leaving directory '/home/user/projects/application'
    make[1]:***[all] error 2

    Can someone please tell me what's wrong.I can't figure out the errors.It's an example which comes with the SDK itself so,I expected it to work properly.
    I didn't have the phone connected to the system when I was trying to run the commands so,can that be the reason behind the errors(USB access is disabled in my system ).

    I read in some of the sites that it's probably because PATH is not properly set or something like that.....How do I check if it's the reason behind the errors and if so,how to correct it.
    Please advice on what to do.Thank you.
    Attached Images Attached Images
    If everything seems to be going well, you have obviously overlooked something.

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

    Hi,
    By the looks of this error "make[2]:arm-linux-g++:Command not found" your compiler is not present.
    If you only type 'arm-linux-g++' in the console, does it say "command not found", if so, then your compiler is not pathed or you don't have one.
    type export, see if the PATH=, variable has your path to your compiler binary. If not, then add your binary path.
    example export PATH=$PATH:/opt/arm-linux/bin

  3. The following user says thank you to QbelcorT for this useful post:

    rishiraj (17th April 2009)

  4. #3
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

    Hi,
    Thanks for replying.
    Yes,when I type arm-linux-g++,I get "command not found".When I tried 'export',I got a lot of stuff but there was only one line which had the word PATH in it.
    Qt Code:
    1. Declare – x PATH=”/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.3.2/greenphone/bin:/opt/Qtopia/SDK/4.3.2/greenphone/scripts:/opt/toolchains/greenphone/gcc-4.1.1-glibc-2.3.6/arm-linux/bin:/opt/Qtopia/SDK/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    To copy to clipboard, switch view to plain text mode 

    PATH contains "...opt/toolchains/greenphone/gcc-4.1.1-glibc-2.3.6/arm-linux/bin...."...so,do I need to do "export PATH=$PATH:/opt/arm-linux/bin " or,is it some other problem.
    Please advice.
    Thank you.
    Last edited by rishiraj; 17th April 2009 at 06:45.
    If everything seems to be going well, you have obviously overlooked something.

  5. #4
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

    forgot to mention this....I have Linux fedora core 8 and Windows XP both in the same system.I have Qt 4.4.3 installed in Linux but,I am installing Greenphone SDK in Windows xp.
    If everything seems to be going well, you have obviously overlooked something.

  6. #5
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: make[2]:arm-linux-g++:Command not found.(Greenphone SDK)

    Hi,
    the above problem's solved now.I did export PATH=$PATH:/usr/local/arm-linux/bin to point to arm-linux-g++ and now it's working fine.
    Now,when I connect the greenphone via USB,I am asked the password for it....As per the FAQs in the qtextended website,
    Q.What are the passwords for the root account on the SDK?
    The 'root' user gets shipped with a password of 'root'. The 'user' user is shipped with a password of 'user'.
    But,neither password works in my case.
    I get something like this(I get three attempts):-
    root@10.10.10.20's password:
    ...
    and then I get Connection to Greenphone at 10.10.10.20 failed
    FAILED.

    If someone has any idea of default passwords for the Greenphone,please help.
    Thank you.
    If everything seems to be going well, you have obviously overlooked something.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.