1.3.5 include files.

Michael H. Price II (mhp1@ra.msstate.edu)
Fri, 30 Jun 1995 01:48:05 -0500


I received the following errors with kernel source 1.3.5 and libc 5.1.4
when compiling a program:

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