Compiling Minisap Server on Cygwin

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Compiling Minisap Server on Cygwin

Postby rossmac » 23 Jun 2005 04:22

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 23 Jun 2005 10:57

VLC was not run on the cygwin environment for a long time. So you will have to do the porting yourself.
Don't use PMs for support questions.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 24 Jun 2005 00:02

correction to thedj's post : miniSAPserver and not VLC ...
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Postby rossmac » 26 Jun 2005 03:05

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests