Loading ...
Sorry, an error occurred while loading the content.

Build 1.50 Failure - Errors during nmake

Expand Messages
  • ste88llo
    I am unable to build the latest code. Can anyone help with the following errors? ... D: Perlcode Downloads Win32-GuiTest-1.50 nmake Microsoft (R) Program
    Message 1 of 3 , Jan 14, 2004
    • 0 Attachment
      I am unable to build the latest code. Can anyone help with the
      following errors?

      ---------------------------------------------------------------
      D:\Perlcode\Downloads\Win32-GuiTest-1.50>nmake

      Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
      Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

      cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
      D_CONSOLE -DNO_STRICT
      -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
      DUSE_PERLIO -DPE
      RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
      DXS_VERSION=\"1.50\"
      "-IC:\perl\perl\lib\CORE" guitest.cpp
      guitest.cpp
      GuiTest.xs(555) : warning C4101: 'sv' : unreferenced local variable
      GuiTest.xs(567) : warning C4101: 'sv' : unreferenced local variable
      GuiTest.xs(616) : warning C4101: 'buf' : unreferenced local variable
      GuiTest.xs(613) : warning C4101: 'enum_ok' : unreferenced local
      variable
      GuiTest.xs(631) : warning C4101: 'sv' : unreferenced local variable
      cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
      D_CONSOLE -DNO_STRICT
      -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
      DUSE_PERLIO -DPE
      RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
      DXS_VERSION=\"1.50\"
      "-IC:\perl\perl\lib\CORE" dibsect.cpp
      dibsect.cpp
      dibsect.cpp(311) : warning C4800: 'int' : forcing value to
      bool 'true' or 'false
      ' (performance warning)
      Running Mkbootstrap for Win32::GuiTest ()
      C:\perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
      GuiTest.bs
      link -out:blib\arch\auto\Win32\GuiTest\GuiTest.dll -dll -
      nologo -nodefau
      ltlib -release -
      libpath:"F:\dev\indigoperl\indigoperl\perl\lib\CORE" -machine:
      x86 GuiTest.obj DibSect.obj C:\perl\perl\lib\CORE\perl58.lib
      oldnames.lib kern
      el32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
      advapi32.lib shell32.li
      b ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
      winmm.lib v
      ersion.lib odbc32.lib odbccp32.lib C:\perl\perl\lib\CORE\perl58.lib -
      def:GuiTest
      .def
      Creating library blib\arch\auto\Win32\GuiTest\GuiTest.lib and
      object blib\arc
      h\auto\Win32\GuiTest\GuiTest.exp
      GuiTest.obj : error LNK2001: unresolved external symbol _strcmp
      GuiTest.obj : error LNK2001: unresolved external symbol __imp__atoi
      GuiTest.obj : error LNK2001: unresolved external symbol _strcpy
      GuiTest.obj : error LNK2001: unresolved external symbol _strlen
      GuiTest.obj : error LNK2001: unresolved external symbol
      __imp__toupper
      GuiTest.obj : error LNK2001: unresolved external symbol
      __imp__sprintf
      GuiTest.obj : error LNK2001: unresolved external symbol __fltused
      GuiTest.obj : error LNK2001: unresolved external symbol
      __imp__isalpha
      GuiTest.obj : error LNK2001: unresolved external symbol
      __imp__isdigit
      GuiTest.obj : error LNK2001: unresolved external symbol
      __imp__strnicmp
      oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
      symbol __imp__st
      rnicmp
      GuiTest.obj : error LNK2001: unresolved external symbol _memset
      DibSect.obj : error LNK2001: unresolved external symbol _memset
      GuiTest.obj : error LNK2001: unresolved external symbol "void *
      __cdecl operator
      new(unsigned int)" (??2@YAPAXI@Z)
      DibSect.obj : error LNK2001: unresolved external symbol "void *
      __cdecl operator
      new(unsigned int)" (??2@YAPAXI@Z)
      GuiTest.obj : error LNK2001: unresolved external symbol "void
      __cdecl operator d
      elete(void *)" (??3@YAXPAX@Z)
      DibSect.obj : error LNK2001: unresolved external symbol "void
      __cdecl operator d
      elete(void *)" (??3@YAXPAX@Z)
      DibSect.obj : error LNK2001: unresolved external symbol _memcpy
      DibSect.obj : error LNK2001: unresolved external symbol _abs
      DibSect.obj : error LNK2001: unresolved external symbol __imp__fclose
      DibSect.obj : error LNK2001: unresolved external symbol __imp__fwrite
      DibSect.obj : error LNK2001: unresolved external symbol __imp__fopen
      LINK : error LNK2001: unresolved external symbol
      __DllMainCRTStartup@12
      oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
      symbol __imp___s
      trnicmp
      blib\arch\auto\Win32\GuiTest\GuiTest.dll : fatal error LNK1120: 20
      unresolved ex
      ternals
      NMAKE : fatal error U1077: 'link' : return code '0x460'
      Stop.
      ---------------------------------------------------------------
    • ste88llo
      I am unable to build the latest code. Can anyone help with the following errors? ... D: Perlcode Downloads Win32-GuiTest-1.50 nmake Microsoft (R) Program
      Message 2 of 3 , Jan 14, 2004
      • 0 Attachment
        I am unable to build the latest code. Can anyone help with the
        following errors?

        ---------------------------------------------------------------
        D:\Perlcode\Downloads\Win32-GuiTest-1.50>nmake

        Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
        Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
        D_CONSOLE -DNO_STRICT
        -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
        DUSE_PERLIO -DPE
        RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
        DXS_VERSION=\"1.50\"
        "-IC:\perl\perl\lib\CORE" guitest.cpp
        guitest.cpp
        GuiTest.xs(555) : warning C4101: 'sv' : unreferenced local variable
        GuiTest.xs(567) : warning C4101: 'sv' : unreferenced local variable
        GuiTest.xs(616) : warning C4101: 'buf' : unreferenced local variable
        GuiTest.xs(613) : warning C4101: 'enum_ok' : unreferenced local
        variable
        GuiTest.xs(631) : warning C4101: 'sv' : unreferenced local variable
        cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
        D_CONSOLE -DNO_STRICT
        -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
        DUSE_PERLIO -DPE
        RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
        DXS_VERSION=\"1.50\"
        "-IC:\perl\perl\lib\CORE" dibsect.cpp
        dibsect.cpp
        dibsect.cpp(311) : warning C4800: 'int' : forcing value to
        bool 'true' or 'false
        ' (performance warning)
        Running Mkbootstrap for Win32::GuiTest ()
        C:\perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
        GuiTest.bs
        link -out:blib\arch\auto\Win32\GuiTest\GuiTest.dll -dll -
        nologo -nodefau
        ltlib -release -
        libpath:"F:\dev\indigoperl\indigoperl\perl\lib\CORE" -machine:
        x86 GuiTest.obj DibSect.obj C:\perl\perl\lib\CORE\perl58.lib
        oldnames.lib kern
        el32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
        advapi32.lib shell32.li
        b ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
        winmm.lib v
        ersion.lib odbc32.lib odbccp32.lib C:\perl\perl\lib\CORE\perl58.lib -
        def:GuiTest
        .def
        Creating library blib\arch\auto\Win32\GuiTest\GuiTest.lib and
        object blib\arc
        h\auto\Win32\GuiTest\GuiTest.exp
        GuiTest.obj : error LNK2001: unresolved external symbol _strcmp
        GuiTest.obj : error LNK2001: unresolved external symbol __imp__atoi
        GuiTest.obj : error LNK2001: unresolved external symbol _strcpy
        GuiTest.obj : error LNK2001: unresolved external symbol _strlen
        GuiTest.obj : error LNK2001: unresolved external symbol
        __imp__toupper
        GuiTest.obj : error LNK2001: unresolved external symbol
        __imp__sprintf
        GuiTest.obj : error LNK2001: unresolved external symbol __fltused
        GuiTest.obj : error LNK2001: unresolved external symbol
        __imp__isalpha
        GuiTest.obj : error LNK2001: unresolved external symbol
        __imp__isdigit
        GuiTest.obj : error LNK2001: unresolved external symbol
        __imp__strnicmp
        oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
        symbol __imp__st
        rnicmp
        GuiTest.obj : error LNK2001: unresolved external symbol _memset
        DibSect.obj : error LNK2001: unresolved external symbol _memset
        GuiTest.obj : error LNK2001: unresolved external symbol "void *
        __cdecl operator
        new(unsigned int)" (??2@YAPAXI@Z)
        DibSect.obj : error LNK2001: unresolved external symbol "void *
        __cdecl operator
        new(unsigned int)" (??2@YAPAXI@Z)
        GuiTest.obj : error LNK2001: unresolved external symbol "void
        __cdecl operator d
        elete(void *)" (??3@YAXPAX@Z)
        DibSect.obj : error LNK2001: unresolved external symbol "void
        __cdecl operator d
        elete(void *)" (??3@YAXPAX@Z)
        DibSect.obj : error LNK2001: unresolved external symbol _memcpy
        DibSect.obj : error LNK2001: unresolved external symbol _abs
        DibSect.obj : error LNK2001: unresolved external symbol __imp__fclose
        DibSect.obj : error LNK2001: unresolved external symbol __imp__fwrite
        DibSect.obj : error LNK2001: unresolved external symbol __imp__fopen
        LINK : error LNK2001: unresolved external symbol
        __DllMainCRTStartup@12
        oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
        symbol __imp___s
        trnicmp
        blib\arch\auto\Win32\GuiTest\GuiTest.dll : fatal error LNK1120: 20
        unresolved ex
        ternals
        NMAKE : fatal error U1077: 'link' : return code '0x460'
        Stop.
        ---------------------------------------------------------------
      • Dennis K. Paulsen
        A couple of thoughts: Make sure you run vcvars32.bat before you run perl makefile.pl and nmake to ensure the build environment is reasonably setup. One
        Message 3 of 3 , Jan 14, 2004
        • 0 Attachment
          A couple of thoughts:

          Make sure you run 'vcvars32.bat' before you run 'perl makefile.pl'
          and 'nmake' to ensure the build environment is reasonably setup.
          One of the things you can verify is the output of: 'echo %LIB%' at a
          command prompt. Make sure it lists the correct path to the Visual
          C++ 6.0 libraries. Also, if you have Visual Studio .NET installed,
          you might want to make sure the Visual C++ 6.0 library paths are
          listed before the VS .NET paths.


          Regards,
          Dennis K. Paulsen

          --- In perlguitest@yahoogroups.com, "ste88llo" <slloyd@t...> wrote:
          > I am unable to build the latest code. Can anyone help with the
          > following errors?
          >
          > ---------------------------------------------------------------
          > D:\Perlcode\Downloads\Win32-GuiTest-1.50>nmake
          >
          > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
          > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
          >
          > cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
          > D_CONSOLE -DNO_STRICT
          > -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
          > DUSE_PERLIO -DPE
          > RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
          > DXS_VERSION=\"1.50\"
          > "-IC:\perl\perl\lib\CORE" guitest.cpp
          > guitest.cpp
          > GuiTest.xs(555) : warning C4101: 'sv' : unreferenced local variable
          > GuiTest.xs(567) : warning C4101: 'sv' : unreferenced local variable
          > GuiTest.xs(616) : warning C4101: 'buf' : unreferenced local
          variable
          > GuiTest.xs(613) : warning C4101: 'enum_ok' : unreferenced local
          > variable
          > GuiTest.xs(631) : warning C4101: 'sv' : unreferenced local variable
          > cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -
          > D_CONSOLE -DNO_STRICT
          > -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
          > DUSE_PERLIO -DPE
          > RL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.50\" -
          > DXS_VERSION=\"1.50\"
          > "-IC:\perl\perl\lib\CORE" dibsect.cpp
          > dibsect.cpp
          > dibsect.cpp(311) : warning C4800: 'int' : forcing value to
          > bool 'true' or 'false
          > ' (performance warning)
          > Running Mkbootstrap for Win32::GuiTest ()
          > C:\perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
          > GuiTest.bs
          > link -out:blib\arch\auto\Win32\GuiTest\GuiTest.dll -dll -
          > nologo -nodefau
          > ltlib -release -
          > libpath:"F:\dev\indigoperl\indigoperl\perl\lib\CORE" -machine:
          > x86 GuiTest.obj DibSect.obj C:\perl\perl\lib\CORE\perl58.lib
          > oldnames.lib kern
          > el32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
          > advapi32.lib shell32.li
          > b ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib
          mpr.lib
          > winmm.lib v
          > ersion.lib odbc32.lib odbccp32.lib
          C:\perl\perl\lib\CORE\perl58.lib -
          > def:GuiTest
          > .def
          > Creating library blib\arch\auto\Win32\GuiTest\GuiTest.lib and
          > object blib\arc
          > h\auto\Win32\GuiTest\GuiTest.exp
          > GuiTest.obj : error LNK2001: unresolved external symbol _strcmp
          > GuiTest.obj : error LNK2001: unresolved external symbol __imp__atoi
          > GuiTest.obj : error LNK2001: unresolved external symbol _strcpy
          > GuiTest.obj : error LNK2001: unresolved external symbol _strlen
          > GuiTest.obj : error LNK2001: unresolved external symbol
          > __imp__toupper
          > GuiTest.obj : error LNK2001: unresolved external symbol
          > __imp__sprintf
          > GuiTest.obj : error LNK2001: unresolved external symbol __fltused
          > GuiTest.obj : error LNK2001: unresolved external symbol
          > __imp__isalpha
          > GuiTest.obj : error LNK2001: unresolved external symbol
          > __imp__isdigit
          > GuiTest.obj : error LNK2001: unresolved external symbol
          > __imp__strnicmp
          > oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
          > symbol __imp__st
          > rnicmp
          > GuiTest.obj : error LNK2001: unresolved external symbol _memset
          > DibSect.obj : error LNK2001: unresolved external symbol _memset
          > GuiTest.obj : error LNK2001: unresolved external symbol "void *
          > __cdecl operator
          > new(unsigned int)" (??2@YAPAXI@Z)
          > DibSect.obj : error LNK2001: unresolved external symbol "void *
          > __cdecl operator
          > new(unsigned int)" (??2@YAPAXI@Z)
          > GuiTest.obj : error LNK2001: unresolved external symbol "void
          > __cdecl operator d
          > elete(void *)" (??3@YAXPAX@Z)
          > DibSect.obj : error LNK2001: unresolved external symbol "void
          > __cdecl operator d
          > elete(void *)" (??3@YAXPAX@Z)
          > DibSect.obj : error LNK2001: unresolved external symbol _memcpy
          > DibSect.obj : error LNK2001: unresolved external symbol _abs
          > DibSect.obj : error LNK2001: unresolved external symbol
          __imp__fclose
          > DibSect.obj : error LNK2001: unresolved external symbol
          __imp__fwrite
          > DibSect.obj : error LNK2001: unresolved external symbol
          __imp__fopen
          > LINK : error LNK2001: unresolved external symbol
          > __DllMainCRTStartup@12
          > oldnames.lib(strnicmp.obi) : error LNK2001: unresolved external
          > symbol __imp___s
          > trnicmp
          > blib\arch\auto\Win32\GuiTest\GuiTest.dll : fatal error LNK1120: 20
          > unresolved ex
          > ternals
          > NMAKE : fatal error U1077: 'link' : return code '0x460'
          > Stop.
          > ---------------------------------------------------------------
        Your message has been successfully submitted and would be delivered to recipients shortly.