Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XRT build.sh fails on xocl using ubuntu 22.04 kernel ver 6.5 #8093

Open
dirksavage88 opened this issue Apr 22, 2024 · 6 comments
Open

XRT build.sh fails on xocl using ubuntu 22.04 kernel ver 6.5 #8093

dirksavage88 opened this issue Apr 22, 2024 · 6 comments

Comments

@dirksavage88
Copy link

Similar output to #7806. I set the XILINX_VITIS environment variable to the Vitis install directory.

debug.txt

@dirksavage88
Copy link
Author

Building with the master version of XRT fails with this error:
/usr/bin/ld: cannot find -ludev: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [runtime_src/core/pcie/tools/cloud-daemon/CMakeFiles/mpd.dir/build.make:148: runtime_src/core/pcie/tools/cloud-daemon/mpd] Error 1 make[1]: *** [CMakeFiles/Makefile2:2591: runtime_src/core/pcie/tools/cloud-daemon/CMakeFiles/mpd.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

@keryell
Copy link
Member

keryell commented Apr 23, 2024

Please use the latest XRT.

@dirksavage88
Copy link
Author

dirksavage88 commented Apr 24, 2024

Same error using the latest XRT (master) AND I ran xrtdeps.sh

  1. libudev is showing installed:

Reading package lists... Done Building dependency tree... Done Reading state information... Done libudev-dev is already the newest version (249.11-0ubuntu3.12). 0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.

  1. Path variable:

echo $PATH /home/papadrew/tools/Xilinx/Vitis_HLS/2022.1/bin:/home/papadrew/tools/Xilinx/Vivado/2022.1/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/microblaze/lin/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/arm/lin/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/microblaze/linux_toolchain/lin64_le/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/aarch64/lin/aarch64-linux/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/aarch64/lin/aarch64-none/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/papadrew/tools/Xilinx/Vitis/2022.1/aietools/bin:/opt/gcc-arm-none-eabi-9-2020-q2-update/bin:/opt/ros/humble/bin:/home/papadrew/.sdkman/candidates/gradle/current/bin:/opt/gcc-arm-none-eabi-7-2017-q4-major/bin:/opt/gcc-arm-none-eabi-9-2020-q2-update/bin:/home/papadrew/.local/bin:/home/papadrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

  1. kernel:

6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 15 10:51:06 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

@dirksavage88 dirksavage88 changed the title XRT 2022.1/2022.2 build.sh fails on xocl using ubuntu 22.04 kernel ver 6.5 XRT build.sh fails on xocl using ubuntu 22.04 kernel ver 6.5 Apr 24, 2024
@keryell
Copy link
Member

keryell commented Apr 24, 2024

Curious.
"57 not upgraded" is strange. Perhaps an apt update && apt upgrade too?
It looks like your PATH is overly complicated. You might pick an old compiler or linker, for example.
I consider sourcing any Vitis-related configuration files will break the environment for anything non-Vitis related. ;-)
Could you try the recipe I use on an Ubuntu 22.04 machine:
https://github.com/triSYCL/sycl/blob/sycl/unified/next/sycl/doc/AMDGettingStartedFPGA.md#Installing-the-AMD-XRT-runtime
?
There is only 1 variable to setup to pick a Microblaze compiler to generate the firmware.

@keryell
Copy link
Member

keryell commented Apr 24, 2024

To be clearer, try with a clean environment, with just standard minimal Linux PATH.

@dirksavage88
Copy link
Author

dirksavage88 commented May 26, 2024

Clean PATH and still not finding libudev @keryell. I am wondering if either my kernel is un-supported or perhaps I have too many embedded toolchains with conflicting package versions on my system.

make package
Consolidate compiler generated dependencies of target core_common_xdp_profile_objects
[  0%] Built target core_common_xdp_profile_objects
Consolidate compiler generated dependencies of target core_common_library_objects
[  3%] Built target core_common_library_objects
Consolidate compiler generated dependencies of target core_common_api_library_objects
[  6%] Built target core_common_api_library_objects
[  6%] Built target xrt_coreutil
Consolidate compiler generated dependencies of target xocl
[ 24%] Built target xocl
[ 24%] Building CXX object runtime_src/xrt/CMakeFiles/xrt++.dir/device/device.cpp.o
[ 24%] Building CXX object runtime_src/xrt/CMakeFiles/xrt++.dir/device/hal.cpp.o
[ 24%] Building CXX object runtime_src/xrt/CMakeFiles/xrt++.dir/device/hal2.cpp.o
[ 24%] Building CXX object runtime_src/xrt/CMakeFiles/xrt++.dir/xrt++/xrtexec.cpp.o
[ 24%] Linking CXX shared library libxrt++.so
[ 24%] Built target xrt++
[ 24%] Linking CXX shared library libxilinxopencl.so
[ 24%] Built target xilinxopencl
[ 24%] Building CXX object runtime_src/xdp/appdebug/CMakeFiles/xdp_appdebug_plugin.dir/appdebug.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/object.h:7,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebug.h:26,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebug.cpp:27:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 24%] Building CXX object runtime_src/xdp/appdebug/CMakeFiles/xdp_appdebug_plugin.dir/appdebug_plugin.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/object.h:7,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/platform.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebug_plugin.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebug_plugin.cpp:17:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 24%] Building CXX object runtime_src/xdp/appdebug/CMakeFiles/xdp_appdebug_plugin.dir/appdebugmanager.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/object.h:7,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/platform.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebugmanager.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/appdebug/appdebugmanager.cpp:17:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 25%] Linking CXX shared module libxdp_appdebug_plugin.so
[ 25%] Built target xdp_appdebug_plugin
[ 25%] Building CXX object runtime_src/xdp/debug/CMakeFiles/xdp_debug_plugin.dir/debug_plugin.cpp.o
[ 25%] Building CXX object runtime_src/xdp/debug/CMakeFiles/xdp_debug_plugin.dir/kernel_debug_manager.cpp.o
[ 25%] Linking CXX shared module libxdp_debug_plugin.so
[ 25%] Built target xdp_debug_plugin
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/database.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_event_database.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_info/aie_db.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_info/dependency_manager.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_info/host_db.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_info/pl_db.cpp.o
[ 25%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/dynamic_info/string_table.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/creator/aie_trace_data_logger.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/device_events.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/hal_api_calls.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/native_events.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/opencl_api_calls.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/opencl_host_events.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/user_events.cpp.o
[ 26%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/events/vtf_event.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/aie_util.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/device_info.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/filetypes/aie_control_config_filetype.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/filetypes/aie_trace_config_filetype.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/pl_constructs.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info/xclbin_info.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/static_info_database.cpp.o
[ 27%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/database/statistics_database.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/add.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/aieTraceS2MM.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/aim.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/am.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/asm.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/device_intf.cpp.o
[ 28%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/device_trace_logger.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/device_trace_offload.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_add.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_aieTraceS2MM.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_aim.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_am.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_asm.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_traceFifoFull.cpp.o
[ 29%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_traceFifoLite.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_traceFunnel.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/ioctl_monitors/ioctl_traceS2MM.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_add.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_aieTraceS2MM.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_aim.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_am.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_asm.cpp.o
[ 30%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_traceFifoFull.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_traceFifoLite.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_traceFunnel.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/mmapped_monitors/mmapped_traceS2MM.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/noc.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/profile_ip_access.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/traceFifoFull.cpp.o
[ 31%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/traceFifoLite.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/traceFunnel.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/traceS2MM.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/device/utility.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/plugin/vp_base/utility.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/plugin/vp_base/vp_base_plugin.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/BinaryDataHeader.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/BinaryDataWriter.cpp.o
[ 32%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/IBinaryDataEvent.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/IBinaryDataWriter.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/guidance_rules.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/ini_parameters.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/summary_writer.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/vp_run_summary.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/vp_summary_writer.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/vp_trace_writer.cpp.o
[ 33%] Building CXX object runtime_src/xdp/profile/CMakeFiles/xdp_core.dir/writer/vp_base/vp_writer.cpp.o
[ 34%] Linking CXX shared library libxdp_core.so
[ 34%] Built target xdp_core
[ 34%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/opencl/CMakeFiles/xdp_device_offload_plugin.dir/__/device_offload_plugin.cpp.o
[ 34%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/opencl/CMakeFiles/xdp_device_offload_plugin.dir/opencl_device_info_cb.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/object.h:7,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/platform.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/profile/plugin/device_offload/opencl/opencl_device_info_cb.cpp:20:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 34%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/opencl/CMakeFiles/xdp_device_offload_plugin.dir/opencl_device_info_plugin.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/config.h:41,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/device.h:19,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/profile/plugin/device_offload/opencl/opencl_device_info_plugin.cpp:28:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 35%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/opencl/CMakeFiles/xdp_device_offload_plugin.dir/__/__/__/writer/device_trace/device_trace_writer.cpp.o
[ 35%] Linking CXX shared module libxdp_device_offload_plugin.so
[ 35%] Built target xdp_device_offload_plugin
Consolidate compiler generated dependencies of target core_pcielinux_plugin_xdp_objects
[ 37%] Built target core_pcielinux_plugin_xdp_objects
Consolidate compiler generated dependencies of target core_common_objects
[ 37%] Built target core_common_objects
Consolidate compiler generated dependencies of target core_pciecommon_objects
[ 37%] Built target core_pciecommon_objects
Consolidate compiler generated dependencies of target core_pcielinux_objects
[ 38%] Built target core_pcielinux_objects
[ 38%] Linking CXX shared library libxrt_core.so
[ 38%] Built target xrt_core
[ 38%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hal/CMakeFiles/xdp_hal_device_offload_plugin.dir/__/__/__/device/hal_device/xdp_hal_device.cpp.o
[ 38%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hal/CMakeFiles/xdp_hal_device_offload_plugin.dir/__/device_offload_plugin.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hal/CMakeFiles/xdp_hal_device_offload_plugin.dir/hal_device_offload_cb.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hal/CMakeFiles/xdp_hal_device_offload_plugin.dir/hal_device_offload_plugin.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hal/CMakeFiles/xdp_hal_device_offload_plugin.dir/__/__/__/writer/device_trace/device_trace_writer.cpp.o
[ 39%] Linking CXX shared module libxdp_hal_device_offload_plugin.so
[ 39%] Built target xdp_hal_device_offload_plugin
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal/CMakeFiles/xdp_hal_plugin.dir/hal_plugin.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal/CMakeFiles/xdp_hal_plugin.dir/xdp_hal_plugin.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal/CMakeFiles/xdp_hal_plugin.dir/__/__/writer/hal/hal_host_trace_writer.cpp.o
[ 39%] Linking CXX shared module libxdp_hal_plugin.so
[ 39%] Built target xdp_hal_plugin
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal_api_interface/CMakeFiles/xdp_hal_api_interface_plugin.dir/__/__/device/hal_device/xdp_hal_device.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal_api_interface/CMakeFiles/xdp_hal_api_interface_plugin.dir/xdp_api_interface.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/hal_api_interface/CMakeFiles/xdp_hal_api_interface_plugin.dir/xdp_api_interface_plugin.cpp.o
[ 39%] Linking CXX shared module libxdp_hal_api_interface_plugin.so
[ 39%] Built target xdp_hal_api_interface_plugin
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/lop/CMakeFiles/xdp_lop_plugin.dir/lop_cb.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/lop/CMakeFiles/xdp_lop_plugin.dir/lop_plugin.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/lop/CMakeFiles/xdp_lop_plugin.dir/__/__/writer/lop/low_overhead_trace_writer.cpp.o
[ 39%] Linking CXX shared module libxdp_lop_plugin.so
[ 39%] Built target xdp_lop_plugin
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/native/CMakeFiles/xdp_native_plugin.dir/native_cb.cpp.o
[ 39%] Building CXX object runtime_src/xdp/profile/plugin/native/CMakeFiles/xdp_native_plugin.dir/native_plugin.cpp.o
[ 40%] Building CXX object runtime_src/xdp/profile/plugin/native/CMakeFiles/xdp_native_plugin.dir/__/__/writer/native/native_writer.cpp.o
[ 40%] Linking CXX shared module libxdp_native_plugin.so
[ 40%] Built target xdp_native_plugin
[ 40%] Building CXX object runtime_src/xdp/profile/plugin/opencl/counters/CMakeFiles/xdp_opencl_counters_plugin.dir/opencl_counters_cb.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/config.h:41,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/device.h:19,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/profile/plugin/opencl/counters/opencl_counters_plugin.h:20,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/profile/plugin/opencl/counters/opencl_counters_cb.cpp:28:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 40%] Building CXX object runtime_src/xdp/profile/plugin/opencl/counters/CMakeFiles/xdp_opencl_counters_plugin.dir/opencl_counters_plugin.cpp.o
In file included from /usr/include/ocl_icd.h:46,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/api/icd/ocl_icd_bindings.h:28,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/config.h:41,
                 from /home/papadrew/tools/XRT/src/runtime_src/xocl/core/device.h:19,
                 from /home/papadrew/tools/XRT/src/runtime_src/xdp/profile/plugin/opencl/counters/opencl_counters_plugin.cpp:22:
/usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.’
   18 | OpenGL-related extensions have been moved into cl_gl.h.  Please include cl_gl.h directly.")
      |                                                                                           ^

[ 41%] Linking CXX shared module libxdp_opencl_counters_plugin.so
[ 41%] Built target xdp_opencl_counters_plugin
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/opencl/trace/CMakeFiles/xdp_opencl_trace_plugin.dir/opencl_trace_cb.cpp.o
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/opencl/trace/CMakeFiles/xdp_opencl_trace_plugin.dir/opencl_trace_plugin.cpp.o
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/opencl/trace/CMakeFiles/xdp_opencl_trace_plugin.dir/__/__/__/writer/opencl/opencl_trace_writer.cpp.o
[ 41%] Linking CXX shared module libxdp_opencl_trace_plugin.so
[ 41%] Built target xdp_opencl_trace_plugin
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_pl_deadlock_plugin.dir/__/__/device/hal_device/xdp_hal_device.cpp.o
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_pl_deadlock_plugin.dir/pl_deadlock_cb.cpp.o
[ 41%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_pl_deadlock_plugin.dir/pl_deadlock_plugin.cpp.o
[ 42%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_pl_deadlock_plugin.dir/__/__/writer/pl_deadlock/pl_deadlock.cpp.o
[ 42%] Linking CXX shared module libxdp_pl_deadlock_plugin.so
[ 42%] Built target xdp_pl_deadlock_plugin
[ 42%] Built target pcie_emulation_generated_code
Consolidate compiler generated dependencies of target hw_emu_objects
[ 44%] Built target hw_emu_objects
Consolidate compiler generated dependencies of target common_em_objects
[ 45%] Built target common_em_objects
[ 45%] Linking CXX static library libcommon_em.a
[ 45%] Built target common_em
[ 46%] Linking CXX shared library libxrt_hwemu.so
[ 46%] Built target xrt_hwemu
[ 46%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_hw_emu_pl_deadlock_plugin.dir/hw_emu/hw_emu_pl_deadlock_cb.cpp.o
[ 46%] Building CXX object runtime_src/xdp/profile/plugin/pl_deadlock/CMakeFiles/xdp_hw_emu_pl_deadlock_plugin.dir/hw_emu/hw_emu_pl_deadlock_plugin.cpp.o
[ 47%] Linking CXX shared module libxdp_hw_emu_pl_deadlock_plugin.so
[ 47%] Built target xdp_hw_emu_pl_deadlock_plugin
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/user/CMakeFiles/xdp_user_plugin.dir/user_cb.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/user/CMakeFiles/xdp_user_plugin.dir/user_plugin.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/user/CMakeFiles/xdp_user_plugin.dir/__/__/writer/user/user_events_trace_writer.cpp.o
[ 47%] Linking CXX shared module libxdp_user_plugin.so
[ 47%] Built target xdp_user_plugin
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/aie_profile/CMakeFiles/xdp_aie_profile_plugin.dir/aie_profile_cb.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/aie_profile/CMakeFiles/xdp_aie_profile_plugin.dir/aie_profile_metadata.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/aie_profile/CMakeFiles/xdp_aie_profile_plugin.dir/aie_profile_plugin.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/aie_profile/CMakeFiles/xdp_aie_profile_plugin.dir/x86/aie_profile.cpp.o
[ 47%] Building CXX object runtime_src/xdp/profile/plugin/aie_profile/CMakeFiles/xdp_aie_profile_plugin.dir/__/__/writer/aie_profile/aie_writer.cpp.o
[ 48%] Linking CXX shared module libxdp_aie_profile_plugin.so
[ 48%] Built target xdp_aie_profile_plugin
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/device/aie_trace/aie_trace_offload.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/device/hal_device/xdp_hal_device.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/aie_trace_cb.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/aie_trace_metadata.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/aie_trace_plugin.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/x86/aie_trace.cpp.o
[ 48%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/writer/aie_trace/AIEEventTimeStamp.cpp.o
[ 49%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/writer/aie_trace/aie_trace_config_writer.cpp.o
[ 49%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/writer/aie_trace/aie_trace_timestamps_writer.cpp.o
[ 49%] Building CXX object runtime_src/xdp/profile/plugin/aie_trace/CMakeFiles/xdp_aie_trace_plugin.dir/__/__/writer/aie_trace/aie_trace_writer.cpp.o
[ 49%] Linking CXX shared module libxdp_aie_trace_plugin.so
[ 49%] Built target xdp_aie_trace_plugin
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeFiles/xdp_hw_emu_device_offload_plugin.dir/__/__/__/device/hal_device/xdp_hal_device.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeFiles/xdp_hw_emu_device_offload_plugin.dir/__/device_offload_plugin.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeFiles/xdp_hw_emu_device_offload_plugin.dir/hw_emu_device_offload_cb.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeFiles/xdp_hw_emu_device_offload_plugin.dir/hw_emu_device_offload_plugin.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeFiles/xdp_hw_emu_device_offload_plugin.dir/__/__/__/writer/device_trace/device_trace_writer.cpp.o
[ 50%] Linking CXX shared module libxdp_hw_emu_device_offload_plugin.so
[ 50%] Built target xdp_hw_emu_device_offload_plugin
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/noc/CMakeFiles/xdp_noc_plugin.dir/noc_cb.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/noc/CMakeFiles/xdp_noc_plugin.dir/noc_plugin.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/noc/CMakeFiles/xdp_noc_plugin.dir/__/__/writer/noc/noc_writer.cpp.o
[ 50%] Linking CXX shared module libxdp_noc_plugin.so
[ 50%] Built target xdp_noc_plugin
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/power/CMakeFiles/xdp_power_plugin.dir/power_cb.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/power/CMakeFiles/xdp_power_plugin.dir/power_plugin.cpp.o
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/power/CMakeFiles/xdp_power_plugin.dir/__/__/writer/power/power_writer.cpp.o
[ 50%] Linking CXX shared module libxdp_power_plugin.so
[ 50%] Built target xdp_power_plugin
[ 50%] Building CXX object runtime_src/xdp/profile/plugin/system_compiler/CMakeFiles/xdp_system_compiler_plugin.dir/system_compiler_cb.cpp.o
[ 51%] Building CXX object runtime_src/xdp/profile/plugin/system_compiler/CMakeFiles/xdp_system_compiler_plugin.dir/system_compiler_plugin.cpp.o
[ 51%] Linking CXX shared module libxdp_system_compiler_plugin.so
[ 51%] Built target xdp_system_compiler_plugin
[ 51%] Building CXX object runtime_src/xdp/profile/plugin/vart/CMakeFiles/xdp_vart_plugin.dir/vart_cb.cpp.o
[ 51%] Building CXX object runtime_src/xdp/profile/plugin/vart/CMakeFiles/xdp_vart_plugin.dir/vart_plugin.cpp.o
[ 52%] Linking CXX shared module libxdp_vart_plugin.so
[ 52%] Built target xdp_vart_plugin
Consolidate compiler generated dependencies of target transformcdo
[ 53%] Built target transformcdo
Consolidate compiler generated dependencies of target xclbinutil
[ 60%] Built target xclbinutil
Consolidate compiler generated dependencies of target xclbintest
[ 68%] Built target xclbintest
[ 68%] Linking CXX static library libxilinxopencl_static.a
[ 68%] Built target xilinxopencl_static
Consolidate compiler generated dependencies of target xrt++_static
[ 69%] Built target xrt++_static
[ 70%] Built target scheduler
[ 70%] Built target ert
Consolidate compiler generated dependencies of target sch_objects
[ 70%] Built target sch_objects
[ 70%] Built target sched_em
Consolidate compiler generated dependencies of target sch_objects_v30
[ 70%] Built target sch_objects_v30
[ 70%] Built target sched_em_v30
Consolidate compiler generated dependencies of target unit_test
[ 70%] Built target unit_test
[ 70%] Built target xrt_coreutil_static
[ 70%] Built target xrt_core_static
Consolidate compiler generated dependencies of target mpd
[ 70%] Linking CXX executable mpd
/usr/bin/ld: cannot find -ludev: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [runtime_src/core/pcie/tools/cloud-daemon/CMakeFiles/mpd.dir/build.make:148: runtime_src/core/pcie/tools/cloud-daemon/mpd] Error 1
make[1]: *** [CMakeFiles/Makefile2:2591: runtime_src/core/pcie/tools/cloud-daemon/CMakeFiles/mpd.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants