I am trying to compile Socket6 module on windows. In 32 bit mode, it c +learly passed while it failed in 64 bit mode giving linker error. Socket6.obj : error LNK2001: unresolved external symbol __imp_inet_pto +n Socket6.obj : error LNK2001: unresolved external symbol inet_ntop ..\..\lib\auto\Socket6\Socket6.dll : fatal error LNK1120: 2 unresolved + externals I see that the required ws2_32.lib is present: "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\ws2_32.lib" C:\VStudio10\VC\lib\oldnames.lib "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\kernel32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\user32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\gdi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\winspool.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\comdlg32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\advapi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\shell32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\ole32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\oleaut32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\netapi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\uuid.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\ws2_32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\mpr.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\winmm.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\version.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\odbc32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\odbccp32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\comctl32.lib" Still it is failing. Is it that there is some issue with the SDK versi +on where ws2_32.lib is missing these two symbols? Please let me know +how to address this?

In reply to Socket6 module compilation failing on Windows x86_64 with VS2K10 by narasimp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.