Share

aria2 - CLI Metalink/BitTorrent client

Tracker: Bugs

5 win32 binary package : dependency error - ID: 1809484
Last Update: Comment added ( t-tujikawa )

Hi,

the Aria2 0.11.3-1 win32 binary package is broken on windows 2000 SP4.
Error message is : "The procedure entry point freeaddrinfo could not be
located in the dynamic link library WS2_32.DLL"
WS2_32.DLL version is : 5.0.2195.6601

This package works correctly on WinXP.

Regards.


Nomoa ( nomoa ) - 2007-10-08 14:07

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 11 )




Date: 2009-04-07 14:51
Sender: t-tujikawaProject AdminAccepting Donations

The attached patch forces to use included
getaddrinfo/freeaddrinfo/getnameinfo for mingw32 build.


Date: 2009-04-07 14:19
Sender: t-tujikawaProject AdminAccepting Donations

aria2 has its own getaddrinfo/freeaddrinfo/getnameinfo implementation.
Instead of borrowing the idea from FileZilla, we can tweak configure
script to use them instead of ones windows offers (and win2k don't have
them anyway). The downside of this approach is that included getaddrinfo
only supports ip-v4. Not a serious issue for the time being though.


Date: 2009-04-07 13:08
Sender: t-tujikawaProject AdminAccepting Donations

We can borrow CGetAddrinfoLoader from FileZilla(they are also GPL'ed).




Date: 2009-04-07 11:28
Sender: nobody

This bug still exists with version 1.3.0 release.


Date: 2009-03-13 19:13
Sender: nobody

This issue is similar to Filezilla's one.
Please refer Filezilla's code.

cf.
http://filezilla.svn.sourceforge.net/viewvc/filezilla/FileZilla3/trunk/src/engine/socket.cpp?view=markup

-- df


Date: 2009-02-22 23:38
Sender: nobody

This bug still exists with version 1.2.0 release.


Date: 2009-01-15 09:24
Sender: nobody

This bug doesn't resolve with version 1.1.2 release on my Windows 2000
pro.



Date: 2008-03-12 16:56
Sender: nomoa


I can't test it as I don't have access to Win 2000 SP4 anymore. Sorry.


Date: 2008-03-10 16:44
Sender: antbryanProject Admin


is this still a problem with 0.13 release?


Date: 2007-11-26 22:53
Sender: sebone


please assign to this bug to rossta ;)


Date: 2007-10-28 21:17
Sender: martimus8


@t-tujikawa

The follow is a clipped excerpt from
http://msdn2.microsoft.com/en-us/library/ms737931.aspx

"Support for freeaddrinfo on earlier versions of Windows

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.

The FreeAddrInfoW function is the Unicode version of freeaddrinfo. The
FreeAddrInfoW function was added to the Ws2_32.dll in Windows XP SP2. The
FreeAddrInfoW function cannot be used on versions of Windows earlier than
Windows XP SP2."

This may help assist in resolving this.


@nomoa
Several binaries (packages or executables) from Microsoft automatically
update the WinSock2 dll under Windows 2000 and earlier. I usually run
Windows Update as well as install Remote Desktop Connection (and don't use
it of course)... but it USUALLY upgrades IPv4 and IPv6 dll's.

Just a sidenote: Rumor in my circles has it that Windows Update is now
checking ones installation key in Windows 2000 SP4+... so if you don't have
a legitimate copy of Windows 2000, it will Blue Screen of Death next reboot
after running Windows Update.


Log in to comment.




Attached File ( 1 )

Filename Description Download
configure.patch Download

Changes ( 2 )

Field Old Value Date By
File Added 321694: configure.patch 2009-04-07 14:49 t-tujikawa
summary win32 bianry package : dependency error 2008-03-12 16:56 nomoa