Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: GolerGkA on November 17, 2006, 01:34:24 PM

Title: Don't compile in the folder on iRiver! (original title - Make problems)
Post by: GolerGkA on November 17, 2006, 01:34:24 PM
Hello, everyone. I'm the ASPLinux user who got bored with standard Rockbox builds and today I've tryied to learn how to complie it myself.
OK, I just did everything as manual said, but that's what I get when I'm trying to run make:
Code: [Select]
Consider upgrading to GNU make 3.81+ for optimum build performance.
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cat: SOURCES: No such file or directory
make[1]: Nothing to be done for `all'.
cat: SOURCES: No such file or directory
MAKE in bitmaps/mono
cat: SOURCES: No such file or directory
make[2]: *** No rule to make target `SOURCES', needed by `/media/H300/rockbox-devel/build/apps/bitmaps/mono/dep-bitmaps-mono'.  Stop.
make[1]: *** [build-bitmapsmono] Error 2
make: *** [all] Ошибка 2
Could it be a problem with permissioms or smth like that?

Update:

I've updated make, but all I got - even more error messages.
Code: [Select]
Consider upgrading to GNU make 3.81+ for optimum build performance.
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cat: SOURCES: No such file or directory
make[1]: Nothing to be done for `all'.
cat: SOURCES: No such file or directory
MAKE in bitmaps/mono
cat: SOURCES: No such file or directory
make[2]: *** No rule to make target `SOURCES', needed by `/media/H300/rockbox-devel/build/apps/bitmaps/mono/dep-bitmaps-mono'.  Stop.
make[1]: *** [build-bitmapsmono] Error 2
make: *** [all] Ошибка 2
[root@36787 build]# make
Consider upgrading to GNU make 3.81+ for optimum build performance.
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cat: SOURCES: No such file or directory
make[1]: Nothing to be done for `all'.
cat: SOURCES: No such file or directory
MAKE in bitmaps/mono
cat: SOURCES: No such file or directory
make[2]: *** No rule to make target `SOURCES', needed by `/media/H300/rockbox-devel/build/apps/bitmaps/mono/dep-bitmaps-mono'.  Stop.
make[1]: *** [build-bitmapsmono] Error 2
make: *** [all] Ошибка 2
[root@36787 build]# make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cat: SOURCES: No such file or directory
make[1]: Nothing to be done for `all'.
cat: SOURCES: No such file or directory
MAKE in bitmaps/mono
cat: SOURCES: No such file or directory
AR+RANLIB libbitmapsmono.a
MAKE in bitmaps/native
cat: SOURCES: No such file or directory
AR+RANLIB libbitmapsnative.a
MAKE in bitmaps/remote_mono
cat: SOURCES: No such file or directory
AR+RANLIB libbitmapsremotemono.a
MAKE in bitmaps/remote_native
cat: SOURCES: No such file or directory
AR+RANLIB libbitmapsremotenative.a
cat: SOURCES: No such file or directory
MAKE in bitmaps/mono
cat: SOURCES: No such file or directory
make[2]: Nothing to be done for `all'.
MAKE in bitmaps/native
cat: SOURCES: No such file or directory
make[2]: Nothing to be done for `all'.
MAKE in bitmaps/remote_mono
cat: SOURCES: No such file or directory
make[2]: Nothing to be done for `all'.
MAKE in bitmaps/remote_native
cat: SOURCES: No such file or directory
make[2]: Nothing to be done for `all'.
GENLANG
CC lang.c
Build linkage.lds
LD rockbox.elf
/usr/local/m68k-elf/lib/gcc/m68k-elf/3.4.6/../../../../m68k-elf/bin/ld: cannot find target/coldfire/crt0.o
collect2: ld returned 1 exit status
make[1]: *** [/media/H300/rockbox-devel/build/apps/rockbox.elf] Error 1
make: *** [all] Ошибка 2

and BTW all the files in /tools are 755 now, recursively... I've got ABSOLUTELY NO idea what to do now...  :'(
Title: Solved!
Post by: GolerGkA on November 17, 2006, 06:42:18 PM
Writing it for anyone who could have same problems.
I was a TOTAL idiot. I was trying to compile it in the folder on my iRiver - thus, on fat32 fs! Fortunately, it doesn't see the difference between UPPER & lower case, so there are wonderful problems with filenames.
My advice to you - until you can format your iRiver to another fs, don't do on that disc smth from *nix, until you love problems. Just copy there your music and rockbox and forget about it until you're going out.
Title: Re: Don't compile in the folder on iRiver! (original title - Make problems)
Post by: LinusN on November 18, 2006, 06:24:32 AM
Now, why on earth were you trying to compile on the player itself?????
Title: Re: Don't compile in the folder on iRiver! (original title - Make problems)
Post by: GolerGkA on November 18, 2006, 08:07:32 AM
Now, why on earth were you trying to compile on the player itself?????

Simple logic - not to dublicate rockbox-devel folders on home and university computers (as I usually do with all my data like works, unfinished articles etc). I just never had source codes to work with (cos I'm not coder and using source only to configure and install software).