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
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« previous next »
  • Print
Pages: [1]

Author Topic: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h  (Read 5933 times)

Offline Flake_8

  • Member
  • *
  • Posts: 9
Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« on: February 11, 2007, 10:38:17 PM »
I tried compiling rockbox from source over the last few days. I have had several compile errors after "make" depending on the daily build date. I tried reinstalling cygwin based on the "How To Compile" Wiki and am still getting the same errors.

For the latest daily build (2007-02-11) I get the following error after configure, and make for iaudio X5:

OBJCOPY aiff.codec
make[2]: *** No rule to make target `libspeex/speex/ogg.h', needed by `/home/User/rockbox/build/apps/codecs/speex.o'.  Stop.
rm /home/User/rockbox/build/apps/codecs/codec_crt0.o
make[1]: *** [build-codecs] Error 2
make: *** [all] Error 2


For the daily builds for 2-8, 2-9, and 2-10 I get the following error after configure and make:

CC bookmark.c
In file included from bookmark.c:38:
recorder/icons.h:28:25: rockboxlogo.h: No such file or directory
recorder/icons.h:30:32: remote_rockboxlogo.h: No such file or directory
make[1]: *** [/home/User/rockbox-20070210/build/apps/bookmark.o] Error 1
make: *** [all] Error 2

The daily build for 2-7 works fine. Are these types of compile errors common from day to day or is there something I am doing wrong?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #1 on: February 11, 2007, 11:07:33 PM »
Try using SVN to check out the sources, rather than trying to build from the daily archive. It's not uncommon that when the source tree changes the script that makes the archive will fail to include everything.

If you actually use SVN as is suggested you'll never have this problem.
Logged

Offline safetydan

  • Developer
  • Member
  • *
  • Posts: 248
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #2 on: February 12, 2007, 12:03:10 AM »
Also, if you're using the same build directory, make sure you do a "make clean" before building again. This might clear the error for you.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3555
  • creature
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #3 on: February 12, 2007, 04:54:27 AM »
Also, sometimes there are changes to the configure script that require you to re-run it. At least for the sim there was such a change recently (caused by the inclusion of speex). If in doubt try rerunning configure, at least it won't hurt.
Logged

Offline Flake_8

  • Member
  • *
  • Posts: 9
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #4 on: February 13, 2007, 01:41:27 AM »
Thanks for the tips. Using SVN fixed all the problems.
For some reason I had thought that the daily builds were more stable than the very latest svn build, but I can see I misunderstood how the versioning system works.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #5 on: February 13, 2007, 01:46:28 AM »
Daily builds are entirely automated. There's no selection process that would make them more or less stable.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #6 on: February 13, 2007, 06:16:06 AM »
Quote from: Flake_8 on February 13, 2007, 01:41:27 AM
Thanks for the tips. Using SVN fixed all the problems.
For some reason I had thought that the daily builds were more stable than the very latest svn build, but I can see I misunderstood how the versioning system works.

This is a common mis-understanding that I also originally had.

I believe that the original intention was that no-one would commit a change likely to cause build or operating errors late in the day, such that they were not fully tested before the daily build was automatically compiled. This would ensure, albeit only procedurally, that daily builds were more likely to be stable.

f you look at the commit log, you will see that sometimes a change is backed-out or corrected after committing. If you happened to create a daily build before the bug was caught, you would potentially have an unstable build in your hands.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #7 on: February 13, 2007, 01:42:42 PM »
OBJCOPY aiff.codec
make[2]: *** No rule to make target `libspeex/speex/ogg.h', needed by `/home/gri
z/rockbox-devel/build/apps/codecs/speex.o'.  Stop.
rm /home/griz/rockbox-devel/build/apps/codecs/codec_crt0.o
make[1]: *** [build-codecs] Error 2
make: *** [all] Error 2

Gigabeat F20, I'm getting this error as well.
I just downloaded the Feb 13th source from the Daily builds page and the latest sourcethis page, updated to arm-elf-gcc 4.0.3 (you just gotta run Cygwin setup again and chose to install it right?), and did a 'make clean'.
Still I get the error above. Is there anything else I can try?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3555
  • creature
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #8 on: February 15, 2007, 05:40:34 AM »
tried using svn? There were some files missing in the tarball.
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #9 on: February 15, 2007, 02:05:19 PM »
I didn't use SVN I just used today's Current Build. What's the difference between SVN and the Current Build?

I though SVN and Current Build were the same just that SVN does the work for you.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3555
  • creature
Re: Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
« Reply #10 on: February 17, 2007, 04:16:26 PM »
the daily tarball is created using a list of files to package into it. Sometimes a file gets forgotten upon addition, and thus a daily tarball might miss some files. When using svn you'll always get the complete sources (and additional stuff svn itself saves, for example it gives you the possibility to diff against the svn checkout without keeping an additional copy of the files yourself)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compile error - make[2]: *** No rule to make target `libspeex/speex/ogg.h
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.138 seconds with 21 queries.