From: gu_jc3@uxmail.ust.hk (GU) Subject: Another error after apply c1/ipcinc Date: Sun, 14 Mar 1993 14:21:59 GMT
Even worst after applied c1/ipcinc...
make Image
..
..
ipc
gcc -DKERNEL -Wall -O6 -fomit-frame-pointer -m486 -c msg.c
In file included from /usr/include/linux/msg.h:3, from msg.c:9:
/usr/include/linux/ipc.h:9: parse error before `ftok'
/usr/include/linux/ipc.h:9: warning: data definition has no type or storage class
In file included from msg.c:9:
/usr/include/linux/msg.h:20: field `msg_perm' has incomplete type
msg.c:14: parse error before `key'
msg.c:15: parse error before `key'
msg.c: In function `msg_init':
msg.c:30: `IPC_UNUSED' undeclared (first use this function)
msg.c:30: (Each undeclared identifier is reported only once
msg.c:30: for each function it appears in.)
msg.c: In function `sys_msgsnd':
msg.c:52: `IPC_UNUSED' undeclared (first use this function)
msg.c:52: `IPC_NOID' undeclared (first use this function)
msg.c:57: dereferencing pointer to incomplete type
msg.c:64: `IPC_NOWAIT' undeclared (first use this function)
msg.c:80: dereferencing pointer to incomplete type
msg.c: In function `sys_msgrcv':
msg.c:118: `IPC_NOID' undeclared (first use this function)
msg.c:118: `IPC_UNUSED' undeclared (first use this function)
msg.c:131: dereferencing pointer to incomplete type
msg.c:192: `IPC_NOWAIT' undeclared (first use this function)
msg.c: At top level:
msg.c:202: parse error before `key'
msg.c: In function `findkey':
msg.c:208: `IPC_NOID' undeclared (first use this function)
msg.c:210: `IPC_UNUSED' undeclared (first use this function)
msg.c:212: `key' undeclared (first use this function)
msg.c: At top level:
msg.c:218: parse error before `key'
msg.c: In function `newque':
msg.c:225: `IPC_UNUSED' undeclared (first use this function)
msg.c:226: `IPC_NOID' undeclared (first use this function)
msg.c:240: dereferencing pointer to incomplete type
msg.c:240: `msgflg' undeclared (first use this function)
msg.c:241: dereferencing pointer to incomplete type
msg.c:241: `key' undeclared (first use this function)
msg.c:242: dereferencing pointer to incomplete type
msg.c:242: dereferencing pointer to incomplete type
msg.c:243: dereferencing pointer to incomplete type
msg.c:243: dereferencing pointer to incomplete type
msg.c:244: dereferencing pointer to incomplete type
msg.c: At top level:
msg.c:261: parse error before `key'
msg.c: In function `sys_msgget':
msg.c:266: `key' undeclared (first use this function)
msg.c:266: `IPC_PRIVATE' undeclared (first use this function)
msg.c:267: `msgflg' undeclared (first use this function)
msg.c:270: `IPC_CREAT' undeclared (first use this function)
msg.c:274: `IPC_EXCL' undeclared (first use this function)
msg.c:277: `IPC_UNUSED' undeclared (first use this function)
msg.c:277: `IPC_NOID' undeclared (first use this function)
msg.c: In function `freeque':
msg.c:295: `IPC_UNUSED' undeclared (first use this function)
msg.c: In function `sys_msgctl':
msg.c:323: `IPC_INFO' undeclared (first use this function)
msg.c:354: `IPC_UNUSED' undeclared (first use this function)
msg.c:354: `IPC_NOID' undeclared (first use this function)
msg.c:362: `IPC_SET' undeclared (first use this function)
msg.c:367: `IPC_STAT' undeclared (first use this function)
msg.c:379: dereferencing pointer to incomplete type
msg.c:390: `IPC_RMID' undeclared (first use this function)
msg.c:391: dereferencing pointer to incomplete type
msg.c:392: dereferencing pointer to incomplete type
msg.c:402: dereferencing pointer to incomplete type
msg.c:403: dereferencing pointer to incomplete type
msg.c:404: dereferencing pointer to incomplete type
msg.c:404: dereferencing pointer to incomplete type
msg.c:409: warning: unreachable code at beginning of switch statement
make[1]: *** [msg.o] Error 1
make: *** [linuxsubdirs] Error 1
before that error only report from sem.c