Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Cygwin: Yet another compiling problem
« previous next »
  • Print
Pages: [1]

Author Topic: Cygwin: Yet another compiling problem  (Read 4140 times)

Offline aaron424

  • Member
  • *
  • Posts: 49
Cygwin: Yet another compiling problem
« on: May 07, 2009, 09:15:43 PM »
While attempting to use Cygwin to patch rockbox, when I "type make to create make file" (following instructions from the simpleguidetocompiling)
Cygwin displays:
/bin/sh: arm-elf-gcc: command not found
/bin/sh: arm-elf-gcc: command not found
/bin/sh: arm-elf-gcc: command not found
/bin/sh: arm-elf-gcc: command not found

Over and over again. Can anyone help?
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline froggyman

  • Member
  • *
  • Posts: 214
Re: Cygwin: Yet another compiling problem
« Reply #1 on: May 07, 2009, 09:23:20 PM »
Did you make sure to install all of the correct packages by clicking on them in the installation setup, because it sounds like you dont have all of the packages installed.
Logged
iPod Video 5.5G 30GB - Now Dead :(
Sansa Fuzev2 4GB

"To prevent this day from getting worse, I'll just read ERROR as GOOD THING"

Offline aaron424

  • Member
  • *
  • Posts: 49
Re: Cygwin: Yet another compiling problem
« Reply #2 on: May 07, 2009, 09:34:51 PM »
man, so I have to reinstall everything?
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Cygwin: Yet another compiling problem
« Reply #3 on: May 07, 2009, 09:36:22 PM »
As well as being installed, they need to be in your $PATH.

To permanently do that, type the following command in Cygwin:
Code: [Select]
echo 'export PATH=$PATH:/opt/arm/bin' >> ~/.profileNote: those are single-quotes, not backticks.

Then to apply that, either restart Cygwin, or type:
Code: [Select]
source ~/.profile
EDIT: No, you don't need to reinstall, just make sure you have actually installed the cross-compilers as specified in the instructions. Step 3 here.
« Last Edit: May 07, 2009, 09:45:52 PM by cool_walking_ »
Logged

Offline aaron424

  • Member
  • *
  • Posts: 49
Re: Cygwin: Yet another compiling problem
« Reply #4 on: May 07, 2009, 09:54:38 PM »
How do I uninstall it? I wish to start over but it doesn't show up in windows add or remove programs.
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Cygwin: Yet another compiling problem
« Reply #5 on: May 07, 2009, 10:04:40 PM »
http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all

However, as I said in my edit to my previous message, I don't think you need to reinstall Cygwin.
Logged

Offline aaron424

  • Member
  • *
  • Posts: 49
Re: Cygwin: Yet another compiling problem
« Reply #6 on: May 08, 2009, 01:38:59 PM »
now when I try to get the

Devel - sdl (for the uisimulator)
Devel - m68k-elf-binutils
Devel - m68k-elf-gcc
Devel - sh-elf-binutils
Devel - sh-elf-gcc
Devel - arm-elf-binutill
Devel - arm-elf-gcc

during the install, it doesn't appear as an option
it's probably my fault, but I wonder if anyone can help
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Cygwin: Yet another compiling problem
« Reply #7 on: May 08, 2009, 02:18:13 PM »
Did you add the custom cygwin source for the rockbox packages ?
Logged

Read The Manual Please

Offline aaron424

  • Member
  • *
  • Posts: 49
Re: Cygwin: Yet another compiling problem
« Reply #8 on: May 08, 2009, 02:21:28 PM »
yes, I did use the http://www.rockbox.org/cygwin mirror.
« Last Edit: May 08, 2009, 04:17:52 PM by aaron424 »
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4382
Re: Cygwin: Yet another compiling problem
« Reply #9 on: May 08, 2009, 02:47:58 PM »
So, you added the Rockbox mirror, then selected it, then clicked the + next to "Devel" and there are no such options there?  ("Whatever the incorrect URL or whatever" doesn't inspire a lot of confidence that you carefully followed the instructions.)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline aaron424

  • Member
  • *
  • Posts: 49
Re: Cygwin: Yet another compiling problem
« Reply #10 on: May 08, 2009, 04:20:51 PM »
but now the 8th time through  I realize that it displayed the "error finding .sig file" as described in the docs index, "In case you encounter an error regarding missing .sig file, supply the -X (--no-verify) command-line flag when using Cygwin's setup.exe. This can be added into the command-line invocation in a Windows shortcut, for convenience."

Sorry guys, Ill try to pay more attention and read the instructions
Logged
I have DAPs. And Headphones. like these: 3 sansa e250s (all dead and rockboxed) 1 sansa e280 rockboxed moonscape's build with 8gb micro SDHC card (class 2), 1 sansa m250 rockboxed, 1 sansa c240 rockboxed, 1 sansa fuze 4 gb v2, 1 lonely sansa view 16 gb waiting for rockbox!!

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4382
Re: Cygwin: Yet another compiling problem
« Reply #11 on: May 08, 2009, 04:36:31 PM »
I'm glad you got that sorted out, and thanks for posting what the resolution to your problem was.  Hopefully it helps someone in the future who runs into similar trouble.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline froggyman

  • Member
  • *
  • Posts: 214
Re: Cygwin: Yet another compiling problem
« Reply #12 on: May 08, 2009, 07:36:02 PM »
Quote from: aaron424 on May 08, 2009, 04:20:51 PM
but now the 8th time through  I realize that it displayed the "error finding .sig file" as described in the docs index, "In case you encounter an error regarding missing .sig file, supply the -X (--no-verify) command-line flag when using Cygwin's setup.exe. This can be added into the command-line invocation in a Windows shortcut, for convenience."

Sorry guys, Ill try to pay more attention and read the instructions
its alright alot of people seem to have this problem figuring out what is meant by that, and just assume it was nothing. I actually made that my mistake the first time i was compiling....
Logged
iPod Video 5.5G 30GB - Now Dead :(
Sansa Fuzev2 4GB

"To prevent this day from getting worse, I'll just read ERROR as GOOD THING"

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Cygwin: Yet another compiling problem
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.159 seconds with 21 queries.