Messages in this thread | | | From | Mofeed Shahin <> | Subject | [OT] Semaphores. | Date | Wed, 10 Nov 1999 17:42:41 +1030 |
| |
Running kernel 2.3.26, I get this error message when I try to compile the program bellow.
Have I done something wrong ????? -------------------- #> gcc foo.c -o foo foo.c: In function `main': foo.c:7: storage size of `semopts' isn't known --------------------
#include <sys/types.h> #include <sys/sem.h> #include <sys/ipc.h> void main(){ union semun semopts; } -------------------- Cheers Mof.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |