https://osmocom.org/https://osmocom.org/favicon.ico?16647414092018-10-20T06:22:10ZOpen Source Mobile Communicationsgr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=122872018-10-20T06:22:10Zptrkrysik
<ul></ul><p>Welcome the first user bug report in the new osmocom home of the project :).</p>
<p>I think '-lboost_thread' or '-lboost_thread-mt' might be missing.</p>
<p>Can you run</p>
<p>VERBOSE=1 make</p>
<p>and send the result? You can attach it as a file to keep the report smaller.</p>
<p>I don't have OSX so you will be better off to try to fix it yourself (and then send feedback here). For example you can try to play with this part:<br /><a class="external" href="http://git.osmocom.org/gr-gsm/tree/lib/CMakeLists.txt#n99">http://git.osmocom.org/gr-gsm/tree/lib/CMakeLists.txt#n99</a></p>
<p>and add there something like: "boost_thread" or "boost_thread-mt" and see what happens then.</p> gr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=123462018-10-24T11:51:52Zdstuart
<ul></ul><p>Hi,</p>
<p>Thanks for that it did the trick "boost_thread-mt" I had to do some modification to a few files OSX wasn't great in finding some headers. But hit a huge blocker at about 91% of the way through the build which is gr-gsm requires gnuradio companion python binds which which with the current stable version requires QT4 which is no longer supported on OSX. So I am currently in the rather painful process of building gnuradio-3.8tech-preview which is built off QT5 but its not ready to just compile, then I will return to gr-gsm and see if it build from there..</p>
<p>Thanks for you help and will update any findings changes</p> gr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=123472018-10-24T12:11:17Zptrkrysik
<ul></ul><p>Try adding this option to cmake:<br />-DENABLE_GRCC=NO</p>
<p>You won't have grgsm_livemon. I don't know if it would run if GRC is not<br />running on your computer anyway. At least we will see if there aren't<br />other problems.</p> gr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=124032018-10-27T22:57:15Zdstuart
<ul></ul><p>So it runs fine adding the disable GRC option, thanks. But I was kind of hoping to use livemon, So I compiled gnuradio using the gnuradio-3.8tech-preview which was painful but I got there in the end and grc works with QT5. I can compile grgsm against that with the -DENABLE_GRCC=NO fine using python3.7 (with some modifications to the python, mostly to do with print statements). But its not playing nicely with grc.</p>
<p>A minor issue it they changed grcc option -d to -o but that can be changed in the ./apps/CMakeFiles/pygen_apps.dir/build.make file<br />The main issue the the GRC blocks, I keep getting errors connecting the blocks as per block. I have seen other issues in this list saying just get the right grc path but the block xml has definitely been copied into /usr/local/share/gnuradio/grc/blocks, interestingly all the files in that directory are now yaml not xml</p>
<p><<< Welcome to GNU Radio Companion Compiler v3.8-compat-xxx-xunknown >>></p>
<p>Block paths:<br /> /Users/dstuart/.grc_gnuradio<br /> /usr/local/src/gr-gsm/grc<br /> /usr/local/share/gnuradio/grc/blocks</p>
<blockquote><blockquote><blockquote>
<p>Loading: /usr/local/src/gr-gsm/apps/grgsm_livemon.grc<br />Converting from XML</p>
</blockquote></blockquote></blockquote>
<p>Block id "gsm_bcch_ccch_demapper" not found</p>
<blockquote><blockquote><blockquote>
<p>Load Error: /usr/local/src/gr-gsm/apps/grgsm_livemon.grc: 'id'</p>
</blockquote></blockquote></blockquote>
<p>Compilation error<br />make<sup><a href="#fn2">2</a></sup>: <b>* [apps/grgsm_livemon] Error 1<br />make<sup><a href="#fn1">1</a></sup>: <strong></b> [apps/CMakeFiles/pygen_apps.dir/all] Error 2<br />make: *</strong>* [all] Error 2</p> gr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=124112018-10-29T08:52:25Zptrkrysik
<ul></ul><p>There GNU Radio guys merged some significant changes after last GRCon. I<br />hope they maintain somehow backward compatibility. I need to check that.</p>
<p>Thanks for reporting this!</p> gr-gsm - Bug #3662: not building on OSX 10.13.4https://osmocom.org/issues/3662?journal_id=272562023-07-05T08:58:57Zptrkrysik
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>