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

Compilation fails using hello_world code for FPGAs in OpenCL using Intel DevCloud

sebernab
Beginner
153 Views

Hello,

 

I am compiling a simple code (hello_world) for FPGAs in OpenCL and using the Intel DevCloud. I am obtaining the following problems:

 

u137195@s001-n063:~/opencl_hello_world/hello_world$ make

/usr/bin/ld: warning: libMPF.so, needed by /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so, not found (try using -rpath or -rpath-link)

/usr/bin/ld: warning: libopae-c.so.1, needed by /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so, not found (try using -rpath or -rpath-link)

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaMapMMIO'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaOpen'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetGUID'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaErrStr'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaUnmapMMIO'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaGetProperties'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaRegisterEvent'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaCreateEventHandle'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaWriteMMIO32'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpPrepareBuffer'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesGetBus'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesGetFunction'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetFunction'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpGetStats'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaDestroyEventHandle'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesGetDevice'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesGetObjectID'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaReadMMIO32'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaReconfigureSlot'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaGetOSObjectFromEventHandle'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetBus'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaReset'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaReleaseBuffer'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetObjectType'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaDestroyToken'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaGetIOAddress'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaReadMMIO64'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaWriteMMIO64'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaEnumerate'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetDevice'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpReleaseBuffer'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaClose'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetObjectID'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaUnregisterEvent'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpPinAndGetIOAddressVec'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesGetGUID'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpGetIOAddress'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfConnect'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaDestroyProperties'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPrepareBuffer'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `fpgaPropertiesSetSocketID'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpBufferAllocate'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfVtpBufferFree'

/usr/bin/ld: /glob/development-tools/versions/oneapi/2022.1.2/oneapi/intelfpgadpcpp/2022.1.0/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: undefined reference to `mpfDisconnect'

collect2: error: ld returned 1 exit status

make: *** [Makefile:74: bin/host] Error 1

 

How can it solve the previous problem?

Thanks in advance.

0 Kudos
0 Replies
Reply