Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> make
- Building ROCm SMI static library...
- 37 were found since previous release
- Package version: 2.8.0.37-local-build-0-00e8b02
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- CMake ROCm SMI (Library)
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- Build Configuration:
- --------Proj Src Dir: /home/cnr07/btop-gpu/lib/rocm_smi_lib
- Package version: 2.8.0.37-local-build-0-00e8b02
- SOVERSION: 2.8
- Doxygen or Latex is not found. Will not generate documents.
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- CMake OAM (Library)
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- Build Configuration:
- --------Proj Src Dir: /home/cnr07/btop-gpu/lib/rocm_smi_lib
- Package version: 2.8.0.37-local-build-0-00e8b02
- fatal: No names found, cannot describe anything.
- SOVERSION: 1.0
- fatal: No names found, cannot describe anything.
- /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: warning: -z noexecheap ignored
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_compute_partitioning(uint32_t)’:
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:603:44: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress]
- 603 | << (((originalComputePartition == nullptr)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:591:8: note: ‘originalComputePartition’ declared here
- 591 | char originalComputePartition[buffer_len];
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:604:47: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress]
- 604 | || ((originalComputePartition != nullptr)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:591:8: note: ‘originalComputePartition’ declared here
- 591 | char originalComputePartition[buffer_len];
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_nps_mode(uint32_t)’:
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:656:35: warning: the address of ‘originalNpsMode’ will never be NULL [-Waddress]
- 656 | << (((originalNpsMode == nullptr)
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:645:8: note: ‘originalNpsMode’ declared here
- 645 | char originalNpsMode[buffer_len];
- | ^~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:657:38: warning: the address of ‘originalNpsMode’ will never be NULL [-Waddress]
- 657 | || ((originalNpsMode != nullptr)
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:645:8: note: ‘originalNpsMode’ declared here
- 645 | char originalNpsMode[buffer_len];
- | ^~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc: In function ‘int main()’:
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:726:47: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress]
- 726 | << (((current_compute_partition == nullptr)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:722:10: note: ‘current_compute_partition’ declared here
- 722 | char current_compute_partition[256];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:727:50: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress]
- 727 | || ((current_compute_partition != nullptr)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:722:10: note: ‘current_compute_partition’ declared here
- 722 | char current_compute_partition[256];
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:742:30: warning: the address of ‘nps_mode’ will never be NULL [-Waddress]
- 742 | << (((nps_mode == nullptr)
- | ~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:738:10: note: ‘nps_mode’ declared here
- 738 | char nps_mode[len];
- | ^~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:743:33: warning: the address of ‘nps_mode’ will never be NULL [-Waddress]
- 743 | || ((nps_mode != nullptr)
- | ~~~~~~~~~^~~~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:738:10: note: ‘nps_mode’ declared here
- 738 | char nps_mode[len];
- | ^~~~~~~~
- /home/cnr07/btop-gpu/lib/rocm_smi_lib/rocm_smi/example/rocm_smi_example.cc:803:49: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘float’ may change value [-Wconversion]
- 803 | std::cout << (static_cast<float>(val_i64)/val_ui64) * 100;
- | ^~~~~~~~
- /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: warning: -z noexecheap ignored
- /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: warning: -z noexecheap ignored
- 100% -> rocm_smi/librocm_smi64.a (18MiB)
- ROCm SMI build complete in (06s)
- Building btop++ (v1.2.13) Linux x86_64
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::init()’:
- src/linux/btop_collect.cpp:1256:25: error: ‘rsmi_status_t’ was not declared in this scope
- 1256 | rsmi_status_t result = rsmi_init(0);
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1257:29: error: ‘result’ was not declared in this scope
- 1257 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~
- src/linux/btop_collect.cpp:1257:39: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1257 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1263:25: error: ‘result’ was not declared in this scope
- 1263 | result = rsmi_num_monitor_devices(&device_count);
- | ^~~~~~
- src/linux/btop_collect.cpp:1263:34: error: ‘rsmi_num_monitor_devices’ was not declared in this scope
- 1263 | result = rsmi_num_monitor_devices(&device_count);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1264:39: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1264 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::shutdown()’:
- src/linux/btop_collect.cpp:1284:21: error: ‘rsmi_shut_down’ was not declared in this scope; did you mean ‘SYS_shutdown’?
- 1284 | if (rsmi_shut_down() == RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~
- | SYS_shutdown
- src/linux/btop_collect.cpp:1284:41: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1284 | if (rsmi_shut_down() == RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::collect(Gpu::gpu_info*)’:
- src/linux/btop_collect.cpp:1297:25: error: ‘rsmi_status_t’ was not declared in this scope
- 1297 | rsmi_status_t result;
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1303:33: error: ‘result’ was not declared in this scope
- 1303 | result = rsmi_dev_name_get(i, name, NVML_DEVICE_NAME_BUFFER_SIZE);
- | ^~~~~~
- src/linux/btop_collect.cpp:1303:42: error: there are no arguments to ‘rsmi_dev_name_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_name_get’ must be available [-fpermissive]
- 1303 | result = rsmi_dev_name_get(i, name, NVML_DEVICE_NAME_BUFFER_SIZE);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1303:42: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- src/linux/btop_collect.cpp:1304:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1304 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1310:42: error: there are no arguments to ‘rsmi_dev_power_cap_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_power_cap_get’ must be available [-fpermissive]
- 1310 | result = rsmi_dev_power_cap_get(i, 0, &max_power);
- | ^~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1311:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1311 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:70: error: ‘RSMI_TEMP_TYPE_EDGE’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:91: error: ‘RSMI_TEMP_MAX’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:42: error: there are no arguments to ‘rsmi_dev_temp_metric_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_temp_metric_get’ must be available [-fpermissive]
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1321:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1321 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1329:41: error: ‘result’ was not declared in this scope
- 1329 | result = rsmi_dev_busy_percent_get(i, &utilization);
- | ^~~~~~
- src/linux/btop_collect.cpp:1329:50: error: there are no arguments to ‘rsmi_dev_busy_percent_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_busy_percent_get’ must be available [-fpermissive]
- 1329 | result = rsmi_dev_busy_percent_get(i, &utilization);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1330:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1330 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1339:41: error: ‘result’ was not declared in this scope
- 1339 | result = rsmi_dev_memory_busy_percent_get(i, &utilization);
- | ^~~~~~
- src/linux/btop_collect.cpp:1339:50: error: there are no arguments to ‘rsmi_dev_memory_busy_percent_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_busy_percent_get’ must be available [-fpermissive]
- 1339 | result = rsmi_dev_memory_busy_percent_get(i, &utilization);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1340:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1340 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1348:41: error: ‘rsmi_frequencies_t’ was not declared in this scope
- 1348 | rsmi_frequencies_t frequencies;
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:41: error: ‘result’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~
- src/linux/btop_collect.cpp:1349:79: error: ‘RSMI_CLK_TYPE_SYS’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:99: error: ‘frequencies’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:50: error: there are no arguments to ‘rsmi_dev_gpu_clk_freq_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_gpu_clk_freq_get’ must be available [-fpermissive]
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1350:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1350 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1357:41: error: ‘rsmi_frequencies_t’ was not declared in this scope
- 1357 | rsmi_frequencies_t frequencies;
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:41: error: ‘result’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~
- src/linux/btop_collect.cpp:1358:79: error: ‘RSMI_CLK_TYPE_MEM’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:99: error: ‘frequencies’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:50: error: there are no arguments to ‘rsmi_dev_gpu_clk_freq_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_gpu_clk_freq_get’ must be available [-fpermissive]
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1359:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1359 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1368:33: error: ‘result’ was not declared in this scope
- 1368 | result = rsmi_dev_power_ave_get(i, 0, &power);
- | ^~~~~~
- src/linux/btop_collect.cpp:1368:42: error: there are no arguments to ‘rsmi_dev_power_ave_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_power_ave_get’ must be available [-fpermissive]
- 1368 | result = rsmi_dev_power_ave_get(i, 0, &power);
- | ^~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1369:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1369 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:41: error: ‘result’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~
- src/linux/btop_collect.cpp:1381:78: error: ‘RSMI_TEMP_TYPE_EDGE’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:99: error: ‘RSMI_TEMP_CURRENT’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:50: error: there are no arguments to ‘rsmi_dev_temp_metric_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_temp_metric_get’ must be available [-fpermissive]
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1382:55: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1382 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1392:41: error: ‘result’ was not declared in this scope
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~
- src/linux/btop_collect.cpp:1392:79: error: ‘RSMI_MEM_TYPE_VRAM’ was not declared in this scope
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1392:50: error: there are no arguments to ‘rsmi_dev_memory_total_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_total_get’ must be available [-fpermissive]
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1393:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1393 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1401:41: error: ‘result’ was not declared in this scope
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~
- src/linux/btop_collect.cpp:1401:79: error: ‘RSMI_MEM_TYPE_VRAM’ was not declared in this scope
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1401:50: error: there are no arguments to ‘rsmi_dev_memory_usage_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_usage_get’ must be available [-fpermissive]
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1402:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1402 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1415:41: error: ‘result’ was not declared in this scope
- 1415 | result = rsmi_dev_pci_throughput_get(i, &tx, &rx, 0);
- | ^~~~~~
- src/linux/btop_collect.cpp:1415:50: error: there are no arguments to ‘rsmi_dev_pci_throughput_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_pci_throughput_get’ must be available [-fpermissive]
- 1415 | result = rsmi_dev_pci_throughput_get(i, &tx, &rx, 0);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1416:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1416 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In instantiation of ‘bool Gpu::Rsmi::collect(Gpu::gpu_info*) [with bool is_init = true]’:
- src/linux/btop_collect.cpp:1276:21: required from here
- src/linux/btop_collect.cpp:1310:64: error: ‘rsmi_dev_power_cap_get’ was not declared in this scope
- 1310 | result = rsmi_dev_power_cap_get(i, 0, &max_power);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:66: error: ‘rsmi_dev_temp_metric_get’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make: *** [Makefile:333: obj/linux/btop_collect.o] Error 1
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> export CXX=g++-11
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> echo $C
- $COLORTERM $COMP_KEY $COMPREPLY $COMP_WORDS $CONDA_PREFIX $CONDA_SHLVL $CSHEDIT
- $COLUMNS $COMP_LINE $COMP_TYPE $CONDA_DEFAULT_ENV $CONDA_PROMPT_MODIFIER $CONFIG_SITE $CXX
- $COMP_CWORD $COMP_POINT $COMP_WORDBREAKS $CONDA_EXE $CONDA_PYTHON_EXE $CPU
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> echo $CPU
- x86_64
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> alias gcc=gcc-11
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> alias g++=g++-11
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> make clean
- Removing: built objects...
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> make
- Building ROCm SMI static library...
- 37 were found since previous release
- Package version: 2.8.0.37-local-build-0-00e8b02
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- CMake ROCm SMI (Library)
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- Build Configuration:
- --------Proj Src Dir: /home/cnr07/btop-gpu/lib/rocm_smi_lib
- Package version: 2.8.0.37-local-build-0-00e8b02
- SOVERSION: 2.8
- Doxygen or Latex is not found. Will not generate documents.
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- CMake OAM (Library)
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- Build Configuration:
- --------Proj Src Dir: /home/cnr07/btop-gpu/lib/rocm_smi_lib
- Package version: 2.8.0.37-local-build-0-00e8b02
- fatal: No names found, cannot describe anything.
- SOVERSION: 1.0
- fatal: No names found, cannot describe anything.
- 100% -> rocm_smi/librocm_smi64.a (18MiB)
- ROCm SMI build complete in (00s)
- Building btop++ (v1.2.13) Linux x86_64
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::init()’:
- src/linux/btop_collect.cpp:1256:25: error: ‘rsmi_status_t’ was not declared in this scope
- 1256 | rsmi_status_t result = rsmi_init(0);
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1257:29: error: ‘result’ was not declared in this scope
- 1257 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~
- src/linux/btop_collect.cpp:1257:39: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1257 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1263:25: error: ‘result’ was not declared in this scope
- 1263 | result = rsmi_num_monitor_devices(&device_count);
- | ^~~~~~
- src/linux/btop_collect.cpp:1263:34: error: ‘rsmi_num_monitor_devices’ was not declared in this scope
- 1263 | result = rsmi_num_monitor_devices(&device_count);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1264:39: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1264 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::shutdown()’:
- src/linux/btop_collect.cpp:1284:21: error: ‘rsmi_shut_down’ was not declared in this scope; did you mean ‘SYS_shutdown’?
- 1284 | if (rsmi_shut_down() == RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~
- | SYS_shutdown
- src/linux/btop_collect.cpp:1284:41: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1284 | if (rsmi_shut_down() == RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In function ‘bool Gpu::Rsmi::collect(Gpu::gpu_info*)’:
- src/linux/btop_collect.cpp:1297:25: error: ‘rsmi_status_t’ was not declared in this scope
- 1297 | rsmi_status_t result;
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1303:33: error: ‘result’ was not declared in this scope
- 1303 | result = rsmi_dev_name_get(i, name, NVML_DEVICE_NAME_BUFFER_SIZE);
- | ^~~~~~
- src/linux/btop_collect.cpp:1303:42: error: there are no arguments to ‘rsmi_dev_name_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_name_get’ must be available [-fpermissive]
- 1303 | result = rsmi_dev_name_get(i, name, NVML_DEVICE_NAME_BUFFER_SIZE);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1303:42: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- src/linux/btop_collect.cpp:1304:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1304 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1310:42: error: there are no arguments to ‘rsmi_dev_power_cap_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_power_cap_get’ must be available [-fpermissive]
- 1310 | result = rsmi_dev_power_cap_get(i, 0, &max_power);
- | ^~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1311:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1311 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:70: error: ‘RSMI_TEMP_TYPE_EDGE’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:91: error: ‘RSMI_TEMP_MAX’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:42: error: there are no arguments to ‘rsmi_dev_temp_metric_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_temp_metric_get’ must be available [-fpermissive]
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1321:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1321 | if (result != RSMI_STATUS_SUCCESS)
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1329:41: error: ‘result’ was not declared in this scope
- 1329 | result = rsmi_dev_busy_percent_get(i, &utilization);
- | ^~~~~~
- src/linux/btop_collect.cpp:1329:50: error: there are no arguments to ‘rsmi_dev_busy_percent_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_busy_percent_get’ must be available [-fpermissive]
- 1329 | result = rsmi_dev_busy_percent_get(i, &utilization);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1330:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1330 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1339:41: error: ‘result’ was not declared in this scope
- 1339 | result = rsmi_dev_memory_busy_percent_get(i, &utilization);
- | ^~~~~~
- src/linux/btop_collect.cpp:1339:50: error: there are no arguments to ‘rsmi_dev_memory_busy_percent_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_busy_percent_get’ must be available [-fpermissive]
- 1339 | result = rsmi_dev_memory_busy_percent_get(i, &utilization);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1340:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1340 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1348:41: error: ‘rsmi_frequencies_t’ was not declared in this scope
- 1348 | rsmi_frequencies_t frequencies;
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:41: error: ‘result’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~
- src/linux/btop_collect.cpp:1349:79: error: ‘RSMI_CLK_TYPE_SYS’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:99: error: ‘frequencies’ was not declared in this scope
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~
- src/linux/btop_collect.cpp:1349:50: error: there are no arguments to ‘rsmi_dev_gpu_clk_freq_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_gpu_clk_freq_get’ must be available [-fpermissive]
- 1349 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_SYS, &frequencies);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1350:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1350 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1357:41: error: ‘rsmi_frequencies_t’ was not declared in this scope
- 1357 | rsmi_frequencies_t frequencies;
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:41: error: ‘result’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~
- src/linux/btop_collect.cpp:1358:79: error: ‘RSMI_CLK_TYPE_MEM’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:99: error: ‘frequencies’ was not declared in this scope
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~
- src/linux/btop_collect.cpp:1358:50: error: there are no arguments to ‘rsmi_dev_gpu_clk_freq_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_gpu_clk_freq_get’ must be available [-fpermissive]
- 1358 | result = rsmi_dev_gpu_clk_freq_get(i, RSMI_CLK_TYPE_MEM, &frequencies);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1359:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1359 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1368:33: error: ‘result’ was not declared in this scope
- 1368 | result = rsmi_dev_power_ave_get(i, 0, &power);
- | ^~~~~~
- src/linux/btop_collect.cpp:1368:42: error: there are no arguments to ‘rsmi_dev_power_ave_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_power_ave_get’ must be available [-fpermissive]
- 1368 | result = rsmi_dev_power_ave_get(i, 0, &power);
- | ^~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1369:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1369 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:41: error: ‘result’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~
- src/linux/btop_collect.cpp:1381:78: error: ‘RSMI_TEMP_TYPE_EDGE’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:99: error: ‘RSMI_TEMP_CURRENT’ was not declared in this scope
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1381:50: error: there are no arguments to ‘rsmi_dev_temp_metric_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_temp_metric_get’ must be available [-fpermissive]
- 1381 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_CURRENT, &temp);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1382:55: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1382 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1392:41: error: ‘result’ was not declared in this scope
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~
- src/linux/btop_collect.cpp:1392:79: error: ‘RSMI_MEM_TYPE_VRAM’ was not declared in this scope
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1392:50: error: there are no arguments to ‘rsmi_dev_memory_total_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_total_get’ must be available [-fpermissive]
- 1392 | result = rsmi_dev_memory_total_get(i, RSMI_MEM_TYPE_VRAM, &total);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1393:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1393 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1401:41: error: ‘result’ was not declared in this scope
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~
- src/linux/btop_collect.cpp:1401:79: error: ‘RSMI_MEM_TYPE_VRAM’ was not declared in this scope
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1401:50: error: there are no arguments to ‘rsmi_dev_memory_usage_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_memory_usage_get’ must be available [-fpermissive]
- 1401 | result = rsmi_dev_memory_usage_get(i, RSMI_MEM_TYPE_VRAM, &used);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1402:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1402 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1415:41: error: ‘result’ was not declared in this scope
- 1415 | result = rsmi_dev_pci_throughput_get(i, &tx, &rx, 0);
- | ^~~~~~
- src/linux/btop_collect.cpp:1415:50: error: there are no arguments to ‘rsmi_dev_pci_throughput_get’ that depend on a template parameter, so a declaration of ‘rsmi_dev_pci_throughput_get’ must be available [-fpermissive]
- 1415 | result = rsmi_dev_pci_throughput_get(i, &tx, &rx, 0);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1416:47: error: ‘RSMI_STATUS_SUCCESS’ was not declared in this scope
- 1416 | if (result != RSMI_STATUS_SUCCESS) {
- | ^~~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp: In instantiation of ‘bool Gpu::Rsmi::collect(Gpu::gpu_info*) [with bool is_init = true]’:
- src/linux/btop_collect.cpp:1276:21: required from here
- src/linux/btop_collect.cpp:1310:64: error: ‘rsmi_dev_power_cap_get’ was not declared in this scope
- 1310 | result = rsmi_dev_power_cap_get(i, 0, &max_power);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- src/linux/btop_collect.cpp:1320:66: error: ‘rsmi_dev_temp_metric_get’ was not declared in this scope
- 1320 | result = rsmi_dev_temp_metric_get(i, RSMI_TEMP_TYPE_EDGE, RSMI_TEMP_MAX, &temp_max);
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make: *** [Makefile:333: obj/linux/btop_collect.o] Error 1
- make: *** Waiting for unfinished jobs....
- 10% -> obj/btop_shared.o (1.7MiB) (03s)
- 20% -> obj/btop_theme.o (1.4MiB) (03s)
- 40% -> obj/btop_input.o (1.4MiB) (03s)
- 40% -> obj/btop_config.o (1.5MiB) (03s)
- 50% -> obj/btop_draw.o (2.5MiB) (04s)
- 70% -> obj/btop_tools.o (2.2MiB) (04s)
- 70% -> obj/btop.o (2.9MiB) (04s)
- 80% -> obj/btop_menu.o (2.0MiB) (04s)
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu> sudo make install
- [sudo] password for root:
- Installing binary to: /usr/local/bin/btop
- cp: cannot stat 'bin/btop': No such file or directory
- chmod: cannot access '/usr/local/bin/btop': No such file or directory
- Installing doc to: /usr/local/share/btop
- Installing themes to: /usr/local/share/btop/themes
- Installing desktop entry to: /usr/local/share/applications/btop.desktop
- Installing PNG icon to: /usr/local/share/icons/hicolor/48x48/apps/btop.png
- Installing SVG icon to: /usr/local/share/icons/hicolor/scalable/apps/btop.svg
- (base) cnr07@opensuse-linux-gpc:~/btop-gpu>
Advertisement
Add Comment
Please, Sign In to add comment