Can someone point out what I'm missing here? I'm using
mlord's pre-compiled tool-chain. I have the following program (this is the whole thing):
#include <asm/semaphore.h>
main(){}
and when I compile it, I get the following errors (these are just the first of many)
In reply to:
compiler error][root@linuxbox source]# gcc z.c
In file included from z.c:1:
/usr/local/armtools-empeg/lib/gcc-lib/arm-empeg-linux/2.95.3/../../../../arm-empeg-linux/include/asm/semaphore.h:17: parse error before `wait_queue_head_t'
/usr/local/armtools-empeg/lib/gcc-lib/arm-empeg-linux/2.95.3/../../../../arm-empeg-linux/include/asm/semaphore.h:17: warning: no semicolon at end of struct or union
/usr/local/armtools-empeg/lib/gcc-lib/arm-empeg-linux/2.95.3/../../../../arm-empeg-linux/include/asm/semaphore.h: In function `sema_init':
/usr/local/armtools-empeg/lib/gcc-lib/arm-empeg-linux/2.95.3/../../../../arm-empeg-linux/include/asm/semaphore.h:46: dereferencing pointer to incomplete type
(using code blocks makes the errors too long)