Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Hi Monks
I am trying to build the XML-Parser with perl-5.16.0 on Windows X64 using VStuido10.
Build is failing on that.
When i run the below command
../../perl.exe -I../../lib Makefile.PL EXPATLIBPATH=${devel}/hpsw-opcsi/OvPerl/external/Perl/5.16.0/Expat/Lib EXPATINCPATH=${devel}/hpsw-opcsi/OvPerl/external/Perl/5.16.0/Expat/Source/include INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1
It is creating the Makefile for xml-parser
When i run the "nmake" command

It throws the error like
..\..\..\perl.exe "-I..\..\..\lib" "-I..\..\..\lib" ..\..\..\lib\ExtUtils\xsubpp -noprototypes -typemap ..\..\..\lib\ExtUtils\typemap -typemap typemap Expat.xs > Expat.xsc && E:\thirupap\5.16.0\hpsw-opcsi\OvPerl\external\Perl\5.16.0\Win5.2_64\perl-5.16.0\perl.exe "-I..\..\..\lib" "-I..\..\..\lib" -MExtUtils::Command -e mv -- Expat.xsc Expat.c
cl -c -IC:/Expat/Source/Includes -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DVERSION=\"2.41\" -DXS_VERSION=\"2.41\" "-I..\..\..\lib\CORE" Expat.c
Expat.c
Expat.xs(273) : warning C4018: '<' : signed/unsigned mismatch
Expat.xs(339) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
Expat.xs(395) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
Expat.xs(428) : warning C4244: 'function' : conversion from '__int64' to 'I32', possible loss of data
Expat.xs(437) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data
Expat.xs(481) : warning C4101: 'pcontext' : unreferenced local variable
Expat.xs(484) : warning C4101: 'pnstab' : unreferenced local variable
Expat.xs(485) : warning C4101: 'pnslst' : unreferenced local variable
Expat.xs(1037) : warning C4244: '=' : conversion from 'IV' to 'int', possible loss of data
Expat.xs(1123) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
Expat.xs(1146) : warning C4101: 'count' : unreferenced local variable
Expat.xs(1446) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
Expat.xs(1462) : warning C4101: 'delimsv' : unreferenced local variable
Expat.xs(1490) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
Expat.c(2270) : warning C4101: 'RETVAL' : unreferenced local variable
Expat.xs(1861) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
Expat.xs(1871) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
Expat.c(2582) : warning C4101: 'RETVAL' : unreferenced local variable
Expat.xs(2046) : warning C4018: '<' : signed/unsigned mismatch
Expat.xs(2056) : warning C4018: '<' : signed/unsigned mismatch
Expat.xs(2208) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
Expat.xs(2192) : warning C4101: 'type' : unreferenced local variable
Expat.xs(2205) : warning C4101: 'pret' : unreferenced local variable
Running Mkbootstrap for XML::Parser::Expat ()
E:\thirupap\5.16.0\hpsw-opcsi\OvPerl\external\Perl\5.16.0\Win5.2_64\perl-5.16.0\perl.exe "-I..\..\..\lib" "-I..\..\..\lib" -MExtUtils::Command -e chmod -- 644 Expat.bs ..\..\..\perl.exe "-I..\..\..\lib" "-I..\..\..\lib" -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"XML::Parser::Expat\", 'DLBASE' => 'Expat', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:..\..\..\lib\auto\XML\Parser\Expat\Expat.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -manifest -libpath:"c:\Progra~1\HPOpen~1\nonOV\perl\a\lib\5.16.0\MSWin32-x64-multi-thread\CORE" -machine:AMD64 Expat.obj ..\..\..\lib\CORE\perl516.lib C:\Expat\Lib\libexpat.lib C:\VStudio10\VC\lib\amd64\oldnames.lib C:\mssdk\lib\AMD64\kernel32.lib C:\mssdk\lib\AMD64\user32.lib C:\mssdk\lib\AMD64\gdi32.lib C:\mssdk\lib\AMD64\winspool.lib C:\mssdk\lib\AMD64\comdlg32.lib C:\mssdk\lib\AMD64\advapi32.lib C:\mssdk\lib\AMD64\shell32.lib C:\mssdk\lib\AMD64\ole32.lib C:\mssdk\lib\AMD64\oleaut32.lib C:\mssdk\lib\AMD64\netapi32.lib C:\mssdk\lib\AMD64\uuid.lib C:\mssdk\lib\AMD64\ws2_32.lib C:\mssdk\lib\AMD64\mpr.lib C:\mssdk\lib\AMD64\winmm.lib C:\mssdk\lib\AMD64\version.lib C:\mssdk\lib\odbc32.lib C:\mssdk\lib\odbccp32.lib C:\mssdk\lib\AMD64\comctl32.lib C:\mssdk\lib\AMD64\bufferoverflowU.lib C:\VStudio10\VC\lib\amd64\msvcrt.lib -def:Expat.def
Creating library ..\..\..\lib\auto\XML\Parser\Expat\Expat.lib and object ..\..\..\lib\auto\XML\Parser\Expat\Expat.exp
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetEndDoctypeDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetBase
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetElementDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_DefaultCurrent
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetStartCdataSectionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetBuffer
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetDefaultHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetEndCdataSectionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetBase
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetUnparsedEntityDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetSpecifiedAttributeCount
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetCurrentByteIndex
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetAttlistDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetStartDoctypeDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetCurrentColumnNumber
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetProcessingInstructionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetNotationDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetCommentHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetNamespaceDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetElementHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetDefaultHandlerExpand
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_ParserFree
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_ErrorString
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetCdataSectionHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetInputContext
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetEntityDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_ParserCreate_MM
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_Parse
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_ExternalEntityParserCreate
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetCharacterDataHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetParamEntityParsing
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetXmlDeclHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetExternalEntityRefHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_ParseBuffer
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetCurrentByteCount
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetUnknownEncodingHandler
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_SetUserData
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetErrorCode
Expat.obj : error LNK2001: unresolved external symbol __imp_XML_GetCurrentLineNumber
..\..\..\lib\auto\XML\Parser\Expat\Expat.dll : fatal error LNK1120: 39 unresolved externals
NMAKE : fatal error U1077: 'C:\VStudio10\VC\BIN\amd64\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\VStudio10\VC\BIN\amd64\nmake.EXE' : return code '0x2' Stop.

I am trying to build XML-Parser-2.41 module with perl-5.16.0
Please guide me on this issue.

In reply to XMl-Parser build failed on windows X64 with VStuido10 by pthiru

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (7)
    As of 2013-05-20 08:56 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best material for plates (tableware) is:









      Results (409 votes), past polls