Bitcoin Forum
May 12, 2024, 10:30:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with 0.3.21 and up. Fix inside.  (Read 1739 times)
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


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
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715553035
Hero Member
*
Offline Offline

Posts: 1715553035

View Profile Personal Message (Offline)

Ignore
1715553035
Reply with quote  #2

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

Activity: 755
Merit: 515


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 Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!