Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
527 Discussions

Linking error for clGetBoardExtensionFunctionAddressIntelFPGA on Devcloud

TTwom
Novice
344 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
317 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
318 Views

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

Kenny_Tan
Moderator
317 Views

Good to hear that it had been resolve.

Reply