Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
import Iphlpapi.lib when ACE_HAS_IPV6 for windows
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yongming Wang  
View profile  
 More options Jul 14 2008, 4:22 am
Newsgroups: comp.soft-sys.ace
From: Yongming Wang <wan...@gmail.com>
Date: Mon, 14 Jul 2008 01:22:52 -0700 (PDT)
Local: Mon, Jul 14 2008 4:22 am
Subject: import Iphlpapi.lib when ACE_HAS_IPV6 for windows
Hello,
ACE VERSION: 5.6.5 and most recent svn
HOST MACHINE and OPERATING SYSTEM:    win vista
COMPILER NAME AND VERSION (AND PATCHLEVEL): vc9
THE $ACE_ROOT/ace/config.h FILE : #include "ace/config-win32.h" with
ACE_HAS_IPV6 enabled

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 */


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johnny Willemsen  
View profile  
 More options Jul 14 2008, 7:06 am
Newsgroups: comp.soft-sys.ace
From: "Johnny Willemsen" <jwillem...@remedy.nl>
Date: Mon, 14 Jul 2008 13:06:23 +0200
Local: Mon, Jul 14 2008 7:06 am
Subject: Re: [ace-users] import Iphlpapi.lib when ACE_HAS_IPV6 for windows
Hi,

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-a333-c2a87c888fc2@k30g2000hse.googlegroups.com>...
> Hello,
> ACE VERSION: 5.6.5 and most recent svn
> HOST MACHINE and OPERATING SYSTEM:    win vista
> COMPILER NAME AND VERSION (AND PATCHLEVEL): vc9
> THE $ACE_ROOT/ace/config.h FILE : #include "ace/config-win32.h" with
> ACE_HAS_IPV6 enabled

> 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@@ P
BD@Z)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
r.mohanatamilara...@gmail.com  
View profile  
 More options Nov 19 2012, 8:38 am
Newsgroups: comp.soft-sys.ace
From: r.mohanatamilara...@gmail.com
Date: Mon, 19 Nov 2012 05:38:15 -0800 (PST)
Local: Mon, Nov 19 2012 8:38 am
Subject: Re: import Iphlpapi.lib when ACE_HAS_IPV6 for windows
Hi

Better if we put the below macros
#define ACE_HAS_IPV6 1
#define ACE_USES_IPV4_IPV6_MIGRATION 1

just before the includes

#include <ace/config-win32.h> or #include <ace/config-linux.h>

I have cheked with win32.h it is building.

Regards,
Mohan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »