we can always force it in our code to use the fake one when its windows to make it compat.<div>This function is only used in 1 place (to generate hex version of ipv6 addrs)</div><div><br></div><div>We can live with a permanent substitute in the case of windows so the code is portable both ways.</div>
<div><br><br><div class="gmail_quote">On Tue, May 11, 2010 at 6:24 AM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Well, actually I&#39;m building on Windows 7, but wanted it to work on XP, so I made some manual hacks in switch_utils.c for this... But if building on XP it should work with the existing code...<br>
<div class="im"><br>
/Peter<br>
<br>
<br>
-----Ursprungligt meddelande-----<br>
Från: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] För Jan Berger<br>

</div>Skickat: den 11 maj 2010 12:55<br>
<div><div></div><div class="h5">Till: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
Ämne: Re: [Freeswitch-dev] ws2_32 &quot;missing&quot; inet_ntop<br>
<br>
How do you check out the project using git?<br>
<br>
I just did a &quot;git clean -f -d -x&quot; from git bash and it compiles fine<br>
afterwards - but I still get the ws2_32.dll inet_ntop not found issue.<br>
<br>
Jan<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] On Behalf Of Peter<br>
Olsson<br>
Sent: 11. mai 2010 11:52<br>
To: &#39;<a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a>&#39;<br>
Subject: Re: [Freeswitch-dev] ws2_32 &quot;missing&quot; inet_ntop<br>
<br>
I compiled git head on Windows yesterday, and it worked just fine. Did you<br>
make sure to set autocrlf=false in the git config before checking out the<br>
files from the repository?<br>
<br>
Another thing, it must be compiled on XP to support the internal inet_ntop.<br>
If compiled on Windows 7, and then installed on Windows XP it won&#39;t work.<br>
<br>
/Peter<br>
<br>
-----Ursprungligt meddelande-----<br>
Från: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] För Jan Berger<br>
Skickat: den 11 maj 2010 11:29<br>
Till: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
Ämne: Re: [Freeswitch-dev] ws2_32 &quot;missing&quot; inet_ntop<br>
<br>
Welcome to the club :)<br>
<br>
It is a fix for this they say, so if you check out head and re-compile it<br>
should work. But, I gave up last night due to git issues - the head did not<br>
compile. Going to clean out and re-start now to see if I get anywhere.<br>
<br>
Jan<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a>] On Behalf Of Tamas<br>
Cseke<br>
Sent: 11. mai 2010 10:18<br>
To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-dev] ws2_32 &quot;missing&quot; inet_ntop<br>
<br>
Hello,<br>
<br>
It doesn&#39;t work on winXP with 2008 express release build.<br>
It compiles.<br>
but if I run FS it says &quot;The procedure entry point inet_ntop cold not be<br>
located in the dynamic link library WS2_32.dll&quot;<br>
<br>
Regards,<br>
Tamas<br>
<br>
<br>
<br>
Michael Jerris wrote:<br>
&gt; This should be fixed now as well.  If it is not yet, let us know.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt; On May 10, 2010, at 12:56 PM, Anthony Minessale wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; A patch was added that requires it.  So we had to add a work-around to<br>
support it in HEAD.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 10, 2010 at 11:46 AM, Jan Berger &lt;<a href="mailto:jan.berger@video24.no">jan.berger@video24.no</a>&gt;<br>
wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have an error on Windows XP Professional that puzzle me - FreeSwitch<br>
compiles fine after downloading from GIT, but FreeSWITCH.dll generate an<br>
unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; What puzzle me is that I have a 1.0.5 source tree in parrallell that<br>
don&#39;t have this issue using the same dll, and I fail to find any relevant<br>
difference in the project settings or files.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Does anyone recognise this issue?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-dev mailing list<br>
&gt; <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</div></div>!DSPAM:4be9391132931894311582!<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>