Re: your mail

From: Jeremy Elson (
Date: 05/29/96

> > /usr/home/eduo/testers/test/src> make
> > make ../bin/circle
> > gcc -c -g -O -Wall -fno-strict-prototypes  mobcmd.c
> > In file included from mobcmd.c:39:
> > structs.h:915: syntax error before `socket_t'
> > In file included from mobcmd.c:44:
> > comm.h:33: syntax error before `desc'
> > comm.h:43: syntax error before `sigfunc'
> > comm.h:43: warning: data definition has no type or storage class
> > *** Error code 1

> Add this line to structs.h before the first occurrence of socket_t:
> typedef int socket_t;
> This should fix the error.  I erroneously reported earlier that this 
> should be in /usr/include/sys/socket.h, but it shouldn't;  it's something 
> that Mr Elson has added himself.

All you have to do is include conf.h and sysdep.h at the beginning of the
.c file (just like all the other .c files in the source after pl10).

This archive was generated by hypermail 2b30 : 12/18/00 PST