Rockbox Development > Starting Development and Compiling

Make errors

(1/2) > >>

seren:
Hello,
I've spent several days trying to integrate a patch and compile.  I went through some trial and errors.  Finally I was able to put a Ubuntu virtual machine together and got the code version 29198, together with a patch to compile.
I followed the instruction, issued the command "../tools/configure".  It seemed to run fine.  This is what I got:

Platform set to sansae200
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool, (I)nstaller, (M)anual: (Defaults to N)
N
Normal build selected
Using source code root directory: /home/ubuntu/rockbox
Using arm-elf-eabi-gcc 4.4.4 (404)
Using arm-elf-eabi-ld 2.20.1.20100303
Created Makefile
ubuntu@ubuntu-desktop:~/rockbox/newbuild$

It looked fine, right?  But then when I tried to run the "make", this is what I got:

ubuntu@ubuntu-desktop:~/rockbox/newbuild$ make
/home/ubuntu/rockbox/tools/version.sh: 114: svnversion: not found
/home/ubuntu/rockbox/tools/version.sh: 114: svnversion: not found
Generating dependencies
/bin/sh: /home/ubuntu/rockbox/tools/addtargetdir.pl: not found
make: *** No rule to make target `/home/ubuntu/rockbox/newbuild/make.dep', needed by `all'.  Stop.
ubuntu@ubuntu-desktop:~/rockbox/newbuild$

Can someone tell me what I did wrong?  Is there any log file that I can look at that will tell me what I did wrong? 
Thanks.

bluebrother:
You're definitely missing the svn client on your machine, and parts of the source.

seren:
You are right about svn client.  I used Tortoise SVN client, download the source to my Windows box, then copy the whole thing into the Ubuntu virtual machine.  Thanks for your answer.  I'll install the svn client and try again.
Post Merge: May 28, 2011, 01:06:05 PMOK.  I installed SVN client, and it seems to be a lot better now.  But I still got the missing addtargetdir.pl file from the tools directory.  Is that a downloaded file, or is that a created file? 

ubuntu@ubuntu-desktop:~/rockbox/newbuild$ make
Generating dependencies
/bin/sh: /home/ubuntu/rockbox/tools/addtargetdir.pl: not found
make: *** No rule to make target `/home/ubuntu/rockbox/newbuild/make.dep', needed by `all'.  Stop.
ubuntu@ubuntu-desktop:~/rockbox/newbuild$ make fullzip
Generating dependencies
/bin/sh: /home/ubuntu/rockbox/tools/addtargetdir.pl: not found
/bin/sh: /home/ubuntu/rockbox/tools/buildzip.pl: not found
make: *** [fullzip] Error 127
ubuntu@ubuntu-desktop:~/rockbox/newbuild$

Post Merge: May 28, 2011, 01:18:12 PMOK.  I checked the rockboxk/tools directory and the addtargetdir.pl and buildzip.pl files are there.  So is this the case where the make process don't know how to find the tools directory?  How do I make it know where to find it?  I did both the "which arm-elf-eabi-gcc" and "which perl".

saratoga:
Delete your current check out and check it out again this time using the regular svn client.

bluebrother:
Do NOT use a Windows svn client to check out a working copy to be used with a Linux / Cygwin environment. This WILL break (well, unless you really know what you're doing).

Navigation

[0] Message Index

[#] Next page

Go to full version