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

Build the static hwloc lib help me #8

Open
JieSinTime opened this issue Mar 25, 2022 · 1 comment
Open

Build the static hwloc lib help me #8

JieSinTime opened this issue Mar 25, 2022 · 1 comment

Comments

@JieSinTime
Copy link

[ 85%] Building CXX object CMakeFiles/randomx-codegen.dir/src/tests/code-generator.cpp.o
[ 85%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/benchmark.cpp.o
[ 88%] Linking CXX executable randomx-codegen
[ 88%] Built target randomx-codegen
Scanning dependencies of target randomx-tests
[ 91%] Building CXX object CMakeFiles/randomx-tests.dir/src/tests/tests.cpp.o
[ 94%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/affinity.cpp.o
[ 97%] Linking CXX executable randomx-benchmark
[ 97%] Built target randomx-benchmark
[100%] Linking CXX executable randomx-tests
[100%] Built target randomx-tests
github.com/maoxs2/gxminer/go-hwloc

github.com/maoxs2/gxminer/go-hwloc

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(topology-linux.o): in function hwloc_linux_component_instantiate': (.text+0x8a1): undefined reference to udev_new'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(topology-linux.o): in function hwloc_linux_backend_disable': (.text+0x8eb): undefined reference to udev_unref'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(topology-linux.o): in function hwloc_linuxfs_block_class_fillinfos.isra.0': (.text+0x5185): undefined reference to udev_device_new_from_subsystem_sysname'
/usr/bin/ld: (.text+0x51a5): undefined reference to udev_device_get_property_value' /usr/bin/ld: (.text+0x51ce): undefined reference to udev_device_get_property_value'
/usr/bin/ld: (.text+0x51fc): undefined reference to udev_device_get_property_value' /usr/bin/ld: (.text+0x522d): undefined reference to udev_device_get_property_value'
/usr/bin/ld: (.text+0x5266): undefined reference to udev_device_get_property_value' /usr/bin/ld: (.text+0x528b): undefined reference to udev_device_unref'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(components.o): in function hwloc__dlforeach_cb': (.text+0xa4): undefined reference to lt_dlopenext'
/usr/bin/ld: (.text+0x12e): undefined reference to lt_dlsym' /usr/bin/ld: (.text+0x15a): undefined reference to lt_dlclose'
/usr/bin/ld: (.text+0x19f): undefined reference to lt_dlerror' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(components.o): in function hwloc_plugins_exit':
(.text+0x48c): undefined reference to lt_dlclose' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(components.o): in function hwloc_components_init':
(.text+0xbe8): undefined reference to lt_dlinit' /usr/bin/ld: (.text+0xc33): undefined reference to lt_dlforeachfile'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libhwloc.a(components.o): in function hwloc_plugins_exit': (.text+0x4c1): undefined reference to lt_dlexit'
collect2: error: ld returned 1 exit status
@c0mm4nd

@c0mm4nd
Copy link
Owner

c0mm4nd commented Mar 27, 2022

seems lacking libudev and libltdl

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