Installing Reflector 3.0b3 on SPARC

Thomas Diessel (diessel@informatik.unibw-muenchen.de)
Wed, 25 Jan 1995 04:42:57 -0500


Today I tried to install a reflector on our Suns for the first time.
I downloaded the 3.0b3 tar-file and tried to compile it on a Sun
SPARCstation 20 under Solaris 2.3 using gcc 2.6.0. Before starting make
I removed the BSD flag. This is the result: :-(

brocken{diessel}21: setenv CC /opt/gnu/bin/gcc
brocken{diessel}22: make
/opt/gnu/bin/gcc -g -DDEBUG -DMULTI -c reflect.c
/opt/gnu/bin/gcc -g -DDEBUG -DMULTI -c socket.c
socket.c:40: `MAXHOSTNAMELEN' undeclared here (not in a function)
socket.c: In function `init_socket':
socket.c:119: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c:154: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:175: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:215: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:271: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:342: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:400: warning: passing arg 4 of `setsockopt' from incompatible
pointer type
socket.c:437: `MAXHOSTNAMELEN' undeclared (first use this function)
socket.c:437: (Each undeclared identifier is reported only once
socket.c:437: for each function it appears in.)
socket.c:441: warning: passing arg 4 of `setsockopt' makes pointer from
integer without a cast
socket.c: In function `receive':
socket.c:559: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:573: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:589: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:604: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:621: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:635: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:648: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:664: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:681: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:697: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:713: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:737: warning: passing arg 2 of `accept' from incompatible pointer type
socket.c:760: warning: passing arg 4 of `setsockopt' makes pointer from
integer without a cast
*** Error code 1
make: Fatal error: Command failed for target `socket.o'
brocken{diessel}23:

Then I tried to compile it on a Sun SPARCstation 10 under SunOS 4.1.3 using
the supplied Sun C-compiler. Before starting make I removed the MULTI flag
and reinserted the BSD flag. The make went thru and I could start the reflector.
I connected from two Macs using CU-SeeMe 0.80b1.68k and 0.70b15.PPC.
Unfortunately we don't have a video camera (still getting QuickCams).

Now you could try a connection to our reflector at 137.193.64.40!
The reflector is located in Germany (GMT/UTC +1).

I hope you can prove that it works. I was surprised that I didn't need a
configuration file to startup. But perhaps somebody can supply one.

I could compile refmon, too. But starting it results only in a "Segmentation
fault" message.

I would really like to run the reflector on our Solaris 2.3 computers because
I hope to be able to use the Sun Video board and cameras we have there.

Thomas Diessel

---------------------------------------------------------------------------
Thomas Diessel
University of the Federal Armed Forces Munich - Computer Science Department
D-85577 Neubiberg, Germany