qmicli / Sierra EM7455
Sebastian Sjoholm
sebastian.sjoholm at gmail.com
Thu Mar 10 14:33:05 UTC 2016
> > root at x088:~# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip
> -v
> > [10 Mar 2016, 14:58:15] [Debug] [/dev/cdc-wdm0] Opening device with flags
> > 'none'...
> > [10 Mar 2016, 14:58:15] [Debug] QMI Device at '/dev/cdc-wdm0' ready
> > [10 Mar 2016, 14:58:15] [Debug] Setting expected WWAN data format this
> > control port...
> > qmicli: symbol lookup error: qmicli: undefined symbol:
> > qmi_device_expected_data_format_get_type
> > root at x088:~#
> >
> > The qmicli error on "symbol lookup error" I can see on other commands as
> > well.
> >
> > Am I missing something?
>
> Looks like qmicli from git master, trying to use libqmi-glib from your
> system-installed package. If you installed libqmi somewhere else not
> in /usr, you'll need LD_LIBRARY_PATH; e.g.:
>
> $ LD_LIBRARY_PATH=/path/somewhere/lib /path/somewhere/bin/qmicli --version
>
>
I have used "/usr" in autogen (./autogen.sh --prefix=/usr).
root at x088:~# which qmicli
/usr/bin/qmicli
root at x088:~# /usr/bin/qmicli --version
qmicli 1.13.7
Copyright (C) 2015 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <
http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root at x088:~# find / -name libqmi-glib
/opt/libqmi/docs/reference/libqmi-glib
/opt/libqmi/src/libqmi-glib
/usr/include/libqmi-glib
root at x088:~#
The files in /usr/include/libqmi-glib have all timestamps for today, when I
compiled the package for this machine.
root at x088:~# ls -la /usr/include/libqmi-glib
total 920
drwxr-xr-x 2 root root 4096 Mar 10 11:47 .
drwxr-xr-x 36 root root 4096 Mar 10 11:47 ..
-rw-r--r-- 1 root root 1969 Mar 10 11:47 libqmi-glib.h
-rw-r--r-- 1 root root 3564 Mar 10 11:47 qmi-client.h
-rw-r--r-- 1 root root 10244 Mar 10 11:47 qmi-device.h
-rw-r--r-- 1 root root 116896 Mar 10 11:47 qmi-dms.h
-rw-r--r-- 1 root root 13015 Mar 10 11:47 qmi-enums-dms.h
-rw-r--r-- 1 root root 4981 Mar 10 11:47 qmi-enums.h
-rw-r--r-- 1 root root 35246 Mar 10 11:47 qmi-enums-nas.h
-rw-r--r-- 1 root root 5572 Mar 10 11:47 qmi-enums-oma.h
-rw-r--r-- 1 root root 5288 Mar 10 11:47 qmi-enums-pbm.h
-rw-r--r-- 1 root root 8179 Mar 10 11:47 qmi-enums-pds.h
-rw-r--r-- 1 root root 2842 Mar 10 11:47 qmi-enums-private.h
-rw-r--r-- 1 root root 12346 Mar 10 11:47 qmi-enums-uim.h
-rw-r--r-- 1 root root 8265 Mar 10 11:47 qmi-enums-voice.h
-rw-r--r-- 1 root root 2634 Mar 10 11:47 qmi-enums-wda.h
-rw-r--r-- 1 root root 70881 Mar 10 11:47 qmi-enums-wds.h
-rw-r--r-- 1 root root 20235 Mar 10 11:47 qmi-enums-wms.h
-rw-r--r-- 1 root root 75685 Mar 10 11:47 qmi-enum-types.h
-rw-r--r-- 1 root root 18403 Mar 10 11:47 qmi-errors.h
-rw-r--r-- 1 root root 880 Mar 10 11:47 qmi-error-types.h
-rw-r--r-- 1 root root 10409 Mar 10 11:47 qmi-flags64-dms.h
-rw-r--r-- 1 root root 9998 Mar 10 11:47 qmi-flags64-nas.h
-rw-r--r-- 1 root root 1503 Mar 10 11:47 qmi-flags64-types.h
-rw-r--r-- 1 root root 14066 Mar 10 11:47 qmi-message.h
-rw-r--r-- 1 root root 137449 Mar 10 11:47 qmi-nas.h
-rw-r--r-- 1 root root 22604 Mar 10 11:47 qmi-oma.h
-rw-r--r-- 1 root root 19287 Mar 10 11:47 qmi-pbm.h
-rw-r--r-- 1 root root 35774 Mar 10 11:47 qmi-pds.h
-rw-r--r-- 1 root root 2100 Mar 10 11:47 qmi-proxy.h
-rw-r--r-- 1 root root 39910 Mar 10 11:47 qmi-uim.h
-rw-r--r-- 1 root root 8116 Mar 10 11:47 qmi-utils.h
-rw-r--r-- 1 root root 2221 Mar 10 11:47 qmi-version.h
-rw-r--r-- 1 root root 21052 Mar 10 11:47 qmi-voice.h
-rw-r--r-- 1 root root 13438 Mar 10 11:47 qmi-wda.h
-rw-r--r-- 1 root root 65203 Mar 10 11:47 qmi-wds.h
-rw-r--r-- 1 root root 42652 Mar 10 11:47 qmi-wms.h
root at x088:~#
But I can try to uninstall the system package.
-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20160310/d6d033b1/attachment-0001.html>
More information about the libqmi-devel
mailing list