XMRig compiling error
Compiling error

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x10e9): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1125): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x11fd): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1249): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x12c8): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x12f4): more unde
fined references to `hwloc_bitmap_isset' follow
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1658): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1698): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x173c): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1780): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1794): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x180f): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1823): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1844): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x186c): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1884): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x18a9): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x18d1): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x18e9): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1911): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1929): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1957): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x196f): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.ee
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1a96): undefined
 reference to `hwloc_get_closest_objs'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1cc7): undefined
 reference to `hwloc_bitmap_alloc'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x1cd5): undefined
 reference to `hwloc_bitmap_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x22d4): undefined
 reference to `hwloc_bitmap_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x262c): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x275a): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x2864): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x2908): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x2954): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x2a81): more unde
fined references to `hwloc_bitmap_isset' follow
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x32e1): undefined
 reference to `hwloc_bitmap_alloc'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x32eb): undefined
 reference to `hwloc_bitmap_alloc'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x330c): undefined
 reference to `hwloc_bitmap_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x33c0): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x34f2): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x3509): undefined
 reference to `hwloc_bitmap_andnot'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x35d1): undefined
 reference to `hwloc_bitmap_isset'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: src/crypto/ghostrider/libghostrider.a(ghostrider.cpp.obj):ghostrider.cpp:(.text+0x3829): undefined
 reference to `hwloc_bitmap_free'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmrig.dir/build.make:4082: xmrig.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/xmrig.dir/all] Error 2
make: *** [Makefile:91: all] Error 2