Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
663 Discussions

Linking error for clGetBoardExtensionFunctionAddressIntelFPGA on Devcloud

TTwom
Novice
792 Views

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
765 Views

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

View solution in original post

0 Kudos
2 Replies
TTwom
Novice
766 Views

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

0 Kudos
Kenny_Tan
Moderator
765 Views

Good to hear that it had been resolve.

0 Kudos
Reply