I started using that function in a recent patch to fix an ipv6 bug and did not realize it did not exist on windows. There are complete implementations of that function we could just always load when we know we are on windows to avoid this as apparently windows 7 actually has POSIX support.
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@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: 11. mai 2010 17:05
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@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@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] För Jan BergerSkickat: den 11 maj 2010 12:55
Till: freeswitch-dev@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@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Peter
Olsson
Sent: 11. mai 2010 11:52
To: 'freeswitch-dev@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@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] För Jan Berger
Skickat: den 11 maj 2010 11:29
Till: freeswitch-dev@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@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Tamas
Cseke
Sent: 11. mai 2010 10:18
To: freeswitch-dev@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@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@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@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@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@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@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org