Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TTwom
Novice
187 Views

Linking error for clGetBoardExtensionFunctionAddressIntelFPGA on Devcloud

Jump to solution

I am trying to modify and get the host pipes example to run on devcloud, specifically an Arria 10 1.2.1 node.

As prescribed in the programming guide I am using the clGetBoardExtensionFunctionAddressIntelFPGA function to find the map and unmap functions. I have included the header "CL/cl_ext_intelfpga.h' and it compiles, but fails during linking.

 

The exact error is:

main.cpp:(.text.startup+0x50e): undefined reference to `clGetBoardExtensionFunctionAddressIntelFPGA'

main.cpp:(.text.startup+0x52b): undefined reference to `clGetBoardExtensionFunctionAddressIntelFPGA'

collect2: error: ld returned 1 exit status

 

Is there another file I need to link to beyond what is returned by aocl link-config or is there possibly a BSP issue?

 

Thanks for the help.

0 Kudos
1 Solution
TTwom
Novice
160 Views

It seems my error was not using the ICD as described at the end of section 6.4.

View solution in original post

2 Replies
TTwom
Novice
161 Views

It seems my error was not using the ICD as described at the end of section 6.4.

View solution in original post

KennyT_Intel
Moderator
160 Views

Good to hear that it had been resolve.

Reply