Rockbox Development > Starting Development and Compiling
"No rule" for codecs.h and autoconf.h for iriver-target
(1/1)
Samuraiburger:
Hi folks
I'm interested in the libmad as a library for the coldifre architecture.
I checked out the whole trunk from svn and used configure to get me a makefile.
Target "rocks" seems to be what i am looking for.
I get the following output:
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `codepages' 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 in bitmaps/mono
AR+RANLIB libbitmapsmono.a
make[2]: *** [/cygdrive/c/rockbox/irivertarget/libbitmapsmono.a] Error 1
make[2]: *** No rule to make target `codecs.h', needed by`/cygdrive/c/rockbox/irivertarget/apps/codecs/lib/codeclib.o'. Stop.
make[1]: *** [build-codecs] Error 2
make: *** [rocks] Error 2
When I tried make all, i get the same error for libbitmapsmono.a and the
"no rule" msg for autoconf.h
Any help would much appreciated
LinusN:
A few short questions to begin with:
Which target are you trying to build?
What options did you give the configure script?
What is the output from ../tools/configure?
Did you install the cross compiler?
Which host operating system are you using?
Samuraiburger:
Thx LinusN
trying to build for an iriver H320/H340, normal build
I am running on Vista Ultimate 64, using the latest cygwin.
and the gcc for coldfire-4.2-47-m68k-elf from codesourcery.
OH F... I think I answered my own question, my compiler is a lot newer than the required release.
Unfortunately, rockboxdev.sh does not work in my cygwin
$ ./rockboxdev.sh
./rockboxdev.sh: line 2: $'\r': command not found
./rockboxdev.sh: line 6: $'\r': command not found
./rockboxdev.sh: line 12: $'\r': command not found
./rockboxdev.sh: line 16: $'\r': command not found
./rockboxdev.sh: line 36: syntax error near unexpected token `$'{\r''
'/rockboxdev.sh: line 36: `findtool(){
So, where could I get the 3.4.6 gcc toolchain?
I am very sorry if I am asking stuff already posted, but every time I try to search the forum,
I get:
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
--------------------------
Update: With the "new" old compiler, it works like a charm ;D
Found the instructions on http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
Thx, sometimes one just needs to be prodded in the right direction.
I'd still be glad if you could tell what I'm doing wrong with the forum search function, though -
that'd be saving me a lot of reading
LinusN:
I'm glad to see you solved your compiler issue.
The forum search is broken. We are working on it.
Navigation
[0] Message Index
Go to full version