Re: ALIAS MOD in pl 11

From: Mud Account (mud@vampire.ecnet.com)
Date: 05/16/96


> 	gcc -c -g -O -Wall -fno-strict-prototypes  alias.c
> 	In file included from alias.c:16:
> 	structs.h:876: parse error before `socket_t'
> 	structs.h:876: warning: no semicolon at end of struct or union
> 	structs.h:905: parse error before `}'
> 	make[1]: *** [alias.o] Error 1
> 	make[1]: Leaving directory `/usr/src/circle30bpl11/src'
> 	make: *** [default] Error 2
> 
> 
> struct descriptor_data {
>    socket_t     descriptor;     /* file descriptor for socket           */
     ^^^^^^^^
     replace socket_t with int

     (new code is as follows)
     int          descriptor;     /* file descriptor for socket           */



     (rest of struct cut to save space, you get the idea)


I had this exact same problem and this is how I fixed it... Hope it helps


Sinc



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