Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: HELP! Noob needs command line help!

  1. #1
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    HELP! Noob needs command line help!

    i am trying to make the "brain-machine" from makezine.
    i need to execute the command
    Code:
    make program-mypov
    but when ever i do that i get...
    Code:
    Compiling: mypov.c
    avr-gcc -c -I. -g -Os			 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -DF_CPU=8000000   	 -Wa,-adhlns=mypov.lst  -mmcu=attiny2313 -std=gnu99 mypov.c -o mypov.o
    sh: avr-gcc: not found
    make: *** [mypov.o] Error 127
    please i am in desparate need of help!
    please respond!

  2. #2
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HELP! Noob needs command line help!

    do you have build-essential installed?
    Code:
    sudo apt-get install build-essential
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  3. #3
    Join Date
    Jan 2007
    Beans
    275

    Re: HELP! Noob needs command line help!

    I think gcc isnt install, did u do apt-get install build-essential before doing make on u r system?
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  4. #4
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HELP! Noob needs command line help!

    still says same thing...
    do i need to restart after installing it?

  5. #5
    Join Date
    Apr 2007
    Beans
    14,781

    Re: HELP! Noob needs command line help!

    Quote Originally Posted by taehC View Post
    still says same thing...
    do i need to restart after installing it?
    No, you don't need to restart (this isn't Windows).

    Is there a a readme or some sort of compiling instructions? It should list what you have to do and what you need.

  6. #6
    Join Date
    Jan 2007
    Beans
    275

    Re: HELP! Noob needs command line help!

    I am getting a doutbt, why is it using avr-gcc instead of just gcc cmd? Seems strange 2 me.

    Just isee gcc cmd on konsole, and see if u get output if its correctly isntalled.
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  7. #7
    Join Date
    Jan 2007
    Beans
    275

    Re: HELP! Noob needs command line help!

    No, you don't need to restart (this isn't Windows).
    I second that
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  8. #8
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HELP! Noob needs command line help!

    I havent yet looked for the article but since this is from MAKE magazine it is probably meant for an AVR microcontroller. Are there any more directions in the article?
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  9. #9
    Join Date
    Jan 2007
    Beans
    275

    Re: HELP! Noob needs command line help!

    So then, the OP has to install avr-gcc package instead of gcc right?
    My linux registered number-438221
    Use Zenwalk, its SMALL and SEXY and VERY SLIM distro. Its very fast. I love it.
    Zenwalk.org

  10. #10
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HELP! Noob needs command line help!

    probably but there are probably more details in the article. If that is the case:
    Code:
    sudo apt-get install avr-gcc
    He probably needed build-essential anyways though.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

Page 1 of 2 12 LastLast

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
  •