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
| | |-+  "No rule" for codecs.h and autoconf.h for iriver-target
« previous next »
  • Print
Pages: [1]

Author Topic: "No rule" for codecs.h and autoconf.h for iriver-target  (Read 2195 times)

Offline Samuraiburger

  • Member
  • *
  • Posts: 2
"No rule" for codecs.h and autoconf.h for iriver-target
« on: April 09, 2008, 06:48:57 PM »
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




Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: "No rule" for codecs.h and autoconf.h for iriver-target
« Reply #1 on: April 10, 2008, 02:41:30 AM »
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?
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Samuraiburger

  • Member
  • *
  • Posts: 2
Re: "No rule" for codecs.h and autoconf.h for iriver-target
« Reply #2 on: April 10, 2008, 06:42:26 AM »
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







« Last Edit: April 10, 2008, 07:22:06 AM by Samuraiburger »
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: "No rule" for codecs.h and autoconf.h for iriver-target
« Reply #3 on: April 10, 2008, 07:42:42 AM »
I'm glad to see you solved your compiler issue.

The forum search is broken. We are working on it.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  "No rule" for codecs.h and autoconf.h for iriver-target
 

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

Page created in 0.069 seconds with 15 queries.