Rockbox

Tasklist

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

Attached to Project: Rockbox
Opened by Bertrik Sikken (bertrik) - Tuesday, 30 October 2007, 19:47 GMT
Last edited by Michael Sevakis (MikeS) - Tuesday, 30 October 2007, 20:37 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.
This task depends upon

Closed by  Michael Sevakis (MikeS)
Tuesday, 30 October 2007, 20:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Oops. Me type like infinite monkeys.
Comment by Michael Sevakis (MikeS) - Tuesday, 30 October 2007, 20:21 GMT
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...