Bitcoin Forum
December 04, 2016, 06:33:24 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Problem with 0.3.21 and up. Fix inside.  (Read 1485 times)
Bitsky
Hero Member
*****
Offline Offline

Activity: 542


View Profile
June 30, 2011, 09:58:11 PM
 #1

When trying to launch the client on one of my older systems, I get an error message about a missing procedure entry point named freeaddrinfo in WS2_32.dll.

After some searching, it seems the devs need to add two more files to the source. It seems to be pretty simple.

Quote
The freeaddrinfo function was added to the Ws2_32.dll on Windows XP and later. To execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then you must include the Ws2tcpip.h file and also include the Wspiapi.h file. When the Wspiapi.h include file is added, the freeaddrinfo function is defined to the WspiapiFreeAddrInfo inline function in the Wspiapi.h file. At runtime, the WspiapiFreeAddrInfo function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing freeaddrinfo in the IPv6 Technology Preview for Windows 2000) does not include freeaddrinfo, then a version of freeaddrinfo is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the freeaddrinfo function.
Source: http://msdn.microsoft.com/en-us/library/ms737931(v=vs.85).aspx

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480876404
Hero Member
*
Offline Offline

Posts: 1480876404

View Profile Personal Message (Offline)

Ignore
1480876404
Reply with quote  #2

1480876404
Report to moderator
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
July 03, 2011, 06:24:34 PM
 #2

Thanks for the report, and the solution in the same post Smiley, now if we could just get all bug reports to have that...
Anyway, should be fixed by the time 0.3.24 RC2 rolls out, though all I have is a Win98 VM which doesnt work at all, so I can't test. Can you confirm when the next version comes out if this is fixed or not?

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Bitsky
Hero Member
*****
Offline Offline

Activity: 542


View Profile
July 04, 2011, 07:56:18 PM
 #3

Sure, and I'll add my test results to the release thread to keep things together.

http://forum.bitcoin.org/index.php?topic=25515.0

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!