<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">[master 5d15dc1] fix windows missing inet_ntop missing symbol when built on &gt;= vista but run on &lt; vista<div><br></div><div>I just pushed the above patch. &nbsp;We were doing build time decision on using the replacement function. &nbsp;I changed it to just always use the replacement function. &nbsp;If anyone has issues with this, we can always change to runtime detection if need be, but I would prefer to avoid the complication.</div><div><br></div><div>Mike</div><div><br><div><div>On May 11, 2010, at 12:03 PM, Anthony Minessale wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. &nbsp;There are complete implementations of that function we could just always load when we know we are on windows to avoid this as&nbsp;apparently windows 7 actually has POSIX support.<div>
<br></div><div>on the other hand it may also be interesting to drop support for everything else and get rid of some of the half ass emulation of many POSIX function found in all the portability libs mwa ha ha.</div><div><br>
</div><div>BTW what is git bash? &nbsp;GIT as a shell? &nbsp;Makes me laugh cos I was joking about that.</div><div><br></div><div>I call git shit with a g, a new system to learn 200 commands you are unfamiliar with to replace the 200 unix command that are equally hard but you already know. &nbsp;But I am not the build master just the lowly developer so what we C is what we GIT =/</div>
<div>&nbsp;<br><br><div class="gmail_quote">On Tue, May 11, 2010 at 10:48 AM, Jan Berger <span dir="ltr">&lt;<a href="mailto:jan.berger@video24.no">jan.berger@video24.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">











<div lang="NO-BOK" link="blue" vlink="blue">

<div><p class="MsoNormal"><span class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13px; ">I checked out 1.0.6 and
that works, but I am not at head anymore. Part of the issue here is that I am
new on git, but took to senses and started using Git Bash and that works just
fine.</span></p><div><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">&nbsp;</span></font><br class="webkit-block-placeholder"></div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">What exactly is the
change that break’s it?</span></font></p><div><b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Anthony Minessale</span></font></div><div><p class="MsoNormal"><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<b><span style="font-weight:bold">Sent:</span></b> 11. mai 2010 17:05</span></font></p><font size="2" face="Tahoma"><div><div></div><div class="h5"><br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-dev]
ws2_32 "missing" inet_ntop</div></div></font><span lang="EN-US"></span><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; ">&nbsp;</span></div></div><div><div class="h5"><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">we can always force it in our code to use the fake one when its windows
to make it compat.</span></font></p>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">This function is only used in 1 place (to generate hex version of ipv6
addrs)</span></font></p>

</div>

<div><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;</span></font><br class="webkit-block-placeholder"></div>

</div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">We can live with a&nbsp;permanent&nbsp;substitute in the case of
windows so the code is portable both ways.</span></font></p>

</div>

<div><div style="margin-bottom: 12pt; "><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;</span></font><br class="webkit-block-placeholder"></div>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue, May 11, 2010 at 6:24 AM, Peter Olsson &lt;<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>&gt;
wrote:</span></font></p><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Well, actually I'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…</span></font></p>

<div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">-----Ursprungligt meddelande-----<br>
Från: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a>]
För Jan Berger</span></font></p>

</div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Skickat: den 11 maj 2010 12:55</span></font></p>

<div>

<div><p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Till: <a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a><br>

Ämne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop<br>
<br>
How do you check out the project using git?<br>
<br>
I just did a "git clean -f -d -x" 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" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a>]
On Behalf Of Peter<br>
Olsson<br>
Sent: 11. mai 2010 11:52<br>
To: '<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank">freeswitch-dev@lists.freeswitch.org</a>'<br>
Subject: Re: [Freeswitch-dev] ws2_32 "missing" 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't work.<br>
<br>
/Peter<br>
<br>
-----Ursprungligt meddelande-----<br>
Från: <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">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" target="_blank">freeswitch-dev@lists.freeswitch.org</a><br>
Ämne: Re: [Freeswitch-dev] ws2_32 "missing" 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" target="_blank">freeswitch-dev-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org" target="_blank">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" target="_blank">freeswitch-dev@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop<br>
<br>
Hello,<br>
<br>
It doesn't work on winXP with 2008 express release build.<br>
It compiles.<br>
but if I run FS it says "The procedure entry point inet_ntop cold not be<br>
located in the dynamic link library WS2_32.dll"<br>
<br>
Regards,<br>
Tamas<br>
<br>
<br>
<br>
Michael Jerris wrote:<br>
&gt; This should be fixed now as well. &nbsp;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. &nbsp;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" target="_blank">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'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></span></font></p></div></div></div></div></div></div></div></div></blockquote></div></div></blockquote></div><br></div></body></html>