<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div>
<div><font size="2"><span style="font-size:11pt">
<div>> Would you be able to test these two patches in the following MR?<br>
</div>
<div><br>
</div>
<div>I follow your gitlab-ci.yml in order to build for RPi.</div>
<div><br>
</div>
<div>While building libmbim I get the following error. This alignment issue (<span style="background-color:rgb(255,255,255);display:inline">cast
increases required alignment of target type) </span>seems to occur often in projects built on ARM while building them on AMD64 is no problem. Any suggestions?</div>
<div><br></div></span></font></div></div></div></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">Will take a look at that.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><font size="2"><span style="font-size:11pt"><div>
</div>
<div>Other than that I need to figure out how to install MM on the target device where MM is already installed. Can I install MM and its libraries in a different location and run from there? How would I have to parametrize .configure etc.?</div>
<div><br></div></span></font></div></div></div></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">You could be brave and just install on top of the already available MM :)</div><div style="font-family:monospace,monospace" class="gmail_default">Otherwise, yes, you can install libs and daemons in a different location, and as long as e.g. the DBus service files are the same, there should be no problem. In order to do that, you need to run configure with a custom --prefix and with a custom PKG_CONFIG_PATH, e.g.:</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">Run this for libmbim, libqmi and ModemManager, in that order:<br></div><div style="font-family:monospace,monospace" class="gmail_default">$ PKG_CONFIG_PATH=/opt/test/lib/pkgconfig ./configure --prefix=/opt/test ....</div><div style="font-family:monospace,monospace" class="gmail_default">$ make && sudo make install</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">And in order to run the MM daemon, you need to provide a custom LD_LIBRARY_PATH so that the correct libs are found, e.g.:</div><div style="font-family:monospace,monospace" class="gmail_default">$ LD_LIBRARY_PATH=/opt/test/lib/ /opt/test/sbin/ModemManager --debug<br></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div></div></div>-- <br><div dir="ltr" class="gmail_signature">Aleksander<br><a href="https://aleksander.es" target="_blank">https://aleksander.es</a></div></div>