link report:
SOCK_Dgram.obj : error LNK2019: unresolved external symbol
_GetAdaptersAddresses@20 referenced in function "protected: int
__thiscall ACE_SOCK_Dgram::make_multicast_ifaddr6(struct ipv6_mreq
*,class ACE_INET_Addr const &,char const *)" (?
make_multicast_ifaddr6@ACE_SOCK_Dgram@@IAEHPAUipv6_mreq@@ABVACE_INET_Addr@@PBD@Z)
SOCK_Dgram_Mcast.obj : error LNK2001: unresolved external symbol
_GetAdaptersAddresses@20
..\lib\ACEd.dll : fatal error LNK1120: 1 unresolved externals
here is the fix:
----------------------
Index: config-win32-common.h
===================================================================
--- config-win32-common.h (revision 82282)
+++ config-win32-common.h (working copy)
@@ -497,6 +497,9 @@
# else
# pragma comment(lib, "ws2_32.lib")
# pragma comment(lib, "mswsock.lib")
+# if defined (ACE_HAS_IPV6)
+# pragma comment(lib, "Iphlpapi.lib")
+# endif
# endif /* ACE_HAS_WINCE */
# endif /* _MSC_VER */
Thanks for using the PRF form. Can you put this patch and the other one in
bugzilla (see http://bugzilla.dre.vanderbilt.edu/). That way we can
integrate them when time permits it. When using bugzilla it is easier to
backtrace patches.
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** Get your free TAO Programmers Guide copy from
http://www.theaceorb.nl ***
"Yongming Wang" <wan...@gmail.com> wrote in message
news:<66951463-6491-4d47...@k30g2000hse.googlegroups.com>...