[Debian-on-mobile-maintainers] Bug#1086284: libmbim: FTBFS: undefined reference to `mbim_access_media_type_get_type'

Andrey Skvortsov andrej.skvortzov at gmail.com
Sat Nov 2 18:18:10 GMT 2024


Hi,

I've experienced the same problem building the libmbim package
locally for aarch64.

```
./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:166:(.text.startup+0x34): undefined reference to `mbim_access_media_type_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:167:(.text.startup+0x44): undefined reference to `mbim_activation_command_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:168:(.text.startup+0x4c): undefined reference to `mbim_activation_state_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:169:(.text.startup+0x54): undefined reference to `mbim_atds_provider_plmn_mode_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:170:(.text.startup+0x5c): undefined reference to `mbim_atds_rat_mode_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:171:(.text.startup+0x64): undefined reference to `mbim_auth_protocol_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:172:(.text.startup+0x6c): undefined reference to `mbim_carrier_lock_cause_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:173:(.text.startup+0x74): undefined reference to `mbim_carrier_lock_modem_state_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:174:(.text.startup+0x7c): undefined reference to `mbim_carrier_lock_status_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:175:(.text.startup+0x84): undefined reference to `mbim_cellular_class_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:176:(.text.startup+0x8c): undefined reference to `mbim_cid_atds_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:177:(.text.startup+0x94): undefined reference to `mbim_cid_auth_get_type'
/usr/bin/ld: ./obj-aarch64-linux-gnu/./obj-aarch64-linux-gnu/libmbim-glib-scan.c:178:(.text.startup+0x9c): undefined reference to `mbim_cid_basic_connect_get_type'
...
```

Since I only needed binary packages, I've built with profile 'nodoc' successfully.

```
dpkg-buildpackage --build-profiles=nodoc -b
```

libmbim-doc was build last time over a year ago (2023-10-20). [1]

1. https://buildd.debian.org/status/logs.php?pkg=libmbim&ver=1.30.0-1&arch=all

-- 
Best regards,
Andrey Skvortsov



More information about the Debian-on-mobile-maintainers mailing list