Subject: | Compile failure and test warning on Win XP |
Date: | Wed, 22 Feb 2012 19:15:33 +0530 |
To: | <bug-socket6 [...] rt.cpan.org> |
From: | Manoj Kumar <mkmetw [...] hotmail.com> |
Hi,
I am trying to install Socket6-0.23 on a Win XP - Perl 5.14.2 machine. I am using Visual Studio 8 for compilation.
The compilation fails with following error -
Creating library blib\arch\auto\Socket6\Socket6.lib and object blib\arch\auto\Socket6\Socket6.exp
Socket6.obj : error LNK2019: unresolved external symbol _inet_pton referenced in function _XS_Socket6_inet_pton
Socket6.obj : error LNK2019: unresolved external symbol _inet_ntop referenced in function _XS_Socket6_inet_ntop
blib\arch\auto\Socket6\Socket6.dll : fatal error LNK1120: 2 unresolved externals
Please find attached patch to solve the compilation error and following warnings during test -
Subroutine main::pack_sockaddr_in6 redefined at D:/PROGRAMS/perl/5.14.2/lib/Exporter.pm line 66.
at t/use.t line 37
Subroutine main::unpack_sockaddr_in6 redefined at D:/PROGRAMS/perl/5.14.2/lib/Exporter.pm line 66.
at t/use.t line 37
Subroutine main::sockaddr_in6 redefined at D:/PROGRAMS/perl/5.14.2/lib/Exporter.pm line 66.
at t/use.t line 37
t/use.t .. ok
Regards,
Message body not shown because it is not plain text.