Forum Discussion
Help Needed: Error "nios2-elf-as.exe: not found" while Assembling Nios II Program
Hello everyone,
I'm encountering an issue while trying to assemble a Nios II program using the Nios II Command Shell. The specific error message I receive is:
```
nios2-elf-as.exe --gstabs -I "C:/intelFPGA_lite/21.1/nios2eds/components/altera_nios2/sdk/inc/" simple_program.s -o simple_program.s.o
/bin/sh: 1: nios2-elf-as.exe: not found
make: *** [amp.mk:79: simple_program.s.o] Error 127
```
I'm not sure if there's a specific step I'm missing or if there's an issue with my environment setup.
Could someone please guide me on how to resolve this issue? Any suggestions or insights would be greatly appreciated.
Thank you in advance for your help!
8 Replies
- aikeu
Regular Contributor
- csnsssn
New Contributor
Hi Aik Eu,
Thank you for your suggestion.
I ran the Nios II Command Shell as you advised. I have also tried using the older version of the monitor program (version 18.1), and it successfully compiled the program. However, the issue persists with the newer version (21.1), and I'm still encountering the same error.
Any further guidance or suggestions would be greatly appreciated.
Thank you for your help!
- aikeu
Regular Contributor
Hi csnsssn,
May I know any further follow up from the issue?
Thanks.
Regards,
Aik Eu
- csnsssn
New Contributor
Thank you for your help!
I followed your advice, and everything is working fine now. The issue has been resolved. I appreciate your assistance!
- aikeu
Regular Contributor
Hi csnsssn,
Glad to know that the issue has been resolved. I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thanks.
Regards,
Aik Eu
- BCPRAVEEN1234
New Contributor
hello sir i got the same error in my computer also can u resolve the issue sir
nios2-elf-as.exe --gstabs -I "C:/intelFPGA/23.1std/nios2eds/components/altera_nios2/sdk/inc/" simple_program.s -o simple_program.s.o
amp.mk:78: recipe for target 'simple_program.s.o' failed
/bin/sh: 1: nios2-elf-as.exe: not found
make: *** [simple_program.s.o] Error 127i got this error in intel fpga monitor program
i am installed quartus prime 23.1 std version and installed 21.1 intel fpga monitor program because in intel fpga monitor program only two version are available 18.1 and 21.1 so give me clarity that version is supported for quartus 23.1 std version or because of version change only i got this error please give me relpy sir