socketvar.h

John Baltzer (jbaltzer@inlink.com)
Sun, 7 Aug 1994 12:21:39 -0400


RE: compiling the reflector for Linux
That file, socketvar.h, does not come with the gcc compiler for
Linux. You have to comment out the "#include <socketvar.h>" line
from each of the *.c files.

The socketvar.h header has to do with multicasting. So you have
to remove the "-DMULTI" option from the CFLAGS line in the
Makefile.

You will also need a copy of "route.h" in the /usr/include/net
directory. You should be able to copy it from the /usr/src/linux/net
directory. (I have the Slackware 1.2.0 distribution of Linux.)

That should take care of it. You will get some warning messages,
but it should compile. Edit your reflect.conf file, and then start
the reflector with "run_reflect". You may want to edit "run_reflect"
to the following:
#!/bin/sh
while true; do
reflect reflect.conf
cp reflect.log reflect.bomb
done

Good luck.