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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Setting up cygwin fails to get setup.ini
« previous next »
  • Print
Pages: [1]

Author Topic: Setting up cygwin fails to get setup.ini  (Read 3938 times)

Offline TAC109

  • Member
  • *
  • Posts: 86
Setting up cygwin fails to get setup.ini
« on: August 05, 2014, 07:59:24 PM »
When setting up a Cygwin development environment as explained here http://www.rockbox.org/wiki/CygwinDevelopment I am failing at step 3 (Select the rockbox mirror site).

After adding http://download.rockbox.org/cygwin/ in the "User URL", the installer fails to find the settings.ini file.

It appears that the installer is looking in directory "http://download.rockbox.org/cygwin/x86/" for the settings.ini file.

Could some kind person make the necessary adjustments to the download site please by adding the "x86/" directory and copying the settings.ini file across. Thanks

Edit: The 'release' folder may also need to be moved as well?
« Last Edit: August 05, 2014, 08:02:44 PM by TAC109 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Setting up cygwin fails to get setup.ini
« Reply #1 on: August 05, 2014, 08:28:51 PM »
Do you actually want to build for SH1?  that would be Archos only.  If not, you can skip that step (see the bottom of the paragraph).

Edit:  Actually, I'll just rewrite that section to put the ARM instructions at the top of the paragraph instead of the bottom.
« Last Edit: August 05, 2014, 08:34:03 PM by saratoga »
Logged

Offline TAC109

  • Member
  • *
  • Posts: 86
Re: Setting up cygwin fails to get setup.ini
« Reply #2 on: August 05, 2014, 08:42:25 PM »
You are correct! I'm wanting to compile for Sansa Clip Zip and Fuze +.

I'll look at the http://www.rockbox.org/wiki/CrossCompiler pages.

Thanks again.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Setting up cygwin fails to get setup.ini
« Reply #3 on: August 05, 2014, 09:03:58 PM »
I feel as though I should point out that there's a very high likelihood of failure here.

Pretty much no one uses CygWin, because frankly, its absolutely terrible.

You would be much better off with a virtual machine image, if I recall correctly we even ship a 32bit virtual machine image with the toolchains precompiled. An extra bonus would be the fact that a virtual machine will be appreciably faster than CygWin on the same host

I had thought that our documentation spelled out what a bad idea CygWin is, perhaps I'm wrong about that, ...it likely should.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline TAC109

  • Member
  • *
  • Posts: 86
Re: Setting up cygwin fails to get setup.ini
« Reply #4 on: August 06, 2014, 10:40:57 PM »
Saratoga:

Ok, after getting the additional Cygwin packages mentioned in the CrossCompiler documentation and running the git clone, I ran rockboxdev.sh and selected 'a' for arm.

There were many screenfuls of the message "/usr/bin/expr.exe: error while loading shared libraries cyggmp-3.dll: cannot open shared object file: no such file or directory".

Then the compile proceeded for an hour using all 8 cpus with no screen activity, followed by "line 207 1316 segmentation fault".

I found a file D:\cygwin\tmp\rbdev-build\build-binutils\bash.exe.stackdump dated correctly which contains:-

Exception: STATUS_STACK_OVERFLOW at eip=6116F503
eax=0000102C ebx=612AEEC0 ecx=00092EDC edx=00000000 esi=61240180 edi=00001A64
ebp=000A2EE8 esp=000A2ED0 program=D:\cygwin\bin\bash.exe, pid 6756, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
.
.
. etc.

I ran it again with the same result.

Saint:

Unfortunately, the rockbox VM image is not compatible with the latest version of Virtualbox. The image has an old version of the virtualbox extension pack loaded. Attempting to upgrade this with the latest gives a failure relating to kernel-source and kernel-syms. Without this upgrade, USB doesn't work.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Setting up cygwin fails to get setup.ini
« Reply #5 on: August 06, 2014, 11:46:35 PM »
The image is probably too old a version of Ubuntu to run the current extension pack. You can either update the version or just not install the extensions.
Logged

Offline TAC109

  • Member
  • *
  • Posts: 86
Re: Setting up cygwin fails to get setup.ini
« Reply #6 on: August 08, 2014, 08:22:24 PM »
Thanks.

I installed the latest version of Virtualbox plus the extensions on my Windows host, then ignored the prompt and did not update the Ubuntu guest. All went well and I was able to build Rockbox.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Setting up cygwin fails to get setup.ini
 

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

Page created in 0.076 seconds with 14 queries.