Page 1 of 1

Compiling Minisap Server on Cygwin

Posted: 23 Jun 2005 04:22
by rossmac
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

Posted: 23 Jun 2005 10:57
by The DJ
VLC was not run on the cygwin environment for a long time. So you will have to do the porting yourself.

Posted: 24 Jun 2005 00:02
by dionoea
correction to thedj's post : miniSAPserver and not VLC ...

Posted: 26 Jun 2005 03:05
by rossmac
Does anyone know if there is a binary package for Cygwin with the IPv6 libraries?

Most of the errors above are coming from the lack of an IPv6 library component in Cygwin.

I can find an unofficial set of libraries that are not fully integrated with Cygwin, and require hand splicing into Cygwin.

I'm hoping that there might be a 'testing' package available through the Cygwin setup utility.

/Ross