gcc -c -pipe -O2 -m386 -I. -I../bsd -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" ipcs.c -o ipcs.o
In file included from /usr/include/sys/sem.h:7,
from ipcs.c:16:
/usr/include/linux/sem.h:106: syntax error before `int'
/usr/include/linux/sem.h:107: syntax error before `int'
/usr/include/linux/sem.h:108: syntax error before `int'
In file included from /usr/include/sys/msg.h:7,
from ipcs.c:17:
/usr/include/linux/msg.h:70: syntax error before `int'
/usr/include/linux/msg.h:71: syntax error before `int'
/usr/include/linux/msg.h:72: syntax error before `int'
/usr/include/linux/msg.h:74: syntax error before `int'
In file included from /usr/include/sys/shm.h:7,
from ipcs.c:18:
/usr/include/linux/shm.h:62: syntax error before `int'
/usr/include/linux/shm.h:63: syntax error before `int'
/usr/include/linux/shm.h:64: syntax error before `int'
/usr/include/linux/shm.h:65: syntax error before `int'
make[1]: *** [ipcs.o] Error 1
Shouldn't the above files (and several others from /usr/include/linux)
include linkage.h?
Michael