Re: your mail

From: Barid Bel Medar (icarus@berkshire.net)
Date: 05/29/96


On Wed, 29 May 1996, Eduardo Gutierrez de Oliveira wrote:

> Hello there!
> 
> 
> Ok, I am dazzled...
> 
> I am running stock code here for testing patches and then applying them 
> to my modified code.
> 
> I patched stock circle code with the mobprog11 patch and I got these (the 
> only mod I 've made is the #define NOCRYPT thing):
> 
> /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
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> Maybe I could figure this out myself, but I wonder why is it giving me 
> errors in stock code...
> 
> BTW, I am running this in a pentium with BSD/OS 2.01. Enough memory and 
> stock code compiles with no errors (except for a warning in olc.c, which 
> since is not completed I didnt pay attention to.)
> 
> Thanmkls in advance..
> 

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.

------------------------------------------------------------------
Barid Bel Medar                               icarus@berkshire.net
Knights of the Cosmos            Shayol Ghul Resort and Health Spa
------------------------------------------------------------------
"I  am  returning  this otherwise good typing paper to you because
someone has printed gibberish all over it and  put  your  name  at
the top." - English Professor, Ohio University
------------------------------------------------------------------



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