Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Bugs
  • Category Infrastructure → Build environment
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Rani Hod - 2006-09-26
Last edited by Jonathan Gordon - 2008-11-20

FS#6069 - debug build is broken

Tried on X5, H3x0, H10(20), ipod video.

Relevant lines from make output:

… CC debug.c
debug.c: In function `debugf’:
debug.c:244: warning: implicit declaration of function `debug’ … LD rockbox.elf
/home/ranih/rockbox-test/build-dbg/apps/main.o: In function `init’:
/home/ranih/rockbox-test/apps/main.c:299: undefined reference to `debug_init’ /home/ranih/rockbox-test/build-dbg/librockbox.a(debug.o): In function `debugf’:
/home/ranih/rockbox-test/firmware/debug.c:244: undefined reference to `debug’ collect2: ld returned 1 exit status
make[1]: * [/home/ranih/rockbox-test/build-dbg/apps/rockbox.elf] Error 1
make:
* [all] Error 2

Closed by  Jonathan Gordon
2008-11-20 06:56
Reason for closing:  Out of Date
Additional comments about closing:  

quite out of date. Also there doesn't seem to be much interest in making sure DEBUG builds compile once ports are fairly mature.

Yoshihisa Uchida commented on 2006-12-05 13:40

I send this bug’s patch.

The case of Archos series (use CPU SH7034).

In debug.c, it writes "SH3074" in the replacement of "SH7034".
Then these players build failure.
The fs6069_1.patch changes SH3074 => SH7034.

The case of non Archos series (not use CPU SH7034).

In debug.c, non SH7034 CPU's case does not write.
Then these players build failure.
The fs6069_1.patch changes following:

   - The output by debugf was output to file ".rockbox/rockbox_debug.log".
   - debug menu added "debugf auto fileout.".
       Then select "yes", debugf writes ".rockbox/rockbox_debug.log",
       and select "no", debugf does not writes ".rockbox/rockbox_debug.log".
        (Default: debugf does not write log file.)

fs6069_2.patch is used to move Rockbox compiled by the DEBUG option on iPod.

   - apps/Makefile

        Regardless of DEBUG defines or not defines, "rockbox.ipod" file creates. 
  1. firmware/app.lds

   - firmware/target/arm/crt0.S, crt0-pp.S

        The arm CPU's bootloader builds non DEBUG version.

It was confirmed that Rockbox was normally bilded iPod, X5, H120, and Ondio
respectively by the origin of the source that applied two patch files.

But I do not do the operation verification in other players though
I did the operation verification of Rockbox compiled for iPod Video.

Therefore, it is likely not to operate normally excluding iPod.
Will you do the operation verification with other players?

Rani Hod commented on 2007-08-05 14:45

Still doesn’t compile on X5, archos player, (r14194), but with new problems :)

——-8←————–8←————–8←——-
… CC gui/wps_debug.c
gui/wps_debug.c: In function `dump_wps_tokens’:
gui/wps_debug.c:390: error: `wps_verbose_level’ undeclared (first use in this function)
gui/wps_debug.c:390: error: (Each undeclared identifier is reported only once
gui/wps_debug.c:390: error: for each function it appears in.)
gui/wps_debug.c: In function `print_line_info’:
gui/wps_debug.c:414: error: `wps_verbose_level’ undeclared (first use in this function)
gui/wps_debug.c: In function `print_wps_strings’:
gui/wps_debug.c:455: error: `wps_verbose_level’ undeclared (first use in this function)
gui/wps_debug.c: At top level:
gui/wps_debug.c:45: warning: ‘dump_wps_tokens’ defined but not used
gui/wps_debug.c:409: warning: ‘print_line_info’ defined but not used
gui/wps_debug.c:452: warning: ‘print_wps_strings’ defined but not used
gui/wps_debug.c:479: warning: ‘print_img_cond_indexes’ defined but not used
make[1]: * [/home/rockdev/rockbox-svn/build/apps/gui/wps_debug.o] Error 1
make:
* [build] Error 2

Yoshihisa Uchida commented on 2008-05-10 14:24

I am sorry for the comment’s slowing.

I send new patch (fs6069_3.patch).
(Old patchs(fs6069_1.patch, fs6069_2.patch) does not used.)

It was confirmed to build all supported audio players.
But following audio players build failure.
(see rockbox_build_error.txt)

1) Recorder
          
2) FM Recorder
     but "make bin" is succeed.
3) Recorder v2 
     but "make bin" is succeed.
4) Ondio SP 
     but "make bin" is succeed.
5) Ondio FM 
     but "make bin" is succeed.
6) AV300 
     Normal mode's build failure, too.
13) iFP-790
     Normal mode's build failure, too.
32) 7
     Normal mode's build failure, too.
51) Sansa e200R
     Normal mode's build failure, too.
53) Sansa m200
     but "make bin" is succeed.
60) Elio TPJ-1022
     Normal mode's build failure, too.
80) DAX 1GB MP3/DAB
     Normal mode's build failure, too.

I did the operation verification of debug mode’s Rockbox for iPod Color/Video.
Therefore, it is likely not to operate normally excluding iPod Color/Video.
Will you do the operation verification with other players?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing