Reputation: 31
I'm using Borland 4.52 to build an old project and I'm running into this issue.
When my build script enters a module that contains the assembly code, I have :
INFO : root.compile : ==================================================
DEBUG : root.compile : Building module
INFO : root.compile : ==================================================
Cleaning...
INFO : root.compile : Thread Handler said : 1 was created
DEBUG : root.compile : Thread-100 : module_path
c:\make.exe: *** [c_des.obj] Error 1
ERROR : root.compile : when module_path ran, error: 2
DEBUG : root.compile : Stop thread : Thread-100
Flags and options : -1- -d -ml -w -f- -x- -v -R- -vi -RT- -P -DCAD
Generating OPT C Options File
Generating OPT ASM Options File
Compiling ../../../../source/lrc.c
"C:\Bc45\bin\bcc" +c.opt -c -olrc.obj ../../../../source/lrc.c
Borland C++ 4.52 Copyright (c) 1987, 1994 Borland International
../../../../source/lrc.c:
Compiling ../../../../source/c_des.c
"C:\Bc45\bin\bcc" +c.opt -c -oc_des.obj ../../../../source/c_des.c
Borland C++ 4.52 Copyright (c) 1987, 1994 Borland International
../../../../source/c_des.c:
Error: Unable to execute command 'tasm.exe'
WARNING : root.compile : XXXXXXXXXXXXXXXXXXXX
WARNING : root.compile : MODULE FAILED
WARNING : root.compile : XXXXXXXXXXXXXXXXXXXX
I have already checked:
when I execute it within Borland and with directly ASM files, it's OK
Flags and Options : -1- -d -ml -w -f- -x- -v -R- -vi -P -RT- -DMAGIC510
-DCADHEX -D4WIRES -DCAD1 -DAGP_2 -DTERM_TYPE=1
Generating OPT C Options File
Generating OPT ASM Options File
Assembling ../../../../source/bcpp31.asm
Turbo Assembler Version 4.1 Copyright (c) 1988, 1996 Borland International
Assembling file: ..\..\..\..\source\bcpp31.asm
Assembling for the large memory model
Paradigm LOCATE Borland C++ 3.10 Startup Support
*Warning* ..\..\..\..\source\bcpp31.asm(657) Module is pass dependent - com
patibility pass was done
Error messages: None
Warning messages: 1
Passes: 2
Remaining memory: 391k
Compiling ../../../../source/bcpprtl.asm
Turbo Assembler Version 4.1 Copyright (c) 1988, 1996 Borland International
Assembling file: ..\..\..\..\source\bcpprtl.asm
Assembling for the large memory model
*Warning* ..\..\..\..\source\bcpprtl.asm(142) Module is pass dependent - compati
bility pass was done
Error messages: None
Warning messages: 1
Passes: 2
Remaining memory: 398k
Build complete bcpp31.obj bcpprtl.obj are up-to-date
And, it worked fine in an other computer with the same OS (Seven Entreprise SP 1).
If you have other any ideas, I shall be grateful.
Thanks
Upvotes: 3
Views: 1579
Reputation: 21
Check if the path to Borland in PATH is within first few (128) characters, if not move it to beginning. Check if there is no other tasm.exe than Borland in your PATH.
Upvotes: 2