Re: LongJump.iii and Nasm.inc


Liming Gao
 

Please run edksetup with Reconfig to update local build_rule.txt. This requires to update nasm build rule.

For example:
edksetup.bat Reconfig

Thanks
Liming

-----Original Message-----
From: discuss@edk2.groups.io [mailto:discuss@edk2.groups.io] On Behalf Of Tim Lewis
Sent: Saturday, July 20, 2019 2:48 AM
To: discuss@edk2.groups.io
Subject: [edk2-discuss] LongJump.iii and Nasm.inc

Folks -



I give up. If I do a clean install of EDK2 and put NASM in C:\Program
Files\Nasm (in Windows) and do :



set WORKSPACE=C:\Isi\Edk2Shell

set NASM_PREFIX=C:\Program Files\Nasm

edksetup



and do a build, I get

c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.iii:16: fatal: unable to open include file
`Nasm.inc'



When I look at the makefile I see that the necessary include directory
c:\isi\edk2shell\MdePkg\Include\Ia32 is not in specified.



There is no Conf directory or Build directory when I start this build.



Any thoughts



Thanks,

Tim



Directory of C:\ISI\EDK2Shell\MdePkg\Include\Ia32



07/18/2019 04:08 PM 570 Nasm.inc

1 File(s) 570 bytes



Directory of C:\ISI\EDK2Shell\MdePkg\Include\X64



07/18/2019 04:08 PM 582 Nasm.inc

1 File(s) 582 bytes



$(OUTPUT_DIR)\Ia32\LongJump.obj : $(MAKE_FILE)

$(OUTPUT_DIR)\Ia32\LongJump.obj : $(WORKSPACE)\MdePkg\Include\Base.h

$(OUTPUT_DIR)\Ia32\LongJump.obj : $(DEBUG_DIR)\AutoGen.h

$(OUTPUT_DIR)\Ia32\LongJump.obj :
$(WORKSPACE)\MdePkg\Include\Ia32\ProcessorBind.h

$(OUTPUT_DIR)\Ia32\LongJump.obj :
$(WORKSPACE)\MdePkg\Include\Library\PcdLib.h

$(OUTPUT_DIR)\Ia32\LongJump.obj :
$(WORKSPACE)\MdePkg\Library\BaseLib\Ia32\LongJump.nasm

"$(PP)" $(PP_FLAGS) $(INC)
c:\isi\edk2shell\MdePkg\Library\BaseLib\Ia32\LongJump.nasm >
c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.i

Trim --trim-long --source-code -o
c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.iii
c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.i

"$(NASM)" -Ic:\isi\edk2shell\MdePkg\Library\BaseLib\Ia32\
$(NASM_INC) $(NASM_FLAGS) -o
c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.obj
c:\isi\edk2shell\Build\EmulatorIA32\DEBUG_VS2015x86\IA32\MdePkg\Library\Base
Lib\BaseLib\OUTPUT\Ia32\LongJump.iii


Join {discuss@edk2.groups.io to automatically receive all group messages.