James,
If you build/rebuild following the command steps below there should not have any errors
getting scope.py to run at all. I have built several instances of OP25 following that
outline and it always works first time, every time.
Bill
From: op25-dev(a)yahoogroups.com [mailto:op25-dev@yahoogroups.com]
Sent: Thursday, September 21, 2017 8:44 AM
To: op25-dev(a)yahoogroups.com
Subject: Re: [op25-dev] Undefined Symbol Error
Bill,
Everything works fine with the main branch of OP25. However I am trying to incorporate
some of the changes Joe made to the code a year ago or so. After putting his changed files
into the lib directory op25 compiled fine. But when I run scope.py I get the error I
posted earlier about an Undefined Symbol.
I don't know much about python or swig so I'm hoping someone on the list was able
to incorporate his changes somehow and let me know what they did.
Thanks for your help.
James
On Thu, Sep 21, 2017 at 9:39 AM, 'William Becks' wa8wg(a)centurytel.net [op25-dev]
<op25-dev(a)yahoogroups.com> wrote:
James,
Can you also post your test.tsv file and elaborate on the specific P25 system that you
desire to monitor? I have not had any issues with the RTL SDR on OP25 scope.py running
under Ubuntu 14.04 using the following command outline to build my system. Let me know
if you are running Ubuntu in VirtualBox on a Windows machine as there are a couple of
additional pointers that I can pass along.
Download and install Ubuntu 14.04 Latest: <http://releases.ubuntu.com/14.04/>
http://releases.ubuntu.com/14.04/
sudo apt-get update
sudo apt-get build-dep gnuradio
sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev
libhackrf-dev libitpp-dev libpcap-dev git
cd ~
git clone
git://op25.osmocom.org/op25.git
cd op25
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
sudo nano /etc/modprobe.d/dvb-blacklist.conf
blacklist r820t
;blacklist rtl2832
blacklist rtl2830
blacklist dvb_usb_rtl28xxu
# ctrl+x to save and exit
sudo cp /etc/pulse/client.conf /etc/pulse/client.confbackup
sudo nano /etc/pulse/client.conf
Edit the following line: From: ; autospawn = yes To: autospawn = no
Restart!
Create trunk.tsv
Create trunkgroup.tsv
Create scope.sh
cd /home/username/op25/op25/gr-op25_repeater/apps
./scope.py --args rtl=0 -N LNA:46 -f 853.9125e6 -S 2560000-q 0
-V -T trunk.tsv
chmod +x scope.sh
Bill, WA8WG
From: op25-dev(a)yahoogroups.com [mailto:op25-dev@yahoogroups.com]
Sent: Thursday, September 21, 2017 7:13 AM
To: op25-dev(a)yahoogroups.com
Subject: Re: [op25-dev] Undefined Symbol Error
Here is the command I was using
./scope.py --args 'rtl' --gains 'lna:44' -f 154732500 -q 1 -S 2000000 -V
-T test.tsv
Thanks,
James
On Wed, Sep 20, 2017 at 12:48 PM, 'William Becks' wa8wg(a)centurytel.net [op25-dev]
<op25-dev(a)yahoogroups.com> wrote:
James,
Can you post your scope.py command line as a starting point?
Bill, WA8WG
From: op25-dev(a)yahoogroups.com [mailto:op25-dev@yahoogroups.com]
Sent: Wednesday, September 20, 2017 8:15 AM
To: op25-dev(a)yahoogroups.com
Subject: [op25-dev] Undefined Symbol Error
Hi again all,
I'm trying to get the main branch running with some of the changes that Joe
incorporated last year. Everything compiles fine (this is a fresh install of Ubuntu 14.04)
but when running scope.py I'm getting and undefined symbol error:
(most recent call last):
File "./scope.py", line 55, in <module>
import op25_repeater
File "/usr/local/lib/python2.7/dist-packages/op25_repeater/__init__.py",
line 45, in <module>
from op25_repeater_swig import *
File
"/usr/local/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py",
line 28, in <module>
_op25_repeater_swig = swig_import_helper()
File
"/usr/local/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py",
line 24, in swig_import_helper
_mod = imp.load_module('_op25_repeater_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-op25_repeater.so: undefined
symbol: _ZN8p25p2_vf12encode_dstarEPhPKi
Searching around for this does not turn up anything really. Has anyone seen this before?
Thanks,
James