News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Can't compile SIMPLE.ASM

Started by herge, December 06, 2005, 05:13:12 PM

Previous topic - Next topic

herge

Hi I am trying to compile simple.asm.

Assembling: simple.asm
simple.asm(241) : error A2006: undefined symbol : assort
simple.asm(287) : error A2006: undefined symbol : dssort
_
Assembly Error
Press any key to continue . . .

Volume in drive G has no label.
Volume Serial Number is 9C05-F02F

Directory of G:\masm32\examples\EXAMPL11\sorts\simple

12/06/2005  12:01 PM    <DIR>          .
12/06/2005  12:01 PM    <DIR>          ..
12/06/2005  12:01 PM                 0 dir.tmp
12/06/2005  12:00 PM               223 error.txt
08/30/2004  12:11 AM               692 makeit.bat
09/01/2004  02:38 PM             9,930 simple.asm
               4 File(s)         10,845 bytes
               2 Dir(s)  195,521,503,232 bytes free

          ; --------------------------------------
            invoke assort,hMem,LENGTHOF pstrings,0
          ; --------------------------------------


          ; --------------------------------------
            invoke dssort,hMem,LENGTHOF pstrings,0
          ; --------------------------------------


Any Suggestions?

// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

ramguru

Do you have file g:\masm32\lib\masm32.lib ?
If answer is - no, please execute g:\masm32\makelibs.bat

herge

Hi ramguru:

Building the Library did help!

Now testinst.exe is acting up!
I rebuilt the Library twice and testinst.exe crashed twice.
Send Error Report to Microsoft.
But Simple.asm does work now!
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

hutch--

herge,

Just reinstall MASM32 carefully without other software running and make sure everything builds properly. You can see what is happening with the batch file that builds all of the libraries. If this is not successful, check your Windows installation as it may be damaged.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

herge

I have re-installed MASM32. And installed SP2 and SP2A.
I am now having problems building the Library!

ucfind.asm(29) : error A2006: undefined symbol : ulen$
ucfind.asm(33) : error A2006: undefined symbol : ulen$
uclower.asm(23) : error A2114: INVOKE arguement type mismatch
ucupper.asm(23) : error A2114: undefined symbol : ulen$
ucupper.asm(23) : error A2214: INVOKE arguement type mismatch

I must have forgot to copy a file(s) or something?
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

hutch--

Just grab the version 9.00 beta, it may get around the problems you are having. Its link is in the masm32 subforum.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php