[op25-dev] Beta Test of New Additions - compile error on make

Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev at yahoogroups.com
Sat Nov 28 20:12:34 UTC 2015


I still can use the version that’s in max-skip-test that works.

But I still need to know why: 

1. Balint’s version does not produce audio for me, the spectrum data scope does not work, and the additional voice frame info in the LDU1 and MI etc in the HDR is not displaying in the terminal window.

2. Why I can’t rebuild to the standard master branch using the ./pybombs rb gr-op25 command

thanks

Joe

 




> 
> Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
> 
> 
> Tried to do ./pybombs rb gr-op25 and get the following message:
> 
> jcardani at jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25
> Settled on prefix: /home/jcardani/target
> Loading recipes ...
> Installing packages:
> * gr-op25
> Installing from source: gr-op25
> Traceback (most recent call last):
>  File "./pybombs", line 158, in <module>
>    for x in args: pybombs_ops.install(x,True)
>  File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install
>    global_recipes[pkg].install();
>  File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install
>    st = self.install_src();
>  File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src
>    self.install_order[step][1]();
>  File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure
>    mkchdir(topdir + "/src/" + self.name + "/" + self.installdir)
>  File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir
>    os.chdir(p);
> OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build'
> jcardani at jcardani-ThinkCentre-XXXX ~/pybombs $
> 
> 
> My recipe looks like this:
> 
> #
> # This file is part of PyBOMBS
> #
> # PyBOMBS is free software; you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation; either version 3, or (at your option)
> # any later version.
> #
> # PyBOMBS is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> # GNU General Public License for more details.
> #
> # You should have received a copy of the GNU General Public License
> # along with PyBOMBS; see the file COPYING.  If not, write to
> # the Free Software Foundation, Inc., 51 Franklin Street,
> # Boston, MA 02110-1301, USA.
> #
> 
> category: common
> #depends: gnuradio boost libpcap gr-osmosdr libitpp
> source: git://op25.osmocom.org/op25.git <git://op25.osmocom.org/op25.git>
> gitbranch: master
> #gitbranch: max
> inherit: cmake
> 
> 
> thanks
> 
> Joe
> 
> 
>> On Nov 27, 2015, at 12:40 PM, Joseph Cardani jcardani at verizon.net <mailto:jcardani at verizon.net> [op25-dev] <op25-dev at yahoogroups.com <mailto:op25-dev at yahoogroups.com>> wrote:
>> 
>> Hi All,
>> 
>> 
>> Hope everyone had a nice Thanksgiving!
>> 
>> I followed method two below copying the recipe file and then installing Balint’s master. It went quickly and with no errors. That’s the good news. 
>> 
>> When I run it though there are several issues. First there are no spikes in the spectrum scope and more importantly there’s no audio. 
>> 
>> In addition, in the terminal window, it looks just like the old version. I don’t see the voice silence frames in the header and LDU frames, and not do I see MI that’s in the header frame. Am I missing something here in the last part? I thought that was added to the display? I thought this was going to be a replacement of the Wireshark version that displayed that info in addition to adding the encryption support.
>> 
>> thanks
>> 
>> Joe
>> 
>>     
>> 
>> 
>>> On Nov 25, 2015, at 11:51 PM, verymetl at hotmail.com <mailto:verymetl at hotmail.com> [op25-dev] <op25-dev at yahoogroups.com <mailto:op25-dev at yahoogroups.com>> wrote:
>>> 
>>> 
>>> Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
>>> 
>>> You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
>>> 
>>> The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
>>> 
>>> "mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
>>> 
>>> Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
>>> 
>>> "./pybombs remove gr-op25"
>>> 
>>> This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
>>> 
>>> You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
>>> 
>>> "./pybombs install gr-op25"
>>> 
>>> Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
>>> 
>>> "mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
>>> 
>>> Rename the osmo source thusly
>>> 
>>> "mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
>>> 
>>> and rebuild the source: "./pybombs rb gr-op25"
>>> 
>>> You will have to do this whenever you switch source locations.
>>> 
>>> --------------------------------
>>> 
>>> The second method is making a copy of the "gr-op25.lwr" file with a different name.
>>> 
>>> "cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
>>> 
>>> Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
>>> 
>>> "./pybombs install gr-op25.baz"
>>> 
>>> Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
>>> 
>>> "./pybombs rb gr-op25"
>>> and 
>>> "./pybombs rb gr-op25.baz"
>>> 
>>> respectively...
>>> 
>>> Does this clear it up? heh
>>> 
>>> -Scott
>>> 
>>> 
>> 
>> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20151128/9b288c83/attachment.html>


More information about the op25-dev mailing list