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
| | |-+  Problems with compiling / installing compiler
« previous next »
  • Print
Pages: [1]

Author Topic: Problems with compiling / installing compiler  (Read 2686 times)

Offline Tiptoe

  • Member
  • *
  • Posts: 5
Problems with compiling / installing compiler
« on: October 19, 2010, 12:04:50 AM »
Hey, I'm trying to get rockbox onto my gogear 6330 and I'm having a few problems. It's pretty much my first time using any type of linux based OS and I can't seem to get a certain part to work.

Basically, I've managed to get to step 8 in this guide http://www.rockbox.org/wiki/GoGearHDD6330#Installation_steps_for_HDD63x0 and then I get errors that tell me that the arm-elf compiler or something along those lines is not in the path so it's an improper command. After searching a bit and finding this http://www.rockbox.org/wiki/CrossCompiler , I saw that I apparently had to run the shell script in the rockbox/tools directory but when I try to do this I get the message:

ROCKBOXDEV: No write permission for /usr/local

Just wondering how I would go about fixing this since I don't really know much at all about debian.

Also the shell script is rockboxdev.sh
« Last Edit: October 19, 2010, 12:23:24 AM by Tiptoe »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Problems with compiling / installing compiler
« Reply #1 on: October 19, 2010, 12:33:44 AM »
try 'sudo ./rockboxdev.sh'.

This may also be helpful:

http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
Logged

Offline Tiptoe

  • Member
  • *
  • Posts: 5
Re: Problems with compiling / installing compiler
« Reply #2 on: October 19, 2010, 01:01:54 AM »
I'm running debian through vmware and I get that sudo doesn't work. I tried to use "su" though but after typing "su ./rockboxdev.sh" I still get an error(not on my main computer at the moment so I can't say exactly what the error was because I'm just going off memory of what I did a few hours ago). Also thanks for the link, I'll check it out sometime tomorrow when I have time go get back on my main.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Problems with compiling / installing compiler
« Reply #3 on: October 19, 2010, 01:32:01 AM »
If you want help, you should say what happened in more detail then "doesn't work".
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Problems with compiling / installing compiler
« Reply #4 on: October 19, 2010, 02:32:13 AM »
Quote from: Tiptoe on October 19, 2010, 01:01:54 AM
"su ./rockboxdev.sh"

That's not the correct syntax for su. If you want to run a command directly with su, you need to use the -c option, i.e. "su -c ./rockboxdev.sh". Or switch to a root shell first ("su -", enter password when asked, then run rockboxdev.sh)

Please also check the man page of su(1).
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Tiptoe

  • Member
  • *
  • Posts: 5
Re: Problems with compiling / installing compiler
« Reply #5 on: October 19, 2010, 05:27:25 PM »
Thanks, I was able to install the compiler via using "su -c ./rockboxdev.sh" but now I seem to have another problem while trying to run the makefile.  Basically, after I type in make so that it runs the makefile built in the previous steps, I get these errors.



Any help on what this might be?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Problems with compiling / installing compiler
« Reply #6 on: October 19, 2010, 08:55:49 PM »
Your screen shot is not legible. 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Tiptoe

  • Member
  • *
  • Posts: 5
Re: Problems with compiling / installing compiler
« Reply #7 on: October 19, 2010, 09:14:42 PM »
Sorry, the forum seems to have resized the picture on it's own but still links directly to the original source. Here's the link to the picture http://i55.tinypic.com/68rigo.png
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Problems with compiling / installing compiler
« Reply #8 on: October 20, 2010, 02:53:39 PM »
You've configured for the GoGear 6330. Since that player isn't in the automated build system (unless I've overlooked it) I wouldn't expect it to build at all, since this usually means its in an early stage of development. The front page also lists it as unusable.

To check if your build setup is working try a build for a target that uses the same toolchain but is considered stable. Any of the Ipod should do.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Tiptoe

  • Member
  • *
  • Posts: 5
Re: Problems with compiling / installing compiler
« Reply #9 on: October 20, 2010, 08:26:50 PM »
Hey thanks for the suggestion. I ended up getting the iPod one to work so then I thought it might be an error on my part so I deleted the directories I had created previously for the gogear and it worked this time. My assumption is that since the compiler wasn't there before and I had tried to run the build via the 'make' command, it probably interfered with something and prevented it from working after the compiler had been installed. Everything works fine now. Thanks for the help!

Edit: One last question. I can't seem to manage to get the zip files that were created off of Debian. I'm using the VMWare Player linked to on the Rockbox website, and it says to get the files off of it using Samba. Unfortunately, I'm not really savvy at all about how to use any of these things and when I tried to simply map a network drive on Windows to \\debian\user with the information provided on http://www.rockbox.org/wiki/VMwareDevelopmentPlatform , it just tells me that I'm not able to connect. Could someone possibly help me? Thank you
« Last Edit: October 21, 2010, 12:23:46 AM by Tiptoe »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problems with compiling / installing compiler
 

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

Page created in 0.083 seconds with 14 queries.