Rockbox Development > Starting Development and Compiling
Seriously Need Some Help With Building Errors
GuitarRocker2562:
OK, I am learning to compile RockBox for my iPod, and I can do it, the build works and
everything, but every single time I want to run make (after configuring) I ALWAYS need to add /usr/local/arm-elf/bin to my PATH via this command "PATH=$PATH:/usr/local/arm-elf/bin" and it can be a real pain in the butt. How do I fix this. If it matters (and it might) I am using ubuntu 7.04 (Feisty Fawn) to do this.
P.S. A less annoying problem, but still a problem is that every time I type the command "make zip" I get these errors
cp: cannot stat `/home/ian/Rockbox/Building/rockbox-20070630/apps/plugins/sokoban.levels': No such file or directory
cp: cannot stat `/home/ian/Rockbox/Building/rockbox-20070630/docs/sample.icons': No such file or directory
beep, no dir to copy WPS from!
It is worth noting that I still get a ZIP file and I seem to have no problem using it on my iPod.
Mikerman:
1, Â Please use a descriptive line for your Subject line, in posting. Â Otherwise, a great number of postings here would have the same unhelpful Subject heading, "Need help," and no one will look inside the threads. And you may want to try putting compiling issue questions under the Getting Started and Compiling board.
2. Â Did you try searching here? Â See if this helps you.
http://forums.rockbox.org/index.php?topic=10680.msg81434;topicseen#msg81434
--- Quote ---This worked for me in an equivalent circumstance, where the m68k file could not be found:
Edit the .bash_profile file in your home directory (cygwin\home\[your name]\.bash_profile), to include the path line at top,
PATH=/opt/m68k/bin:${PATH}
Use Notepad++ or a similar code editor to edit the file (seemingly NOT Windows WordPad or NotePad, which add in line endings). Â Notepad++ is freely available (for free) on the web.
Presumably, here for you, you would add the path line to the .bash_profile file,
PATH=/opt/arm/bin:${PATH}
As it was explained in a thread here, the path line change can be added into a different file, as noted in the Rockbox Cygwin install instructions, but that file would get overwritten with a new Cygwin version install; the solution here, recommended in the forums, is said to avoid that issue.
I hope this helps.
--- End quote ---
3. Â With all due respect, the issues noted in your post, each of which doesn't impede ultimate use, don't seem to rise to your "WTH" level, although the first is an irritation, admittedly (and hopefully now is solved). Â Perhaps save that for when the compiler won't compile or Rockbox won't rock? Â I've also gotten messages similar to the error messages you received and they never have impeded use--I have assumed that they related to files that were deleted for whatever reason and they always have gone away over time, presumably as links/commands/files were amended.
Llorean:
A simple solution would be to use SVN instead of the source archive, for the second one.
GuitarRocker2562:
Ok, I changed the name. Anyway, I know nothing about svn, when I type svn in the terminal it says it isn't installed, where can I go to install it, and how do I use it? I have never built any program before, ever.
Mikerman:
First, you know, don't you, that you don't have to download the source code and compile it, but can download the already compiled code in the Downloads section, right? That's the easiest way to get Rockbox. I assume that you are downloading the source and compiling it so that you can add patches, but I just wanted to make sure.
Second, for a guide to SVN and compiling, a good source: http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling. Also helpful, http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide, http://www.rockbox.org/twiki/bin/view/Main/HowToCompile, and http://www.rockbox.org/twiki/bin/view/Main/UsingSVN. A main benefit of using SVN is that you only need to download the updated code when you update, and not the entire code; SVN gets that for you automatically. Assuming that you already are compiling, using SVN should be a piece of cake.
Good luck--
Navigation
[0] Message Index
[#] Next page
Go to full version