Reflector with Solaris 2.3 / 2.4

Tuomas Eerola (te@uwasa.fi)
Wed, 5 Apr 1995 09:21:53 +0300 (EET DST)


I have compiled reflector 3.00B3 on Solaris with gcc 2.3.3
Following modifications were needed:

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

reflect.h:
#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 */

Note that there seems to be several versions of gcc which all do
not work as expected.

If someone has some kind of Reflector FAQ I think this should be
added there.

Tuomas