Fwd: pjsip Digest, Vol 11, Issue 44

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Alan, you are right the microsoft code is with an error.
With the modification now it works propertilly
Tank's a lot of you guys

Lucas R. Galego

> Lucas,
>
> Please check the version of Windows SDK you are using.  Here are the
details I previously posted about this problem:
>
> Windows SDK for Windows 2008 (6001.18000.367) has a typo in iphlpapi.h.
>
> The PJSIP project will not build with this SDK version unless iphlpapi.h
is corrected.  Nor will anything else using > > > iphlpapi.h
> with _WIN32_WINNT defined as 0x4000 (for NT4 backward compatibility, not
commonly used these days).  It will throw > up
> at this point in iphlpapi.h
>
> #if (NTDDI_VERSION >= NTDDI_XP)
>
> ULONG
>
> WINAPI
>
> GetIpStatisticsEx(
>
>    OUT PMIB_IPSTATS Statistics,
>
>    IN ULONG Family
>
>    );
>
> ... complaining that PMIB_IPSTATS is undefined.  This is because it
erroneously enters this #if block because NTDDI_XP > > (which should be
NTDDI_WINXP) is undefined.  The NTDDI_xxx symbols are all defined in
sdkddkver.h
>
>
> Please note that this is specific to this particular SDK version.  Just
find the above in iphlpapi.h and change NTDDI_XP to > > NTDDI_WINXP.
>
> Regards,
>
> Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080714/0db7c514/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux