Rockbox Development > Starting Development and Compiling

svn rockbox (untouched) building with cygwin: loads of errors

<< < (4/4)

cpu98:
I will. Wait.
edit: Permission denied..

Llorean:

--- Quote from: Scorpius on September 20, 2009, 02:40:32 AM ---Yes. I can honestly say I've done precisely like both wikis advice (svn and tortoise svn methods) but because these problems persist there has to be a flaw with somewhere else. Any ideas? os? filesystem?

--- End quote ---

The fact that you mention two wikis is a problem. You should only be getting instructions from the Rockbox wiki. Also, the fact that you keep referring back to the instructions is worrying, since it's hard to know if you're trying things on your own while also following the instructions being given here.

It's very hard for anyone to help you if you keep giving answers that leave it unclear what, exactly, you've done and when you did it.

Scorpius:

--- Quote from: cpu98 on September 20, 2009, 02:51:28 AM ---I will. Wait.
edit: Permission denied..

--- End quote ---

ftp://deka.dy.fi
user: cpu98
pass: cpu98

Llorean: Here are the step as detailed as possible:

Method 1: install cygwin in windows XP eng, download rockbox source using sn co and make:

1 First I need to download cygwin. so I follow this wiki:
1.1 I install cygwin (2.573.2.3) to c:\cygwin in unix/binary mode like in this picture:

1.2 I select local package directory C:\cygwin\packages
1.3 I select whatever mirror, it doesn't matter
1.4 fron packages I select:
- archive: unzip (5.52-3
- archive: zip 3.0-2
- devel: binutils: the GNU assembler, linker.... (20080624-2)
- devel: gcc: C compiler upgrade helper (3.4.4-999), lot of other gcc stuff get automaticly selected
- devel: gcc-mingw-core does not need to be selected because it is already automaticly selected (!)
- devel: gdb: the GNU debugger (6.8-2)
- devel: make: the GNU verision of 'make' (3.81-2)
- devel: mingw-runtme does not need to be selected because it is already automaticly selected (!)
- devel: patchutils: a small collection of... (0.3.0-1)
- devel: subverion: a version control..(1.6.5-1)
- editors: nano
- interpereters: perl does not need to be selected because it is already automaticly selected (!)
- no tetext stuff needed (selecting them does not affect to this problem, I tried)
1.4 I wait for installation and then run cygwin setup.exe again with -X option, because otherwise it will nag for some sig stuff
1.5 I leave all other options intact (for example this unix/binary mode)
1.6 I paste "http://download.rockbox.org/cygwin/" to "user URL:"
1.7 I select these packages:
- devel: sdl: a simple direct...(1.2.9-1)
- devel: m68k-elf-binutils (2.16-1)
- devel: m68k-elf-gcc (3.4.6-1)
- devel: sh-elf-binutils (2.16-1)
- devel: sh-elf-gcc (4.0.3-1)
- devel: arm-elf-binutls (2.16-1)
- devel: arm-elf-gcc (4.0.3-2)
1.8 now installation of cygwin with proer packages shuld be done.
1.9 - I wollow rockbox wiki "The Simplified Guide To Compiling The Rockbox Source Code":
2.0 I launch cygwin
2.1 cd /
2.2 nano etc/profile
2.3 line "PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH" ->
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/sh/bin:/opt/m68k/bin:/opt/arm/bin:$PATH" and save
2.4 exit and open terminal again
2.5 cd /
2.6 svn co svn://svn.rockbox.org/rockbox/trunk rockbox
-> lot of "A         rockbox/xxxx stuff as output", last 3 lines are:
A      rockbox/uisimulator/battery.c
  U    rockbox
Checked out revision 22760
2.7 cd rockbox
2.8 mkdir build
2.9 cd build
2.10 ../tools/configure
2.11 hit "22", "enter", "enter", output:
Normal buld selected
using source code root drectory: /rockbox
using arm-elf-gcc 4.0.3 (400)
using arm-elf-ld 2.16
Created Makefile
2.12 make
WHAZAM: same thing again. "no rule to make file" (see my first post on this thread)

cpu98:
http://forums.rockbox.org/index.php?topic=20960.45

--- Quote ---Hi, the 32mb build is getting codec errors on my 64mb iPod. I'll try to do a recompile; perhaps I need to 'make clean' or something.

I'm rebuilding now.

Note: I did an svn up to current (22761) and it won't compile... there's an include to a missing lang.h

reverted back to 22177 and compiling again.

Note: 'make clean' in /build doesn't seem to do much and there's no 'make distclean'; not sure what the proper procedure is.

compiling...

OK, it's working now. Sorry for the troubles, and thanks for letting me know.

http://rockbox.arttour.com/22177/32mb/

Bob
--- End quote ---

He recompiled his build.
I'm uploading cygwin. If you don't need it let me know.

edit: done!

Scorpius:

--- Quote from: cpu98 on September 21, 2009, 07:08:57 AM ---http://forums.rockbox.org/index.php?topic=20960.45

--- Quote ---Hi, the 32mb build is getting codec errors on my 64mb iPod. I'll try to do a recompile; perhaps I need to 'make clean' or something.

I'm rebuilding now.

Note: I did an svn up to current (22761) and it won't compile... there's an include to a missing lang.h

reverted back to 22177 and compiling again.

Note: 'make clean' in /build doesn't seem to do much and there's no 'make distclean'; not sure what the proper procedure is.

compiling...

OK, it's working now. Sorry for the troubles, and thanks for letting me know.

http://rockbox.arttour.com/22177/32mb/

Bob
--- End quote ---

He recompiled his build.
I'm uploading cygwin. If you don't need it let me know.

edit: done!

--- End quote ---

Yes, I installed his compiled rockbox and its working like a charm!

And guess what, I recompiled your rockbox folder after deleting all files in build and guess what? Same thing, no rule to make target  ;D

So its not about installation after all, but related to something completely different.

Navigation

[0] Message Index

[*] Previous page

Go to full version