Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/v0_12$ make
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_main.o svm/svm_main.c
- svm/svm_main.c: In function ‘main’:
- svm/svm_main.c:101:34: warning: implicit declaration of function ‘receive_full_message’ [-Wimplicit-function-declaration]
- 101 | int recvStatus = receive_full_message(client_handle, io, &receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_handlers.o svm/svm_handlers.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_timers.o svm/svm_timers.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_utils.o protocol/message_utils.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_builder.o protocol/message_builder.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_common.o io/io_common.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_ethernet.o io/io_ethernet.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/config.o config/config.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/ini.o config/ini.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig svm/svm_main.o svm/svm_handlers.o svm/svm_timers.o protocol/message_utils.o protocol/message_builder.o io/io_common.o io/io_ethernet.o config/config.o config/ini.o -o svm_app -lrt
- /usr/bin/ld: svm/svm_handlers.o: warning: relocation against `currentMessageCounter' in read-only section `.text'
- /usr/bin/ld: svm/svm_handlers.o: в функции «handle_init_channel_message»:
- /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:50:(.text+0xfb): undefined reference to `currentMessageCounter'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:50:(.text+0x105): undefined reference to `currentMessageCounter'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:59:(.text+0x1b0): undefined reference to `currentSvmState'
- /usr/bin/ld: svm/svm_handlers.o: в функции «handle_provesti_kontrol_message»:
- /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:73:(.text+0x251): undefined reference to `currentSvmState'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:76:(.text+0x274): undefined reference to `currentSvmState'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:84:(.text+0x291): undefined reference to `currentMessageCounter'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:84:(.text+0x29b): undefined reference to `currentMessageCounter'
- /usr/bin/ld: svm/svm_handlers.o: в функции «handle_vydat_rezultaty_kontrolya_message»:
- /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:115:(.text+0x3cc): undefined reference to `currentMessageCounter'
- /usr/bin/ld: /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:115:(.text+0x3d6): undefined reference to `currentMessageCounter'
- /usr/bin/ld: svm/svm_handlers.o: в функции «handle_vydat_sostoyanie_linii_message»:
- /home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:145:(.text+0x500): undefined reference to `currentMessageCounter'
- /usr/bin/ld: svm/svm_handlers.o:/home/dtorkin/Desktop/v0_12/svm/svm_handlers.c:145: далее есть ещё неопределённые ссылки на «currentMessageCounter»
- /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
- collect2: error: ld returned 1 exit status
- make: *** [Makefile:42: svm_app] Ошибка 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement