Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
569 Discussions

When I try to makefile the following error was generated. How can fixed this problem?

GTese
Novice
1,038 Views

arm-linux-gnueabihf-g++  ./host/main.o ../common/ocl_util.o ../common/timer.o -o run.exe -L/home/guta/intelFPGA/18.1/hld/board/c5soc/arm32/lib -L/home/guta/intelFPGA/18.1/hld/host/arm32/lib -L/home/guta/intelFPGA/18.1/hld/host/linux64/lib -Wl,--no-as-needed -lalteracl -lintel_soc32_mmd -lstdc++ -lelf 

../common/ocl_util.o: file not recognized: File format not recognized

collect2: error: ld returned 1 exit status

Makefile:151: recipe for target 'run.exe' failed

make: *** [run.exe] Error 1

 

0 Kudos
2 Replies
FawazJ_Altera
Employee
926 Views

Hello,

Can you elaborate more what are you trying to generate?

Which quartus version? OS ?

 

Thank you

0 Kudos
GTese
Novice
926 Views

Thank You!

To compiling the host programming after compiling the kernel code. It means that after generating hardware configuration (.aoco and .aocx) to link the host code.

I used the quartus standard version 18.1. The OS i used is desktop Ubuntu version 18.04.

0 Kudos
Reply