[Spread-users] Trouble compiling spread version 3.17.1 in VS.NET 2003

Jonathan Stanton jonathan at cnds.jhu.edu
Wed Nov 19 09:56:07 EST 2003


I think Ryan has the best solution to your problem, as you can send a sp 
multicast to a random set of group members (just pick the ramdom set from 
the membership and then use a multigroup_multicast to send to all of their 
private names. 

However, to answer your compilation question, there is a small error in 
the DSW files incluced in the release (that I think has been fixed in 
CVS). All you have to do is add the file arch.o to the list of object 
files for the targets you are tryign to rebuild. It contains the code for 
sock_strerror. 

Jonathan

On Tue, Nov 18, 2003 at 10:38:49PM -0500, Dave Lifson wrote:
> Hello,
> 
> I am a Cornell student looking to use Spread for group membership in 
> Java. I would like be able to get the IP addresses of the group members 
> for the purpose of sending a message to a randomly selected subset of 
> the group. Is this possible?
> 
> I had thought to have the group members join using their IP address as 
> their name and parsing out the name that way, however MAX_PRIVATE_NAME 
> is too small. Changing the MAX_PRIVATE_NAME value required recompiling 
> the code. I have had no luck trying to compile the C code using the 
> included .dsw file found in the win32 directory. When opening the .dsw 
> file in VS.NET 2003, I am prompted to convert the .dsw to a .sln file 
> (which is done automatically). Recompiling the .sln file creates linking 
> errors with sock_strerror. After looking in the archives, my project 
> partner and I found a suggestion to add 'extern char * sock_strerror(int 
> errno)' to arch.h but this did not have any effect.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> David Lifson
> 
> 
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users

-- 
-------------------------------------------------------
Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    
-------------------------------------------------------




More information about the Spread-users mailing list