Bug #8309 i need to re-compile mysqld server in mysql 4.0.22 source, but error show up
Submitted: 4 Feb 2005 4:43 Modified: 5 Feb 2005 15:54
Reporter: kemas rahmat wiharja Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:mysql 4.0.22 OS:Windows (windows XP)
Assigned to: CPU Architecture:Any

[4 Feb 2005 4:43] kemas rahmat wiharja
Description:
i have compile mysqld files using Visual C++ with compiling following files in alphabetical order :

bdb files
dbug files
heap files
innobase files
isam files
merge files
myisam files
myisammrg files
mysql files
mysqladmin files
mysqldump files
mysqlimport files
MySqlManager files
mysqlshow files
mysys files
myTest files
regex files

replace files
when i compile these files, there is a message : 
Performing Custom Build Step on .\Strxmov.asm
'ml' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.
replace.exe - 1 error(s), 0 warning(s)

strings files
when i compile these files, there is a message : 
Performing Custom Build Step on .\Strxmov.asm
'ml' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.
strings.lib - 1 error(s), 0 warning(s)

thr_test files
when i compile these files, there is a message : 
--------------------Configuration: strings - Win32 Debug--------------------
Performing Custom Build Step on .\Strxmov.asm
'ml' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.
thr_test.exe - 1 error(s), 0 warning(s)

vio files
zlib files

all files except replace, strings, thr_test is okay (no error, no warning). 
Because of that, if i build mysqld.exe i will get a message like this :
--------------------Configuration: strings - Win32 Debug--------------------
Performing Custom Build Step on .\Strxmov.asm
'ml' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.
mysqld.exe - 1 error(s), 0 warning(s)

Please advise me how to fix it.  Thanks!

How to repeat:
[5 Feb 2005 15:54] Jorge del Conde
You need MASM to generate object files for those asm files.  A simple workaround is not to use the asm files at all.  It will be a bit less efficient, but in real terms it won't be noticeable.

To do this,  copy the files of mysql-src/strings/noMASM to mysql-src/strings and recompile again.