dtorkin

Untitled

May 25th, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ make
  2. Compiling uvm/uvm_utils.c...
  3. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_utils.o uvm/uvm_utils.c
  4. uvm/uvm_utils.c:15:8: error: unknown type name ‘ThreadSafeUvmRespQueue’
  5. 15 | extern ThreadSafeUvmRespQueue *uvm_incoming_response_queue;
  6. | ^~~~~~~~~~~~~~~~~~~~~~
  7. uvm/uvm_utils.c: In function ‘wait_for_specific_response’:
  8. uvm/uvm_utils.c:59:13: warning: implicit declaration of function ‘uvq_dequeue’ [-Wimplicit-function-declaration]
  9. 59 | if (uvq_dequeue(uvm_incoming_response_queue, &current_response_data)) {
  10. | ^~~~~~~~~~~
  11. uvm/uvm_utils.c:82:28: warning: implicit declaration of function ‘get_full_message_number’ [-Wimplicit-function-declaration]
  12. 82 | get_full_message_number(&current_response_data.message.header),
  13. | ^~~~~~~~~~~~~~~~~~~~~~~
  14. uvm/uvm_utils.c:105:33: warning: implicit declaration of function ‘ntohs’ [-Wimplicit-function-declaration]
  15. 105 | ntohs(current_response_data.message.header.body_length) >= sizeof(PreduprezhdenieBody)) {
  16. | ^~~~~
  17. uvm/uvm_utils.c:105:89: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
  18. 105 | ntohs(current_response_data.message.header.body_length) >= sizeof(PreduprezhdenieBody)) {
  19. | ^~
  20.  
  21. uvm/uvm_utils.c:107:33: warning: implicit declaration of function ‘message_to_host_byte_order’ [-Wimplicit-function-declaration]
  22. 107 | message_to_host_byte_order(&current_response_data.message); // Преобразуем для чтения
  23. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  24. uvm/uvm_utils.c:109:87: warning: implicit declaration of function ‘ntohl’ [-Wimplicit-function-declaration]
  25. 109 | snprintf(bcb_field, sizeof(bcb_field), ";BCB:0x%08X", ntohl(warn_body->bcb)); // BCB есть в Предупреждении
  26. | ^~~~~
  27.  
  28. make: *** [Makefile:43: uvm/uvm_utils.o] Ошибка 1
  29.  
Advertisement
Add Comment
Please, Sign In to add comment