Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/practice$ make
- Compiling uvm/uvm_main.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_main.o uvm/uvm_main.c
- uvm/uvm_main.c: In function ‘main’:
- uvm/uvm_main.c:848:28: warning: variable ‘status_before_ka_check’ set but not used [-Wunused-but-set-variable]
- 848 | UvmLinkStatus status_before_ka_check = UVM_LINK_INACTIVE;
- | ^~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:818:9: error: label ‘cleanup_queues’ used but not defined
- 818 | goto cleanup_queues; // Используем правильную метку
- | ^~~~
- uvm/uvm_main.c:719:9: error: label ‘cleanup_mutexes_early’ used but not defined
- 719 | goto cleanup_mutexes_early;
- | ^~~~
- uvm/uvm_main.c: At top level:
- uvm/uvm_main.c:931:12: error: expected declaration specifiers or ‘...’ before string constant
- 931 | printf("UVM: All link-specific threads joined.\n");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:934:5: error: expected identifier or ‘(’ before ‘if’
- 934 | if (sender_tid != 0) {
- | ^~
- uvm/uvm_main.c:943:5: error: expected identifier or ‘(’ before ‘if’
- 943 | if (gui_server_tid != 0) {
- | ^~
- uvm/uvm_main.c:949:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
- 949 | cleanup_connections:
- | ^
- uvm/uvm_main.c:951:24: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 951 | pthread_mutex_lock(&uvm_links_mutex);
- | ^
- uvm/uvm_main.c:952:5: error: expected identifier or ‘(’ before ‘for’
- 952 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^~~
- uvm/uvm_main.c:952:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
- 952 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^
- uvm/uvm_main.c:952:44: error: expected identifier or ‘(’ before ‘++’ token
- 952 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^~
- uvm/uvm_main.c:963:26: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 963 | pthread_mutex_unlock(&uvm_links_mutex);
- | ^
- uvm/uvm_main.c:965:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
- 965 | cleanup_queues:
- | ^
- uvm/uvm_main.c:967:5: error: expected identifier or ‘(’ before ‘if’
- 967 | if (uvm_outgoing_request_queue) queue_req_destroy(uvm_outgoing_request_queue);
- | ^~
- uvm/uvm_main.c:968:5: error: expected identifier or ‘(’ before ‘for’
- 968 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^~~
- uvm/uvm_main.c:968:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
- 968 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^
- uvm/uvm_main.c:968:44: error: expected identifier or ‘(’ before ‘++’ token
- 968 | for (int i = 0; i < MAX_SVM_INSTANCES; ++i) {
- | ^~
- uvm/uvm_main.c:974:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
- 974 | cleanup_mutexes_early: // Метка для самого раннего выхода
- | ^
- uvm/uvm_main.c:976:27: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 976 | pthread_mutex_destroy(&uvm_links_mutex);
- | ^
- uvm/uvm_main.c:977:27: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 977 | pthread_mutex_destroy(&gui_socket_mutex);
- | ^
- uvm/uvm_main.c:978:27: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 978 | pthread_mutex_destroy(&uvm_send_counter_mutex);
- | ^
- uvm/uvm_main.c:979:26: error: expected declaration specifiers or ‘...’ before ‘&’ token
- 979 | pthread_cond_destroy(&uvm_all_sent_cond);
- | ^
- uvm/uvm_main.c:981:12: error: expected declaration specifiers or ‘...’ before string constant
- 981 | printf("UVM: Очистка завершена.\n");
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:982:5: error: expected identifier or ‘(’ before ‘return’
- 982 | return 0;
- | ^~~~~~
- uvm/uvm_main.c:983:1: error: expected identifier or ‘(’ before ‘}’ token
- 983 | }
- | ^
- make: *** [Makefile:43: uvm/uvm_main.o] Ошибка 1
Advertisement
Add Comment
Please, Sign In to add comment