dtorkin

Untitled

May 19th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ make
  2. Compiling svm/svm_main.c...
  3. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_main.o svm/svm_main.c
  4. Compiling svm/svm_handlers.c...
  5. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_handlers.o svm/svm_handlers.c
  6. Compiling svm/svm_timers.c...
  7. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_timers.o svm/svm_timers.c
  8. Compiling svm/svm_receiver.c...
  9. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_receiver.o svm/svm_receiver.c
  10. Compiling svm/svm_processor.c...
  11. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_processor.o svm/svm_processor.c
  12. Compiling svm/svm_sender.c...
  13. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_sender.o svm/svm_sender.c
  14. Compiling protocol/message_utils.c...
  15. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o protocol/message_utils.o protocol/message_utils.c
  16. Compiling protocol/message_builder.c...
  17. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o protocol/message_builder.o protocol/message_builder.c
  18. protocol/message_builder.c: In function ‘create_init_channel_message’:
  19. protocol/message_builder.c:45:52: warning: unused parameter ‘uvm_address’ [-Wunused-parameter]
  20. 45 | Message create_init_channel_message(LogicalAddress uvm_address, LogicalAddress svm_address, uint16_t message_num) {
  21. | ~~~~~~~~~~~~~~~^~~~~~~~~~~
  22. Compiling io/io_common.c...
  23. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_common.o io/io_common.c
  24. Compiling io/io_ethernet.c...
  25. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_ethernet.o io/io_ethernet.c
  26. Compiling io/io_serial.c...
  27. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_serial.o io/io_serial.c
  28. Compiling config/config.c...
  29. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o config/config.o config/config.c
  30. config/config.c: In function ‘load_config’:
  31. config/config.c:187:80: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  32. 187 | onfig->svm_ethernet[i].port == 0 || config->svm_ethernet[i].port > 65535) {
  33. | ^
  34.  
  35. Compiling config/ini.c...
  36. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o config/ini.o config/ini.c
  37. Compiling utils/ts_queue.c...
  38. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_queue.o utils/ts_queue.c
  39. Compiling utils/ts_queue_req.c...
  40. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_queue_req.o utils/ts_queue_req.c
  41. Compiling utils/ts_queued_msg_queue.c...
  42. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_queued_msg_queue.o utils/ts_queued_msg_queue.c
  43. Compiling utils/ts_uvm_resp_queue.c...
  44. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_uvm_resp_queue.o utils/ts_uvm_resp_queue.c
  45. Linking svm_app...
  46. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread svm/svm_main.o svm/svm_handlers.o svm/svm_timers.o svm/svm_receiver.o svm/svm_processor.o svm/svm_sender.o protocol/message_utils.o protocol/message_builder.o io/io_common.o io/io_ethernet.o io/io_serial.o config/config.o config/ini.o utils/ts_queue.o utils/ts_queue_req.o utils/ts_queued_msg_queue.o utils/ts_uvm_resp_queue.o -o svm_app -pthread -lrt
  47. SVM application (svm_app) built successfully.
  48. Compiling uvm/uvm_main.c...
  49. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_main.o uvm/uvm_main.c
  50. uvm/uvm_main.c: In function ‘gui_server_thread’:
  51. uvm/uvm_main.c:270:5: warning: implicit declaration of function ‘pthread_setname_np’; did you mean ‘pthread_setcanceltype’? [-Wimplicit-function-declaration]
  52. 270 | pthread_setname_np(pthread_self(), "UVM_GUI_Server");
  53. | ^~~~~~~~~~~~~~~~~~
  54. | pthread_setcanceltype
  55. uvm/uvm_main.c: In function ‘main’:
  56. uvm/uvm_main.c:612:37: error: ‘IOConfigBase’ has no member named ‘send_timeout_ms’
  57. 612 | current_svm_eth_config.base.send_timeout_ms = 3000; // 3 секунды таймаут отправки
  58. | ^
  59. uvm/uvm_main.c:613:37: error: ‘IOConfigBase’ has no member named ‘recv_timeout_ms’
  60. 613 | current_svm_eth_config.base.recv_timeout_ms = 3000; // 3 секунды таймаут приема (для receive_protocol_message)
  61. | ^
  62. uvm/uvm_main.c:785:26: error: ‘PROTOCOL_STAGE_NEEDS_VYDAT_REZULTATY_KONTROLYA’ undeclared (first use in this function); did you mean ‘PROTOCOL_STAGE_AWAITING_REZULTATY_KONTROLYA’?
  63. 785 | case PROTOCOL_STAGE_NEEDS_VYDAT_REZULTATY_KONTROLYA: // Новая стадия
  64. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. | PROTOCOL_STAGE_AWAITING_REZULTATY_KONTROLYA
  66. uvm/uvm_main.c:785:26: note: each undeclared identifier is reported only once for each function it appears in
  67. uvm/uvm_main.c:990:40: error: ‘UVM_LINK_COMPLETED’ undeclared (first use in this function); did you mean ‘UVM_LINK_FAILED’?
  68. 990 | } else if (link->status != UVM_LINK_COMPLETED && link->status != UVM_LINK_FAILED) { // Если не активен, но и не завершен/ошибка
  69. | ^~~~~~~~~~~~~~~~~~
  70. | UVM_LINK_FAILED
  71. uvm/uvm_main.c:1324:26: error: ‘AppConfig’ has no member named ‘main_loop_idle_sleep_us’
  72. 1324 | usleep(config.main_loop_idle_sleep_us > 0 ? config.main_loop_idle_sleep_us : 50000); // 50 мс по умолчанию
  73. | ^
  74. uvm/uvm_main.c:1324:63: error: ‘AppConfig’ has no member named ‘main_loop_idle_sleep_us’
  75. 1324 | usleep(config.main_loop_idle_sleep_us > 0 ? config.main_loop_idle_sleep_us : 50000); // 50 мс по умолчанию
  76. | ^
  77. uvm/uvm_main.c:1343:9: warning: implicit declaration of function ‘queue_req_enqueue_force’; did you mean ‘queue_req_enqueue’? [-Wimplicit-function-declaration]
  78. 1343 | queue_req_enqueue_force(uvm_outgoing_request_queue, &shutdown_command);
  79. | ^~~~~~~~~~~~~~~~~~~~~~~
  80. | queue_req_enqueue
  81. uvm/uvm_main.c:1383:28: warning: implicit declaration of function ‘pthread_timedjoin_np’ [-Wimplicit-function-declaration]
  82. 1383 | int join_res = pthread_timedjoin_np(current_receiver_tid, NULL, &join_timeout);
  83. | ^~~~~~~~~~~~~~~~~~~~
  84. make: *** [Makefile:43: uvm/uvm_main.o] Ошибка 1
  85.  
Advertisement
Add Comment
Please, Sign In to add comment