[Live-devel] Cannot compile GroupsockHelper.cpp on cygwin

E J edjge at hotmail.com
Sun Mar 26 07:37:27 PST 2006


I cannot compile GroupsockHelper.cpp on cygwin on Windows XP SP2.

Here is my sample run
EJ at asus /usr/local/live
$ genMakefiles cygwin

EJ at asus /usr/local/live
$ make
cd groupsock ; make
make[1]: Entering directory `/usr/local/live/groupsock'
c++ -c -Iinclude -I../UsageEnvironment/include -I. -O -DSOCKLEN_T=socklen_t 
-Wall -DBSD=1 GroupsockHelper.cpp
GroupsockHelper.cpp: In function `Boolean 
socketJoinGroupSSM(UsageEnvironment&, int, netAddressBits, netAddressBits)':
GroupsockHelper.cpp:477: error: aggregate `ip_mreq_source imr' has 
incomplete type and cannot be defined
GroupsockHelper.cpp:482: error: invalid application of `sizeof' to 
incomplete type `ip_mreq_source'
GroupsockHelper.cpp: In function `Boolean 
socketLeaveGroupSSM(UsageEnvironment&, int, netAddressBits, 
netAddressBits)':
GroupsockHelper.cpp:495: error: aggregate `ip_mreq_source imr' has 
incomplete type and cannot be defined
GroupsockHelper.cpp:500: error: invalid application of `sizeof' to 
incomplete type `ip_mreq_source'
make[1]: *** [GroupsockHelper.o] Error 1
make[1]: Leaving directory `/usr/local/live/groupsock'
make: *** [groupsock/libgroupsock.a] Error 2

Additional information:
$ c++ --version
c++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The version of live.com is live.2006.03.17

Thank you in advance for any assistance you can provide.




More information about the live-devel mailing list