1.23.10: build fails
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[63/230] Compiling C object src/plugins/libmm-shared-quectel.so.p/quectel_mm-port-mbim-quectel.c.o
FAILED: src/plugins/libmm-shared-quectel.so.p/quectel_mm-port-mbim-quectel.c.o
/usr/bin/gcc -Isrc/plugins/libmm-shared-quectel.so.p -Isrc/plugins -I../src/plugins -I. -I.. -Isrc -I../src -I../src/kerneldevice -Ilibmm-glib -I../libmm-glib -Iinclude -I../include -Ilibmm-glib/generated -I../libmm-glib/generated -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmbim-glib -I/usr/include/libqmi-glib -I/usr/include/libqrtr-glib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu89 -DHAVE_CONFIG_H -Wno-unused-parameter -Wno-cast-function-type -Wno-packed -Wno-float-equal -Wno-missing-field-initializers -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 '-DMM_MODULE_NAME="shared-quectel"' -MD -MQ src/plugins/libmm-shared-quectel.so.p/quectel_mm-port-mbim-quectel.c.o -MF src/plugins/libmm-shared-quectel.so.p/quectel_mm-port-mbim-quectel.c.o.d -o src/plugins/libmm-shared-quectel.so.p/quectel_mm-port-mbim-quectel.c.o -c ../src/plugins/quectel/mm-port-mbim-quectel.c
../src/plugins/quectel/mm-port-mbim-quectel.c: In function ‘iface_port_at_check_support’:
../src/plugins/quectel/mm-port-mbim-quectel.c:64:84: error: ‘MBIM_CID_QDU_COMMAND’ undeclared (first use in this function); did you mean ‘MBIM_CID_QDU_AT_COMMAND’?
64 | if (!mm_port_mbim_supports_command (MM_PORT_MBIM (self), MBIM_SERVICE_QDU, MBIM_CID_QDU_COMMAND)) {
| ^~~~~~~~~~~~~~~~~~~~
| MBIM_CID_QDU_AT_COMMAND
../src/plugins/quectel/mm-port-mbim-quectel.c:64:84: note: each undeclared identifier is reported only once for each function it appears in
../src/plugins/quectel/mm-port-mbim-quectel.c: In function ‘at_command_ready’:
../src/plugins/quectel/mm-port-mbim-quectel.c:135:10: warning: implicit declaration of function ‘mbim_message_qdu_command_response_parse’; did you mean ‘mbim_message_qdu_at_command_response_parse’? [-Wimplicit-function-declaration]
135 | !mbim_message_qdu_command_response_parse (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbim_message_qdu_at_command_response_parse
../src/plugins/quectel/mm-port-mbim-quectel.c: In function ‘iface_port_at_command’:
../src/plugins/quectel/mm-port-mbim-quectel.c:232:15: warning: implicit declaration of function ‘mbim_message_qdu_command_set_new’; did you mean ‘mbim_message_qdu_at_command_set_new’? [-Wimplicit-function-declaration]
232 | request = mbim_message_qdu_command_set_new (MBIM_QUECTEL_COMMAND_TYPE_AT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbim_message_qdu_at_command_set_new
../src/plugins/quectel/mm-port-mbim-quectel.c:232:49: error: ‘MBIM_QUECTEL_COMMAND_TYPE_AT’ undeclared (first use in this function); did you mean ‘MBIM_MESSAGE_COMMAND_TYPE_SET’?
232 | request = mbim_message_qdu_command_set_new (MBIM_QUECTEL_COMMAND_TYPE_AT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MBIM_MESSAGE_COMMAND_TYPE_SET
[229/230] Linking target src/ModemManager
ninja: build stopped: cannot make progress due to previous errors.