Compiling reflector 3.0 on Solaris 2.3

Tuomas Eerola (te@uwasa.fi)
Fri, 17 Feb 1995 02:04:02 -0500


This is how I got reflector 3.00b3 compiled in Solaris 2.3 with gcc

Seems to work OK, also with nv, haven't tried vat yet.

Change makefile and add to beginning of reflect.h socket.c and util.c
following includes:

Makefile:
CC= gcc
CFLAGS= -g -traditional -DSYSV -DDEBUG -DMULTI
LIBC= -lsocket -lnsl

reflect.h:

#include <sys/time.h>
/* SOLARIS */
#define bcopy(src,dest,len) (memmove((dest), (src), (len)))
#define bzero(dest,len) (memset((dest), (char)0, (len)))

socket.c:

#include <netdb.h> /* SOLARIS */

util.c:

#include <sys/sockio.h> /* SOLARIS */

Tuomas Eerola Computer Centre, University of Vaasa

Reflector cu.uwasa.fi (193.166.120.3)