<div dir="ltr"><div>I did install it, during configure for libqmi it gives me this statement:</div><div><br></div><div><i>checking for mbim-glib >= 1.14.0... yes</i></div><div><i><br></i></div><div>Which I am guessing means it found it ok. I tried a make clean and then remaking both libmbim and libqmi using your steps. Got the same result.</div><div><br></div><div>I tried again without qmi and mbim. That seemed to get me past that part of the makefile. Not sure what I'm doing wrong here. From my limited understanding of this stuff, I believe mbim is mostly for WWAN protocols? I'm trying to build in support for my Iriidum modem, so I don't think I need it anyway.</div><div><br></div><div>It's built now. I just needed udev support. I'm going to try and build a rule for the iridium modem / baud rate I have as you suggested months ago. Just now got back to it!</div><div><br></div><div>Thanks again,</div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 11, 2018 at 5:56 PM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">><br>
> In building libqmi-glib, I get these two undefined reference errors. Should<br>
> I be including a specific header file that isn't included somewhere?<br>
><br>
> Full disclosure, I'm attempting to build for raspberry pi<br>
> (arm-linux-gnueabihf).<br>
><br>
> Making all in .<br>
> make[4]: Entering directory<br>
> '/home/pi/Downloads/libqmi-1.<wbr>20.0/src/libqmi-glib'<br>
> CC libqmi_glib_la-qmi-enums-wds.<wbr>lo<br>
> CC libqmi_glib_la-qmi-enums-dms.<wbr>lo<br>
> CC libqmi_glib_la-qmi-utils.lo<br>
> CC libqmi_glib_la-qmi-compat.lo<br>
> CC libqmi_glib_la-qmi-message.lo<br>
> CC libqmi_glib_la-qmi-message-<wbr>context.lo<br>
> CC libqmi_glib_la-qmi-device.lo<br>
> CC libqmi_glib_la-qmi-client.lo<br>
> CC libqmi_glib_la-qmi-proxy.lo<br>
> CCLD <a href="http://libqmi-glib.la" rel="noreferrer" target="_blank">libqmi-glib.la</a><br>
> make[4]: Leaving directory<br>
> '/home/pi/Downloads/libqmi-1.<wbr>20.0/src/libqmi-glib'<br>
> Making all in test<br>
> make[4]: Entering directory<br>
> '/home/pi/Downloads/libqmi-1.<wbr>20.0/src/libqmi-glib/test'<br>
> CC test_utils-test-utils.o<br>
> CCLD test-utils<br>
> ../../../src/libqmi-glib/.<wbr>libs/libqmi-glib.so: undefined reference to<br>
> `mbim_message_qmi_msg_set_new'<br>
> ../../../src/libqmi-glib/.<wbr>libs/libqmi-glib.so: undefined reference to<br>
> `mbim_message_response_get_<wbr>result'<br>
> collect2: error: ld returned 1 exit status<br>
> Makefile:448: recipe for target 'test-utils' failed<br>
> make[4]: *** [test-utils] Error 1<br>
> make[4]: Leaving directory<br>
> '/home/pi/Downloads/libqmi-1.<wbr>20.0/src/libqmi-glib/test'<br>
> Makefile:689: recipe for target 'all-recursive' failed<br>
> make[3]: *** [all-recursive] Error 1<br>
> make[3]: Leaving directory<br>
> '/home/pi/Downloads/libqmi-1.<wbr>20.0/src/libqmi-glib'<br>
> Makefile:378: recipe for target 'all-recursive' failed<br>
> make[2]: *** [all-recursive] Error 1<br>
> make[2]: Leaving directory '/home/pi/Downloads/libqmi-1.<wbr>20.0/src'<br>
> Makefile:434: recipe for target 'all-recursive' failed<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory '/home/pi/Downloads/libqmi-1.<wbr>20.0'<br>
> Makefile:366: recipe for target 'all' failed<br>
> make: *** [all] Error 2<br>
><br>
<br>
</div></div>Did you also build libmbim before trying to build libqmi?<br>
Did you install libmbim in e.g. /usr? or some other prefix?<br>
This looks like libmbim was installed in a path out of LD_LIBRARY_PATH.<br>
<br>
You can probably solve this just by installing in /usr everything<br>
(both libmbim and libqmi), e.g.:<br>
$ ./configure --prefix=/usr<br>
$ make<br>
$ sudo make install<br>
<br>
Another option could be to build libqmi without mbim support if you<br>
don't need that:<br>
$ ./configure --disable-mbim-qmux<br>
...<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><font color="#0000ff">Eric Younkin<br>Physical Scientist<br></font></span></div><div dir="ltr"><span><font color="#0000ff">NOAA OCS, </font></span><span style="color:rgb(0,0,255);font-size:12.8px">Hydrographic Systems and Technology Branch</span></div><div dir="ltr"><span><font color="#0000ff">1315 East-West Highway</font></span></div><div dir="ltr"><span><font color="#0000ff">N/CS11, Room 6604<br>Silver Spring, MD 20910</font></span></div><div><span><font color="#0000ff">Office: </font></span><span style="font-family:arial,sans,sans-serif;font-size:13px;white-space:pre-wrap"><font color="#0000ff">240-847-8208</font></span></div><div dir="ltr"><span><font color="#0000ff">
Cell: 828-331-8197</font><br>
</span></div></div></div></div></div></div></div></div></div></div></div></div>
</div>