Hello Douglas,<br><br>Can you help me in splitting the ports? Sending and receiving.. <br>Are there any other instructions for compiling vic on mac? I tried around 5 times changing the name of hostname and it worked for only LOCALHOST and does not work after I quit terminal. How do I link static libraries for vic? And what libraries do I need to include while &#39;make&#39;?<br>
<br>Thank you for taking time to reply me. It&#39;s really helping me understand vic better. <br><br>Regards,<br>Akhila<br><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 9:25 PM, Douglas Kosovic <span dir="ltr">&lt;<a href="mailto:douglask@itee.uq.edu.au">douglask@itee.uq.edu.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-AU">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Akhila,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">The 15.8MB vic binary may be a Fat binary that contains both Intel
and PowerPC executables.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Sorry, I have no idea what could be causing the network issue
you are seeing.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Doug</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Akhila [mailto:<a href="mailto:akhila844@gmail.com" target="_blank">akhila844@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, 11 August 2009 10:05 AM<br>
<b>To:</b> Douglas Kosovic<br>
<b>Cc:</b> <a href="mailto:sumover-dev@cs.ucl.ac.uk" target="_blank">sumover-dev@cs.ucl.ac.uk</a><br>
<b>Subject:</b> Re: Reg: VIC on OS X</span></p>

</div>

</div><div><div></div><div class="h5">

<p> </p>

<p style="margin-bottom: 12pt;">Hello Douglas,<br>
<br>
Thanks for the information. But I see that ai_addrlen is always initialized
zero and I have not modified any code related to that.<br>
<br>
I changed my hostname using <br>
<br>
$sudo sethostname LOCALHOST<br>
<br>
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? <br>
<br>
Thanks<br>
<br>
Regards, <br>
Akhila</p>

<div>

<p>On Mon, Aug 10, 2009 at 5:15 PM, Douglas Kosovic &lt;<a href="mailto:douglask@itee.uq.edu.au" target="_blank">douglask@itee.uq.edu.au</a>&gt; wrote:</p>

<p>Hi Akhila,</p>

<div>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">


<p style="margin-bottom: 12pt;"> </p>

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

</blockquote>

<p> </p>

</div>

<p>The error message seems to be coming from the IPv6 code in
common/src/net_udp.c<br>
<br>
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.<br>
<br>
But looking at Apples getaddrinfo implementation:<br>
<br>
<a href="http://www.google.com/codesearch/p?hl=en&amp;sa=N&amp;cd=2&amp;ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&amp;q=getaddrinfo" target="_blank">http://www.google.com/codesearch/p?hl=en&amp;sa=N&amp;cd=2&amp;ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&amp;q=getaddrinfo</a><br>

<br>
The error message only happens if hints-&gt;ai_addrlen isn&#39;t initilised to
zero. In your modifications have you forgotten to initialise ai_addrlen to zero
somewhere?</p>

<div>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">


<p style="margin-bottom: 12pt;"> </p>

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

</blockquote>

<p> </p>

</div>

<p>7.3 MB is about the same size I have for vic on linux, 15.8
MB seems pretty large, I don&#39;t have a Mac handy, but can&#39;t rember vic being
that large for the version I built (it may be statically linked with Tcl/Tk I
guess).<br>
<br>
<br>
Cheers,<br>
Doug</p>

</div>

<p> </p>

</div></div></div>

</div>

</div>


</blockquote></div><br>