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
| | |-+  [partially solved] problem with clock bitmaps
« previous next »
  • Print
Pages: [1]

Author Topic: [partially solved] problem with clock bitmaps  (Read 1337 times)

Offline mangar

  • Member
  • *
  • Posts: 1
[partially solved] problem with clock bitmaps
« on: August 17, 2009, 04:59:50 PM »
Hi all,
I'm trying to change the usb connection screen into a clock (so my iPod will actually have some functionality while it's plugged in).

I'm trying to convert the clock plugin into a reentrant function, and currently stuck at the following error:

Code: [Select]
$ make
CC apps/usb_clock/usb_clock_bitmaps.c
LD rockbox.elf
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x0): undefined reference to `clock_logo'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0xc): undefined reference to `clock_messages'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x18): undefined reference to `clock_binary'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x24): undefined reference to `clock_digits'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x30): undefined reference to `clock_smalldigits'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x3c): undefined reference to `clock_segments'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmaps.o:(.rodata+0x48): undefined reference to `clock_smallsegments'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_bitmap_strings.o: In function `draw_string':
usb_clock_bitmap_strings.c:(.text+0xac): undefined reference to `vertical_picture_draw_sprite'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_settings.o: In function `draw_logo':
usb_clock_settings.c:(.text+0x2b8): undefined reference to `picture_draw'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_settings.o: In function `draw_message':
usb_clock_settings.c:(.text+0x36c): undefined reference to `vertical_picture_draw_sprite'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_draw_analog.o: In function `polar_to_cartesian':
usb_clock_draw_analog.c:(.text+0x48): undefined reference to `fp14_sin'
/cygdrive/e/Projects/RockBox/rockbox/apps/usb_clock/usb_clock_draw_analog.o: In function `draw_hand':
usb_clock_draw_analog.c:(.text+0x3f0): undefined reference to `xlcd_filltriangle_screen'
collect2: ld returned 1 exit status
make: *** [/cygdrive/e/Projects/RockBox/rockbox/rockbox.elf] Error 1

it more or less means that the draw_logo[] etc arrays are not initialized.

UPDATE:
Ok, got it, the makefile uses bmp2rb, since I don't want to mess with makefiles at this stage, I've done it manually for iPod relevant files.
It's ugly, but it works.
« Last Edit: August 18, 2009, 05:00:04 AM by mangar »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  [partially solved] problem with clock bitmaps
 

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

Page created in 0.057 seconds with 23 queries.