Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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:  

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing