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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Weird compile error...help?
« previous next »
  • Print
Pages: [1]

Author Topic: Weird compile error...help?  (Read 2210 times)

Offline major_works

  • Member
  • *
  • Posts: 32
Weird compile error...help?
« on: July 17, 2007, 05:53:40 PM »
I am compiling my own build for the e200. I have downloaded fresh SVN, but am adding a number of patches.

What happens is the following:

CC target/arm/sandisk/sansa-e200/adc-e200.c
CC target/arm/sandisk/sansa-e200/backlight-e200.c
CC target/arm/usb-pp.c
CC target/arm/sandisk/sansa-e200/button-e200.c
CC target/arm/sandisk/sansa-e200/power-e200.c
CC target/arm/i2s-pp.c
CC target/arm/sandisk/sansa-e200/audio-e200.c
CONVBDF
CC sysfont.c
Header parsed
AR+RANLIB librockbox.a
GENLANG
CC lang.c
CC action.c
CC alarm_menu.c
CC abrepeat.c
CC bookmark.c
In file included from bookmark.c:37:
recorder/icons.h:30:25: error: rockboxlogo.h: No such file or directory
make[1]: *** [/cygdrive/c/cygwin/bin/rockbox/build/apps/bookmark.o] Error 1
make: *** [build] Error 2

In looking closely at the above and comparing it to the log for the current Sansa build, I determined that the "No such file" error is due to the fact that the compile run is skipping over (not compiling) a whole bunch of stuff at this point:

AR+RANLIB librockbox.a
GENLANG                         (in here is where a lot of other stuff ought to be, including the rockboxlogo.h file that the compilation of bookmark.c can't find)
CC lang.c

I've been compiling my own patched builds for some time but have never seen anything like this before. I know it has something to do with the patches, because compilation of a clean SVN source tree works. I've had builds fail but not this way. Does anyone have any clue as to what's going on here?
Logged

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Weird compile error...help?
« Reply #1 on: July 18, 2007, 02:44:29 PM »
Sometimes something like this happens to me, either because of a bad patch or corrupted source/whatever.  

Try
Code: [Select]
svn revert -R ./
That will remove all of your patches and give you clean svn code.  If that doesn't work, I would just delete the source directory and check out SVN again.
Logged

Offline major_works

  • Member
  • *
  • Posts: 32
Re: Weird compile error...help?
« Reply #2 on: July 19, 2007, 12:41:59 AM »
Thanks, Digerati. I did go with fresh SVN and finally was able to complete a build, this time without some of the patches I'd been trying to add. What I'm not quite sure about is which one(s) were causing the problem.

I reverted to a much simpler build with "essentials" (album art, .bmp resizing, and scroll margins) and that's what worked OK. I'd tried adding some of the ones being used in the pre-compiled builds on the ABI forums and that's when things went wrong. I'll have to experiment with them to see if I can determine which one(s) are the culprit(s).
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Weird compile error...help?
« Reply #3 on: July 19, 2007, 02:38:41 AM »
*Sometimes* they have to be applied in a certain order, as one builds on another. It's normally explained in the Flyspray entry, though.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline major_works

  • Member
  • *
  • Posts: 32
Re: Weird compile error...help?
« Reply #4 on: July 19, 2007, 07:47:35 AM »
Thanks, Bascule... I'll look at the patches I removed for dependencies. Good suggestion.
Logged

Offline ColdSphinx

  • Member
  • *
  • Posts: 147
Re: Weird compile error...help?
« Reply #5 on: July 19, 2007, 11:25:32 AM »
I think he had added a "bootlogopatch" that changed the name of the bitmapfile in "apps/bitmaps/native/SOURCES", so bmp2rb can't create the rockboxlogo.h because that bitmap isn't there.
I don't think he deleted the bitmap but that's also a possibility :>
« Last Edit: July 19, 2007, 11:27:18 AM by ColdSphinx »
Logged
Rockbox.src

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Weird compile error...help?
 

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

Page created in 0.08 seconds with 15 queries.