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
| | |-+  Building using Wiki's VMWare Image doesn't work
« previous next »
  • Print
Pages: [1]

Author Topic: Building using Wiki's VMWare Image doesn't work  (Read 2505 times)

Offline mydani

  • Member
  • *
  • Posts: 10
Building using Wiki's VMWare Image doesn't work
« on: February 23, 2011, 05:05:25 AM »
Hello all,

first post!
I followed the documentation in the WIKI, setup everything as described and now I'm facing this problem with the latest Rockbox sources (trunk):

Code: [Select]
debian:/home/user/Rockbox/build# make
svn: This client is too old to work with working copy '/home/user/Rockbox'; please get a newer Subversion client
svn: This client is too old to work with working copy '/home/user/Rockbox/tools'; please get a newer Subversion client
Generating dependencies
: bad interpreter: No such file or directoryir.pl: /usr/bin/perl
make: *** No rule to make target `/home/user/Rockbox/build/make.dep', needed by `all'.  Stop.
debian:/home/user/Rockbox/build#

What am I doing wrong here?

Regards,
Daniel

Post Merge: February 23, 2011, 05:10:47 AM
Some more info:

Code: [Select]
debian:/home/user/Rockbox/build# which sh-elf-gcc
/usr/local/sh-elf/bin/sh-elf-gcc
debian:/home/user/Rockbox/build# which perl
/usr/bin/perl
« Last Edit: February 23, 2011, 05:10:47 AM by mydani »
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Building using Wiki's VMWare Image doesn't work
« Reply #1 on: February 23, 2011, 07:13:12 AM »
That VM is severely outdated, you are better off getting a vanilla VM of some linux distro and following the guide for setting up a development environment on linux. I know ubuntu VM images are available at least.
Logged

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #2 on: February 23, 2011, 09:00:55 AM »
Okay, I'm currently trying the one spread in the other thread. Maybe this one will work out of the box.
Introduction of CMake would maybe be  a good idea... :-D
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Building using Wiki's VMWare Image doesn't work
« Reply #3 on: February 23, 2011, 10:11:46 AM »
Quote from: mydani on February 23, 2011, 09:00:55 AM
Introduction of CMake would maybe be  a good idea... :-D

How would cmake suddenly work around svn version issues or fixing perl?

Seriously, our build system works pretty well...
Logged

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #4 on: February 23, 2011, 10:21:40 AM »
I don't decline that your build system is pretty good! You misunderstood my intention a little bit I think. I made this suggestion just because I like the idea of being able to create projects for many existing and used IDEs out there, and I guess CMake is a nice option for the guys wanting to develop on Windows.

BTW: the prefered "build system" linked in the Wiki doesn't work too well, so please forgive me my statement.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Building using Wiki's VMWare Image doesn't work
« Reply #5 on: February 23, 2011, 10:24:20 AM »
"build system" refers to the makefiles and scripts used to compile Rockbox, not the host OS on which you run those scripts. We know our VMware image is outdated, but nobody has had the time to do anything about it yet.

Using CMake doesn't magically make Windows able to compile for arm-eabi and able to run all of our build-time tools.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #6 on: February 23, 2011, 10:27:09 AM »
You're right, CMake is only an additional layer to create makefiles for different makefile processors. The tools like compiler, linker, flash-merge, etc. still have to be available for the specific platform.
Forget about my hint.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Building using Wiki's VMWare Image doesn't work
« Reply #7 on: February 23, 2011, 11:39:22 AM »
I actually updated the VMware image a couple months ago, and it was working then.  Which image did you download?
Logged

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #8 on: February 23, 2011, 01:20:18 PM »
Hi,
the one linked on this site:
http://www.rockbox.org/wiki/VMwareDevelopmentPlatform
Download the Rockbox VMware image (~ 217 MB) from this URL:
http://duke.edu/~mgg6/rockbox/rockbox-image.7z


Currently I'm building the ARM compiler in the image linked in one of the sticky threads in this forum.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Building using Wiki's VMWare Image doesn't work
« Reply #9 on: February 23, 2011, 01:23:05 PM »
Strange, thats the image I uploaded.  It contains the current version of the rockbox ARM compiler.
Logged

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #10 on: February 23, 2011, 02:07:59 PM »
Figured it out! And it was all my fault. :(

Instead of using the linux's svn to check the sources out I copied the sources I checked out using tortoisesvn on windows.Maybe some problems with file file character format or similar.

With the sources checked out again under linux it builds now.



Post Merge: February 24, 2011, 02:41:52 AM
As I'm not very familiar with GNU make - is there any option for incremental builds?

Thanks guys!
« Last Edit: February 24, 2011, 02:41:52 AM by mydani »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Building using Wiki's VMWare Image doesn't work
« Reply #11 on: February 24, 2011, 06:06:32 AM »
make is an incremental build; it only updates output files whose input files have changed.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline mydani

  • Member
  • *
  • Posts: 10
Re: Building using Wiki's VMWare Image doesn't work
« Reply #12 on: February 24, 2011, 09:50:38 AM »
Oh! Then I maybe chose the one file to modify which is included by all others.  ;D
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Building using Wiki's VMWare Image doesn't work
 

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

Page created in 0.096 seconds with 15 queries.