dtorkin

Untitled

May 18th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ make
  2. Compiling uvm/uvm_main.c...
  3. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_main.o uvm/uvm_main.c
  4. uvm/uvm_main.c: In function ‘main’:
  5. uvm/uvm_main.c:364:20: error: ‘i’ undeclared (first use in this function)
  6. 364 | i, current_status_for_action_sm, uvm_stage_to_string(stage_for_action_sm), is_waiting_for_response_sm);
  7. | ^
  8. uvm/uvm_main.c:364:20: note: each undeclared identifier is reported only once for each function it appears in
  9. uvm/uvm_main.c:364:23: error: ‘current_status_for_action_sm’ undeclared (first use in this function)
  10. 364 | i, current_status_for_action_sm, uvm_stage_to_string(stage_for_action_sm), is_waiting_for_response_sm);
  11. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. uvm/uvm_main.c:364:73: error: ‘stage_for_action_sm’ undeclared (first use in this function)
  13. 364 | i, current_status_for_action_sm, uvm_stage_to_string(stage_for_action_sm), is_waiting_for_response_sm);
  14. | ^~~~~~~~~~~~~~~~~~~
  15.  
  16. uvm/uvm_main.c:364:95: error: ‘is_waiting_for_response_sm’ undeclared (first use in this function)
  17. 364 | status_for_action_sm, uvm_stage_to_string(stage_for_action_sm), is_waiting_for_response_sm);
  18. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  19.  
  20. uvm/uvm_main.c:544:28: warning: variable ‘assigned_lak_for_log_recv’ set but not used [-Wunused-but-set-variable]
  21. 544 | LogicalAddress assigned_lak_for_log_recv = 0; // LAK для лога UVM
  22. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  23. uvm/uvm_main.c:1115:28: warning: variable ‘status_before_ka_check’ set but not used [-Wunused-but-set-variable]
  24. 1115 | UvmLinkStatus status_before_ka_check = UVM_LINK_INACTIVE;
  25. | ^~~~~~~~~~~~~~~~~~~~~~
  26. uvm/uvm_main.c:1178:17: warning: implicit declaration of function ‘pthread_timedjoin_np’ [-Wimplicit-function-declaration]
  27. 1178 | if (pthread_timedjoin_np(svm_links[i].receiver_tid, NULL, &join_timeout) == ETIMEDOUT) {
  28. | ^~~~~~~~~~~~~~~~~~~~
  29. make: *** [Makefile:43: uvm/uvm_main.o] Ошибка 1
  30.  
Advertisement
Add Comment
Please, Sign In to add comment