• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Sansa e200
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bertrik - 2007-10-30
Last edited by MikeS - 2007-10-30

FS#8052 - kernel.c compilation errors when compiling for debug

I tried to build a debug version for my sansa e200, but ran into a compilation error in kernel.c. Debug for sansa e200 won’t link anyway (because there’s no sansa debug implementation), but possibly other targets are affected.

The compilation errors are:
CC kernel.c
kernel.c: In function ‘semaphore_release’:
kernel.c:1274: error: request for member ‘queue’ in something not a structure or union

In ../tool/configure I selected 50 (sansa e200), A (advanced), D (debug).

Attached is a patch that fixes it.

Closed by  MikeS
2007-10-30 20:37
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Oops. Me type like infinite monkeys.

MikeS commented on 2007-10-30 20:21

Oops…bad little mistake. :) But this isn’t the right fix. It should be checking the semaphore’s wait queue not the thread’s wait queue.


Available keyboard shortcuts


Task Details

Task Editing