[Freeswitch-dev] ws2_32 "missing" inet_ntop

Jan Berger jan.berger at video24.no
Tue May 11 08:48:59 PDT 2010


Hi,

 

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.

 

What exactly is the change that break’s it?

 

Jan

 

 

  _____  

From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony
Minessale
Sent: 11. mai 2010 17:05
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop

 

we can always force it in our code to use the fake one when its windows to
make it compat.

This function is only used in 1 place (to generate hex version of ipv6
addrs)

 

We can live with a permanent substitute in the case of windows so the code
is portable both ways.

 

On Tue, May 11, 2010 at 6:24 AM, Peter Olsson
<peter.olsson at visionutveckling.se> wrote:

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...


/Peter


-----Ursprungligt meddelande-----
Från: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] För Jan Berger

Skickat: den 11 maj 2010 12:55

Till: freeswitch-dev at lists.freeswitch.org
Ämne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop

How do you check out the project using git?

I just did a "git clean -f -d -x" from git bash and it compiles fine
afterwards - but I still get the ws2_32.dll inet_ntop not found issue.

Jan

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Peter
Olsson
Sent: 11. mai 2010 11:52
To: 'freeswitch-dev at lists.freeswitch.org'
Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop

I compiled git head on Windows yesterday, and it worked just fine. Did you
make sure to set autocrlf=false in the git config before checking out the
files from the repository?

Another thing, it must be compiled on XP to support the internal inet_ntop.
If compiled on Windows 7, and then installed on Windows XP it won't work.

/Peter

-----Ursprungligt meddelande-----
Från: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] För Jan Berger
Skickat: den 11 maj 2010 11:29
Till: freeswitch-dev at lists.freeswitch.org
Ämne: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop

Welcome to the club :)

It is a fix for this they say, so if you check out head and re-compile it
should work. But, I gave up last night due to git issues - the head did not
compile. Going to clean out and re-start now to see if I get anywhere.

Jan

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Tamas
Cseke
Sent: 11. mai 2010 10:18
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] ws2_32 "missing" inet_ntop

Hello,

It doesn't work on winXP with 2008 express release build.
It compiles.
but if I run FS it says "The procedure entry point inet_ntop cold not be
located in the dynamic link library WS2_32.dll"

Regards,
Tamas



Michael Jerris wrote:
> This should be fixed now as well.  If it is not yet, let us know.
>
> Mike
>
> On May 10, 2010, at 12:56 PM, Anthony Minessale wrote:
>
>
>> A patch was added that requires it.  So we had to add a work-around to
support it in HEAD.
>>
>>
>> On Mon, May 10, 2010 at 11:46 AM, Jan Berger <jan.berger at video24.no>
wrote:
>> Hi,
>>
>>
>> I have an error on Windows XP Professional that puzzle me - FreeSwitch
compiles fine after downloading from GIT, but FreeSWITCH.dll generate an
unusual bug claiming that inet_ntop is not found in Winsock2 (ws2_32.dll)
>>
>>
>> What puzzle me is that I have a 1.0.5 source tree in parrallell that
don't have this issue using the same dll, and I fail to find any relevant
difference in the project settings or files.
>>
>>
>> Does anyone recognise this issue?
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

!DSPAM:4be9391132931894311582!



_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:+19193869900

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100511/5d4b7724/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list