I am trying to compile the 0.2.4 version of the MiniSAP server on top
of a Cygwin environment.
The instructions on how to compile are sketchy, so I did the following
E:\minisapserver\miniSAPserver-0.2.4>sh
$ ./configure
$make --makefile=MAKEFILE
The ./configure generates the MAKEFILE, but the make utility is failing with the following errors:
make all-am
make[1]: Entering directory `/cygdrive/e/minisapserver/miniSAPserver-0.2.4'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -MT broadcast.o -MD -MP -MF ".d
broadcast.Tpo" \
-c -o broadcast.o `test -f 'broadcast.cpp' || echo './'`broadcast.cpp; \
then mv -f ".deps/broadcast.Tpo" ".deps/broadcast.Po"; \
else rm -f ".deps/broadcast.Tpo"; exit 1; \
fi
In file included from broadcast.cpp:40:
broadcast.h:41: error: field `addr_v6' has incomplete type
broadcast.cpp: In member function `int Broadcast::Initv6(char)':
broadcast.cpp:87: error: `addr_v6' undeclared (first use this function)
broadcast.cpp:87: error: (Each undeclared identifier is reported only once f
ach function it appears in.)
broadcast.cpp:88: error: `AF_INET6' undeclared (first use this function)
broadcast.cpp:95: error: `ip_address' undeclared (first use this function)
broadcast.cpp:95: error: `inet_pton' undeclared (first use this function)
broadcast.cpp:115: error: `IPPROTO_IPV6' undeclared (first use this function
broadcast.cpp:115: error: `IPV6_MULTICAST_HOPS' undeclared (first use this f
ion)
broadcast.cpp: In member function `int Broadcast::Send(Message*, int)':
broadcast.cpp:145: error: `addr_v6' undeclared (first use this function)
make[1]: *** [broadcast.o] Error 1
make[1]: Leaving directory `/cygdrive/e/minisapserver/miniSAPserver-0.2.4'
make: *** [all] Error 2
What is missing, or what have I done wrong?
/Ross