Forum Discussion
Unable to run make file on ALtera SOC EDS
Im not able to complite the makefile and main.c file to make a executable file, I'm trying to execute the project on DE1soc hps linux, Im trying compile my_first_hps project.
$ ls
main.c Makefile
girid@LAPTOP-T0N0O46H ~/OneDrive/Documents/3875/my_first_hps
$ make
arm-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/soc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/ -c main.c -o main.o
process_begin: CreateProcess(NULL, arm-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/soc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/ -c main.c -o main.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.o] Error 2
girid@LAPTOP-T0N0O46H ~/OneDrive/Documents/3875/my_first_hps
$ echo $SOCEDS_DEST_ROOT
C:/intelFPGA/20.1/embedded
girid@LAPTOP-T0N0O46H ~/OneDrive/Documents/3875/my_first_hps
$ make
arm-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/soc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/ -c main.c -o main.o
process_begin: CreateProcess(NULL, arm-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/soc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/ -c main.c -o main.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.o] Error 2
girid@LAPTOP-T0N0O46H ~/OneDrive/Documents/3875/my_first_hps
$
Make file:
6 Replies
- Jeet14
Frequent Contributor
As we do not receive any response from you on the previous question/reply/answer that we have provided. 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.
- GirideshSekar
New Contributor
Greeting, thankyou for your reply. i installed the arm -gnueabihf from the internet to make it work. This folder was not part of installation and linux based executions required this . thanks
- Jeet14
Frequent Contributor
Hi,
Let me know if you have any further question on this.
Regards
Tiwari
- Jeet14
Frequent Contributor
Hi,
Please follow the steps given for SoCEDS and ARM DS installation.
https://www.rocketboards.org/foswiki/Documentation/SoCEDS
Once installation is done then you can start an Embedded Command Shell by going to
For 20.1 Pro: Start menu > Intel FPGA 20.1 Pro Edition > SoC EDS Command Shell.
For 20.1 Std: Start menu > Intel FPGA 20.1 > SoC EDS Command Shell.
Create the helloworld example from the given example templates. This will compile and generate the .axf or .elf file of helloworld application.
Regards
Tiwari
- GirideshSekar
New Contributor
Hello, this is a bit urgent, can someone help me with this, this might be crucial going forward into the project I'm currently working on. Thanks and I appreciate any help provided.
- BXia
Occasional Contributor
Based on my experience, you'd better to reinstall the soc eds software, you need to install the ds-5 software together after installing the soc eds. And the version of soc eds should be same to Quartus.