[Sumover-dev] RE: Reg: VIC on OS X

Douglas Kosovic douglask at itee.uq.edu.au
Tue Aug 11 02:25:47 BST 2009


Hi Akhila,

 

The 15.8MB vic binary may be a Fat binary that contains both Intel and
PowerPC executables.

 

Sorry, I have no idea what could be causing the network issue you are
seeing.

 

 

Doug

 

From: Akhila [mailto:akhila844 at gmail.com] 
Sent: Tuesday, 11 August 2009 10:05 AM
To: Douglas Kosovic
Cc: sumover-dev at cs.ucl.ac.uk
Subject: Re: Reg: VIC on OS X

 

Hello Douglas,

Thanks for the information. But I see that ai_addrlen is always
initialized zero and I have not modified any code related to that.

I changed my hostname using 

$sudo sethostname LOCALHOST

I compiled vic-mpeg4  and I was able to send and receive for sometime.
But after I close my terminal, I have the same problem again. Why is
this so? 

Thanks

Regards, 
Akhila

On Mon, Aug 10, 2009 at 5:15 PM, Douglas Kosovic
<douglask at itee.uq.edu.au> wrote:

Hi Akhila,

	 

	I made vic to work with my application but it's still posing
some problems
	which I don't comprehend completely.
	
	I get this message everytime I run vic.
	
	vic: getaddrinfo: LOCALHOST: Bad hints
	
	What does addrinfo has to do with vic? Does hostname play any
role in vic?

 

The error message seems to be coming from the IPv6 code in
common/src/net_udp.c

Is there any reason you need to build vic with IPv6 support or use IPv6?
If you look at the net_udp.c, gethostname is used to get the hostname.

But looking at Apples getaddrinfo implementation:

http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#6qb5uNIi0eg/Lib
info-129.2/gen.subproj/getaddrinfo.c&q=getaddrinfo

The error message only happens if hints->ai_addrlen isn't initilised to
zero. In your modifications have you forgotten to initialise ai_addrlen
to zero somewhere?

	 

	And one thing I observed is, the vic I compiled is 7.3 MB but
the one from
	the website is 15.8MB. Why is the difference? Are there any
additional steps
	to compile vic? Please let me know.

 

7.3 MB is about the same size I have for vic on linux, 15.8 MB seems
pretty large, I don't have a Mac handy, but can't rember vic being that
large for the version I built (it may be statically linked with Tcl/Tk I
guess).


Cheers,
Doug

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oakham.cs.ucl.ac.uk/pipermail/sumover-dev/attachments/20090811/cb085df9/attachment.html


More information about the Sumover-dev mailing list