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
Search



Donate

Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

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

Author Topic: Cygwin Compile  (Read 1884 times)

Offline rmaniac

  • Member
  • *
  • Posts: 13
Cygwin Compile
« on: April 07, 2009, 10:31:37 PM »
I have built rockbox on linux and macos. I was trying to build it on Windows. Should the rockboxdex.sh work on cygwin? I believe I read it should I ran it and it bombs with a bunch of this:

45243235 [main] sh 265016 fork: child -1 - CreateProcessA failed, errno 11
46250036 [main] sh 265016 fork: child -1 - CreateProcessA failed, errno 11
48261796 [main] sh 265016 fork: child -1 - CreateProcessA failed, errno 11
52266946 [main] sh 265016 fork: child -1 - CreateProcessA failed, errno 11
60267323 [main] sh 265016 fork: child -1 - CreateProcessA failed, errno 11
/tmp/rbdev-build/gcc-4.0.3/libiberty/configure: fork: Resource temporarily unavailable
make: *** [configure-build-libiberty] Error 1

I know I can pull the precompiled binaries from your repository but now I am mildly concerned about my environment so I would like to make this work.  Any I ideas what could be making this CreateProcessA errors? Seems like the os has a process limit or something that I am unsure how to up or something is going nuts and forking like crazy.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Cygwin Compile
« Reply #1 on: April 07, 2009, 10:37:13 PM »
You should follow the instructions in the docs index for setting up a Cygwin environment.

http://www.rockbox.org/twiki/bin/view/Main/CygwinInstallWithScreenShots
http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
« Last Edit: April 07, 2009, 11:23:47 PM by Chronon »
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Cygwin Compile
« Reply #2 on: April 07, 2009, 11:20:42 PM »
This looks like a Cygwin error which is unrelated to Rockbox.  You should search for information elsewhere. 

For example, one thread on a Cygwin mailing list says the problem is due to ATI/AMD graphics drivers.
Logged

Offline rmaniac

  • Member
  • *
  • Posts: 13
Re: Cygwin Compile
« Reply #3 on: April 08, 2009, 02:49:47 AM »
Chronon: Yeah I saw that. But as it looks like you noticed after your post rockboxdev.sh should work on Cygwin.

dreamlayers: Thanks for the search. I tried google but I guess I did not try hard enough. I think I also kept my search a bit to rock box specific which did not help I imagine.

Everyone else: 

Thanks to everyones help I seem to have it worked out. It actually was the ATI drivers. I am using a macbook pro with bootcamp. Bootcamp seems to install the 8.4 drivers which people have reported this issue with. After grabbing the update checker util from ATI's web site it said I would need to get drivers from apple. So I needed to get a more direct download (Apple does not offer updated driver that I know of). I used:
http://ati.amd.com/online/mobilecatalyst/
Which gave me the latest and greatest. If anyone else installs that be sure and have .Net 2.0+ installed BEFORE you install the driver or you will get stuck with VGA until you do. After getting the new driver in place all those odd process for errors seem to have gone away as I was able to build a complete environment with the rockboxdev.sh.

Thanks again!

Logged

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

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 15 queries.