Rockbox Development > Starting Development and Compiling

Cygwin Compile

(1/1)

rmaniac:
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.

Chronon:
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

dreamlayers:
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.

rmaniac:
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!

Navigation

[0] Message Index

Go to full version