Community
cancel
Showing results for 
Search instead for 
Did you mean: 
GTese
New Contributor I
189 Views

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

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
Fawaz_J_Intel
Employee
77 Views

Hello,

Can you elaborate more what are you trying to generate?

Which quartus version? OS ?

 

Thank you

GTese
New Contributor I
77 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.

Reply