Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/practice$ make
- Compiling svm/svm_main.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_main.o svm/svm_main.c
- Compiling svm/svm_handlers.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_handlers.o svm/svm_handlers.c
- Compiling svm/svm_timers.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_timers.o svm/svm_timers.c
- Compiling svm/svm_receiver.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_receiver.o svm/svm_receiver.c
- Compiling svm/svm_processor.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_processor.o svm/svm_processor.c
- Compiling svm/svm_sender.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o svm/svm_sender.o svm/svm_sender.c
- Compiling protocol/message_utils.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o protocol/message_utils.o protocol/message_utils.c
- Compiling protocol/message_builder.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o protocol/message_builder.o protocol/message_builder.c
- protocol/message_builder.c: In function ‘create_init_channel_message’:
- protocol/message_builder.c:45:52: warning: unused parameter ‘uvm_address’ [-Wunused-parameter]
- 45 | Message create_init_channel_message(LogicalAddress uvm_address, LogicalAddress svm_address, uint16_t message_num) {
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~
- Compiling io/io_common.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_common.o io/io_common.c
- Compiling io/io_ethernet.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_ethernet.o io/io_ethernet.c
- Compiling io/io_serial.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o io/io_serial.o io/io_serial.c
- Compiling config/config.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o config/config.o config/config.c
- config/config.c: In function ‘load_config’:
- config/config.c:115:84: warning: comparison is always false due to limited range of data type [-Wtype-limits]
- 115 | onfig->svm_ethernet[i].port == 0 || config->svm_ethernet[i].port > 65535) {
- | ^
- Compiling config/ini.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o config/ini.o config/ini.c
- Compiling utils/ts_queue.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_queue.o utils/ts_queue.c
- Compiling utils/ts_queue_req.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o utils/ts_queue_req.o utils/ts_queue_req.c
- Compiling utils/ts_queued_msg_queue.c...
- 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
- Compiling utils/ts_uvm_resp_queue.c...
- 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
- Linking svm_app...
- 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
- SVM application (svm_app) built successfully.
- 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:90:26: warning: unused parameter ‘argv’ [-Wunused-parameter]
- 90 | int main(int argc, char *argv[]) {
- | ~~~~~~^~~~~~
- Compiling uvm/uvm_sender.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_sender.o uvm/uvm_sender.c
- Compiling uvm/uvm_receiver.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_receiver.o uvm/uvm_receiver.c
- Compiling uvm/uvm_utils.c...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread -c -o uvm/uvm_utils.o uvm/uvm_utils.c
- Linking uvm_app...
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -Iutils -pthread uvm/uvm_main.o uvm/uvm_sender.o uvm/uvm_receiver.o uvm/uvm_utils.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 uvm_app -pthread -lrt
- UVM application (uvm_app) built successfully.
- dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app
- UVM: Загрузка конфигурации...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 4 SVM instances.
- UVM: Found 4 SVM configurations in config file.
- Thread-safe UVM request queue created with capacity 50
- Thread-safe UVM Response queue created with capacity 200
- UVM: Connecting to SVMs...
- UVM: Attempting to connect to SVM ID 0 (IP: 127.0.0.1, Port: 8080)...
- DEBUG UVM: Preparing to create interface for SVM 0 with IP=127.0.0.1, Port=8080
- ethernet_connect: Connection failed: Connection refused
- UVM: Failed to connect to SVM ID 0 (IP: 127.0.0.1, Port: 8080).
- Ethernet Interface destroyed.
- UVM: Attempting to connect to SVM ID 1 (IP: 127.0.0.1, Port: 8081)...
- DEBUG UVM: Preparing to create interface for SVM 1 with IP=127.0.0.1, Port=8081
- ethernet_connect: Connection failed: Connection refused
- UVM: Failed to connect to SVM ID 1 (IP: 127.0.0.1, Port: 8081).
- Ethernet Interface destroyed.
- UVM: Attempting to connect to SVM ID 2 (IP: 127.0.0.1, Port: 8082)...
- DEBUG UVM: Preparing to create interface for SVM 2 with IP=127.0.0.1, Port=8082
- ethernet_connect: Connection failed: Connection refused
- UVM: Failed to connect to SVM ID 2 (IP: 127.0.0.1, Port: 8082).
- Ethernet Interface destroyed.
- UVM: Attempting to connect to SVM ID 3 (IP: 127.0.0.1, Port: 8083)...
- DEBUG UVM: Preparing to create interface for SVM 3 with IP=127.0.0.1, Port=8083
- ethernet_connect: Connection failed: Connection refused
- UVM: Failed to connect to SVM ID 3 (IP: 127.0.0.1, Port: 8083).
- Ethernet Interface destroyed.
- Thread-safe UVM request queue destroyed
- Thread-safe UVM Response queue destroyed
- UVM: Очистка завершена.
Advertisement
Add Comment
Please, Sign In to add comment