NMAKE : fatal error U1077: 'mt' : return code '0x1'

  • Thread starter Thread starter Mitul
  • Start date Start date
M

Mitul

Hello,

We are using Visual Studio 2008 on XP-SP2, to compile Perl module named
"nwrfcconnector" for SAP, While compiling we get below mentioned error, refer
the bottom-most line(s) for the exact error:

C:\Documents and Settings\amgupta\Desktop\sapnwrfc-0.27>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

cp lib/vrfc32.lib blib\lib\vrfc32.lib
cp lib/SAPNW/Connection.xs blib\lib\SAPNW\Connection.xs
cp lib/SAPNW/Rfc.pm blib\lib\SAPNW\Rfc.pm
cp sapnwrfc-cookbook.pod blib\lib\sapnwrfc-cookbook.pod
cp lib/librfc32.dll blib\lib\librfc32.dll
cp lib/vrfc32.dll blib\lib\vrfc32.dll
cp lib/SAPNW/Makefile.old blib\lib\SAPNW\Makefile.old
cp lib/SAPNW/RFC/Parameter.pm blib\lib\SAPNW\RFC\Parameter.pm
cp lib/SAPNW/Makefile.PL blib\lib\SAPNW\Makefile.PL
cp lib/librfc32.lib blib\lib\librfc32.lib
cp lib/SAPNW/Connection.pm blib\lib\SAPNW\Connection.pm
cp lib/SAPNW/Base.pm blib\lib\SAPNW\Base.pm
cp lib/SAPNW/RFC/FunctionCall.pm blib\lib\SAPNW\RFC\FunctionCall.pm
cp sapnwrfc.pm blib\lib\sapnwrfc.pm
cp lib/SAPNW/RFC/FunctionDescriptor.pm
blib\lib\SAPNW\RFC\FunctionDescriptor.pm
nmake -f Makefile all -nologo
Skip ..\..\blib\lib\SAPNW\Rfc.pm (unchanged)
Skip ..\..\blib\lib\SAPNW\Connection.pm (unchanged)
Skip ..\..\blib\lib\SAPNW\Base.pm (unchanged)
C:\perl\bin\perl.exe C:\perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\E
xtUtils\typemap Connection.xs > Connection.xsc && C:\perl\bin\perl.exe
-MExtUti
ls::Command -e mv Connection.xsc Connection.c
cl -c -I"C:\Program Files\SAP\FrontEnd\SAPgui\nwrfcsdk\include"
-nolog
o -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICI
T_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"0.2
7\" -DXS_VERSION=\"0.27\" "-IC:\Perl\lib\CORE" -DWIN32 -D_CONSOLE
-DUNICODE -
D_UNICODE -DSAPwithUNICODE -DSAPonNT -DSAP_PLATFORM_MAKENAME=ntintel
Connectio
n.c
Connection.c
Connection.xs(346) : warning C4101: 'ptr' : unreferenced local variable
Connection.xs(984) : warning C4018: '<' : signed/unsigned mismatch
Connection.xs(1139) : warning C4101: 'sv_name' : unreferenced local variable
Connection.xs(2484) : warning C4101: 'idx' : unreferenced local variable
Connection.xs(2478) : warning C4101: 'he_entry' : unreferenced local variable
Connection.xs(2467) : warning C4101: 'sv_parm' : unreferenced local variable
Connection.xs(2941) : warning C4018: '<' : signed/unsigned mismatch
Running Mkbootstrap for SAPNW::Connection ()
C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Connection.bs
C:\perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"SA
PNW::Connection\", 'DLBASE' => 'Connection', 'DL_FUNCS' => { }, 'FUNCLIST'
=> [
], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:..\..\blib\arch\auto\SAPNW\Connection\Connection.dll -dll
-nol
ogo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE"
-machine:x86
Connection.obj C:\Perl\lib\CORE\perl510.lib "C:\Program
Files\SAP\FrontEnd\SA
Pgui\nwrfcsdk\lib\sapnwrfc.lib" "C:\Program
Files\SAP\FrontEnd\SAPgui\nwrfcsdk\l
ib\libsapucum.lib" C:\Perl\lib\CORE\oldnames.lib "c:\Program Files\Microsoft
SDK
\Lib\kernel32.lib" "c:\Program Files\Microsoft SDK\Lib\user32.lib"
"c:\Program F
iles\Microsoft SDK\Lib\gdi32.lib" "c:\Program Files\Microsoft
SDK\Lib\winspool.l
ib" "c:\Program Files\Microsoft SDK\Lib\comdlg32.lib" "c:\Program
Files\Microsof
t SDK\Lib\advapi32.lib" "c:\Program Files\Microsoft SDK\Lib\shell32.lib"
"c:\Pro
gram Files\Microsoft SDK\Lib\ole32.lib" "c:\Program Files\Microsoft
SDK\Lib\olea
ut32.lib" "c:\Program Files\Microsoft SDK\Lib\netapi32.lib" "c:\Program
Files\Mi
crosoft SDK\Lib\uuid.lib" "c:\Program Files\Microsoft SDK\Lib\ws2_32.lib"
"c:\Pr
ogram Files\Microsoft SDK\Lib\mpr.lib" "c:\Program Files\Microsoft
SDK\Lib\winmm
..lib" "c:\Program Files\Microsoft SDK\Lib\version.lib"
C:\Perl\lib\CORE\msvcrt.l
ib -def:Connection.def
Creating library ..\..\blib\arch\auto\SAPNW\Connection\Connection.lib and
obj
ect ..\..\blib\arch\auto\SAPNW\Connection\Connection.exp
mt -nologo -manifest
...\..\blib\arch\auto\SAPNW\Connection\Connection.dl
l.manifest
-outputresource:..\..\blib\arch\auto\SAPNW\Connection\Connection.dll;
2 && del ..\..\blib\arch\auto\SAPNW\Connection\Connection.dll.manifest
Nothing to do!
Modes of operation:
-hashupdate Update hashes of member files
-makecdfs Generate CDF files to make catalogs
-verbose Disply piles of debugging information

Modifiers:
-manifest <foo.man> The name of the manifest to work with

Normal usage: mt.exe -hashupdate -makecdfs -manifest foo.man

NMAKE : fatal error U1077: 'mt' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.EXE"' : return code '0x2'
Stop.

Any help on how to resolve this error is appreciated.
 
Mitul said:
Hello,

We are using Visual Studio 2008 on XP-SP2, to compile Perl module
named "nwrfcconnector" for SAP, While compiling we get below
mentioned error, refer the bottom-most line(s) for the exact error:

Answered in microsoft.public.vc.language. Please don't multi-post
(cross-post instead).

-cd
 
Back
Top