home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mass61.zip / ML611D.EXE / ERRMSG.TXT next >
Text File  |  1995-09-19  |  11KB  |  338 lines

  1.              Notes on MASM 6.11 Error Messages
  2.              (c) Copyright Microsoft Corp. 1994
  3.  
  4.      
  5.      This text file contains information on the following:
  6.      
  7.      - 32-bit Linker Errors
  8.      - ML Errors Update
  9.      - Microsoft MS-DOS Extender Run-Time Errors
  10.  
  11. =============================================================================
  12.      
  13.      32-Bit Linker Errors
  14.      --------------------
  15.      If you attempt to assemble a 16-bit executable file, but call the 
  16.      32-bit version of LINK, you will receive a LNKnnnn error message. 
  17.      The following output example illustrates specifically which error 
  18.      messages you may receive:
  19.       
  20.       **********************************************************
  21.       Microsoft (R) 32-Bit Executable Linker Version 1.0
  22.       Copyright (C) Microsoft Corp 1992-93. All rights reserved.
  23.  
  24.       /z2
  25.       "afile.obj"
  26.       "afile.exe"
  27.       NUL
  28.       LINK : warning LNK4044: unrecognized option "z2"; ignored
  29.       LINK : warning LNK4044: unrecognized option "r"; ignored
  30.       LINK : error LNK1104: cannot open file "afile.exe"
  31.       **********************************************************
  32.      
  33.      You may also receive the warning
  34.  
  35.       cvtomf() : warning : 16-bit segment
  36.  
  37.      If you are building a 16-bit executable file, use the LINK.EXE 
  38.      included with MASM 6.11. If you have the directories for both the 
  39.      16-bit and 32-bit linkers included in your PATH, the directory 
  40.      containing the 16-bit LINK.EXE must be listed before the directory 
  41.      containing the 32-bit linker.
  42.  
  43.          
  44.      ML Errors Update
  45.      ----------------
  46.      The following is updated information on ML error messages. The
  47.      complete list of assembler error messages is located in Appendix A
  48.      of the MASM Environment and Tools book.
  49.  
  50.       A1004: out of memory
  51.  
  52.          The assembler could not load the file because all memory 
  53.          is exhausted. For ML.EXE to run with the Microsoft Windows 
  54.          operating system, a Windows swap file is often needed.
  55.  
  56.  
  57.       A1018: COFF error writing file
  58.          
  59.          The assembler was unable to write to an output file. One
  60.          of the following may be the cause:
  61.  
  62.          - The current disk is full.
  63.          - The current disk is read-only.
  64.          - The disk you are writing to is not ready.
  65.  
  66.       
  67.       A1019: invalid debug and browser data; file exceeds line limit 
  68.               
  69.          The assembler cannot generate debug or browse information 
  70.          on an OMF file longer than 32,767 lines, or on a coff file
  71.          longer than 65,553 lines.
  72.         
  73.          To eliminate this error:
  74.  
  75.          - Break the file up into smaller pieces (each having less 
  76.            than 32,767 lines for OMF files, 65,553 for coff files) 
  77.            and reassemble, or
  78.  
  79.          - Assemble without options /Zi, /Fr, or /FR.
  80.  
  81.       
  82.       A1020: cannot find LINK.EXE
  83.  
  84.          This error occurs when LINK.EXE cannot be found on the 
  85.          path. Placing LINK.EXE on the path will resolve this error.
  86.  
  87.  
  88.       A1021: cannot find cvpack.exe
  89.  
  90.          This error occurs when CVPACK.EXE cannot be found on the 
  91.          path. Placing CVPACK.EXE on the path will resolve this 
  92.          error.
  93.  
  94.  
  95.       A2112: PROC and prototype calling conventions conflict
  96.  
  97.          The assembler has detected that the proc and prototype
  98.          statements contain different calling conventions. Make sure 
  99.          the calling conventions in the proc and prototype 
  100.          statements are the same.      
  101.          
  102.  
  103.       A2211: FAR not allowed in flat-model comm variables
  104.  
  105.          The assembler has detected a FAR directive in a flat-model
  106.          program. The FAR directive is irrelevant for flat-model 
  107.          programs and should be removed.
  108.  
  109.  
  110.       A2212: invalid .model parameter for flat model
  111.       
  112.          The assembler has detected nearstack or farstack 
  113.          directives in a flat-model program. These directives are 
  114.          irrelevant for flat-model programs and should be removed.
  115.  
  116.  
  117.       A2213: ALIAS name is empty
  118.  
  119.          The assembler has detected that a parameter in the alias 
  120.          statement is empty. To remedy the situation, fill in the 
  121.          empty alias parameter.
  122.       
  123.  
  124.       A2214: GROUP directive not allowed with /coff option
  125.  
  126.          The assembler has detected that a group directive along
  127.          with the /coff option. The group directive and it's 
  128.          parameters should be removed. 
  129.  
  130.  
  131.       A2215: .FPO is not compatible with nested procedures.
  132.  
  133.          The .FPO directive should not be used within nested 
  134.          procedures. Remove the nested procedure or the .FPO
  135.          directive from the nested procedure.
  136.  
  137.      ML Warnings Update
  138.      ------------------
  139.  
  140.       A4014: directive ignored with /coff switch
  141.  
  142.          Directives .SEQ, .ALPHA, and .DOSSEG are ignored when 
  143.          assembling with the /coff switch. These directives have no 
  144.          effect and should be removed from flat-model code.
  145.  
  146.  
  147.       A4015: /Gc switch incompatible with flat model
  148.  
  149.          The /Gc switch is incompatible when assembling a flat-
  150.          model program. The switch was ignored.
  151.  
  152.  
  153.       A4016: /AT switch incompatible with flat model
  154.  
  155.          The /AT switch is incompatible when assembling a flat-
  156.          model program. The switch was ignored. 
  157.          
  158.       
  159.       A4017: invalid command-line option: /<option>
  160.  
  161.          ML has detected a command-line option that is invalid.
  162.          The option was removed and ML compiled as it normally
  163.          would.
  164.  
  165.  
  166.       A4018: directive ignored without /coff switch
  167.  
  168.          The assembler has detected a directive that will be ignored
  169.          if the /coff command line option isn't used. The .FPO 
  170.          directive must be used with the /coff switch. 
  171.  
  172.  
  173.       A4019: directive ignored outside a procedure
  174.  
  175.          The assembler has encountered a directive, such as the .FPO 
  176.          directive, that should have been used within a procedure. 
  177.          This directive will be ignored by the assembler. 
  178.  
  179.  
  180.       A4020: LOADDS ignored in flat model
  181.  
  182.          You have attempted to use the <loadds> operand in a 
  183.          flat model program. Due to the nature of flat model
  184.          programming, the DS register need not be saved on 
  185.          procedure calls. Remove the <loadds> operand from 
  186.          your source. 
  187.         
  188.  
  189.       A5006: calling convention not supported in flat model
  190.  
  191.          ML has detected a calling convention not supported in 
  192.          flat-model programs. The convention was ignored.
  193.  
  194.  
  195.      Microsoft MS-DOS Extender Run-Time Errors
  196.      -----------------------------------------
  197.      The MASM assembler, ML.EXE, is a 32-bit MS-DOS-extended program. An
  198.      MS-DOS Extender error can occur when you run ML. MS-DOS Extender 
  199.      errors have the following format:
  200.  
  201.      DOSXNT : error DXnnnn: message
  202.  
  203.  
  204.       DX1020: unhandled exception: exception; contact Microsoft 
  205.           Support Services
  206.  
  207.           A problem exists in ML.EXE. Additional information 
  208.           appears after this error message. Note the circumstances 
  209.           of the error and notify Microsoft Corporation by 
  210.           following the instructions in the "Microsoft Support 
  211.           Services" section in the Microsoft MASM Environment and 
  212.           Tools book.
  213.  
  214.  
  215.       DX1070: GODOSXNT.EXE stub out of date
  216.  
  217.           ML is not compatible with the version of DOSXNT.EXE 
  218.           available. A compatible version of the Microsoft DOSXNT 
  219.           MS-DOS Extender (DOSXNT.EXE) must exist in the same 
  220.           directory or in a directory specified in the PATH 
  221.           environment variable.
  222.  
  223.           This error can result when Microsoft MASM 6.11 is 
  224.           installed in the same directory as another language 
  225.           product. Try reinstalling MASM 6.11 in a different 
  226.           directory.
  227.  
  228.  
  229.       DX1140: DOSXNT.386 driver required to run with Windows
  230.  
  231.           For ML.EXE to run with the Microsoft Windows operating 
  232.           system, the driver called DOSXNT.386 must be specified 
  233.           in the [386Enh] section of the SYSTEM.INI file as 
  234.           follows:
  235.  
  236.           DEVICE=<path>\DOSXNT.386
  237.  
  238.           where <path> is the directory that contains the 
  239.           DOSXNT.386 file.
  240.  
  241.  
  242.       DX1180: cannot load program : <reason>
  243.  
  244.           The MS-DOS Extender could not load ML.EXE for the given 
  245.           reason. The message describing the reason can be one of 
  246.           the following:
  247.  
  248.           - access denied to file
  249.                Change the access rights for the file.
  250.  
  251.           - invalid or corrupted .EXE file
  252.                Contact Microsoft Support Services.
  253.  
  254.           - out of memory
  255.                Remove some TSRs or add more memory.
  256.  
  257.           - too many open files
  258.                Either close some files or increase the number of 
  259.                file handles specified in the FILES= statement in 
  260.                CONFIG.SYS.
  261.  
  262.  
  263.       DX1230: DOSXNT initialization failed
  264.  
  265.           This error usually follows error DX5420.
  266.  
  267.  
  268.       DX1270: command-line error : unknown command switch
  269.  
  270.           This error occurs if one of the following environment 
  271.           variables is set: G, GO, GOT, GOTN, GOTNT, T, TN, TNT. 
  272.      
  273.           To see the current settings of environment variables, run 
  274.           the SET command at the operating system prompt. To clear 
  275.           an environment variable, run the command SET variable=, 
  276.           where variable is the name of the variable to be cleared; 
  277.           no other characters can appear before you press ENTER. 
  278.           Changes in environment variables must be made outside of 
  279.           Windows. Check the AUTOEXEC.BAT file for environment 
  280.           variable settings.
  281.  
  282.  
  283.       DX1350: cannot load program: file not found
  284.  
  285.           This error occurs if one of the following environment 
  286.           variables is set: G, GO, GOT, GOTN, GOTNT, T, TN, TNT.
  287.  
  288.           To see the current settings of environment variables, 
  289.           run the SET command at the operating system prompt. To 
  290.           clear an environment variable, run the command SET 
  291.           variable=, where variable is the name of the variable to 
  292.           be cleared; no other characters can appear before pressing 
  293.           ENTER. Changes in environment variables must be made 
  294.           outside of Windows. Check the AUTOEXEC.BAT file for 
  295.           environment variable settings.
  296.  
  297.      
  298.       DX1390: cannot load program
  299.  
  300.           DOSXNT cannot load the executable file because all memory 
  301.           is exhausted. For ML.EXE to run with the Microsoft Windows 
  302.           operating system, a Windows swap file may be required.
  303.  
  304.  
  305.       DX5420: CheckDPMI: error when checking for coprocessor support
  306.  
  307.           For ML.EXE to run with the Microsoft Windows operating 
  308.           system, the following must be specified in the [386Enh] 
  309.           section of SYSTEM.INI:
  310.      
  311.           DEVICE=*vmcpd
  312.  
  313.       
  314.       Phar Lap err 58: Can't create VM swap file of size 0 in 
  315.           directory T:\
  316.  
  317.           where T:\ is a read-only network drive. This error
  318.           may occur in the MS-DOS environment (outside of Windows)
  319.           when ML.EXE is located on a read-only network share.
  320.           To avoid this error, you can do one of the following:
  321.  
  322.           - Set the DOSX environment variable to "-novm" as
  323.             follows:
  324.           
  325.             set dosx=-novm
  326.  
  327.             This instructs the dos extender not to use VM.
  328.  
  329.           - Set the DOSX environment variable to "-swapdir 
  330.             c:\<dir>" as follows:
  331.           
  332.             set dosx=-swapdir c:\<dir>
  333.             
  334.             where <dir> is a directory on drive C:. This instructs 
  335.             the MS-DOS Extender to put the swap file in the 
  336.             specified directory.
  337.  
  338.