From linux-kernel Wed Nov 10 07:24:41 1999 From: Mofeed Shahin Date: Wed, 10 Nov 1999 07:24:41 +0000 To: linux-kernel Subject: [OT] Semaphores. X-MARC-Message: https://marc.info/?l=linux-kernel&m=94221879624250 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 #include #include 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/