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
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
|
DetailsI 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.
Tuesday, 30 October 2007, 20:37 GMT
Reason for closing: Fixed
Additional comments about closing: Oops. Me type like infinite monkeys.

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.