Hi Fokko,
awesome project!
Although this might not actually help the matter on hand much: Compiling
something as big as GNU Radio on something as weak and embedded as a
beaglebone is a really bad idea, since especially the linking process
requires large amounts of RAM and I would not guarantee that it will
work with only 512MB RAM at all.
So for your porting efforts, you really should work on a fully fledged
PC. When everything is up and running, you might want to cross-compile
GNU Radio and gr-ais for your beaglebone; but the latter really should
not be your development environment of choice.
You should not install a version of gruel that does not belong to your
GR version, so fetching gruel from your package manager and installing
GR from git does not sound ok; gruel is part of the GNU Radio runtime
and therefore is not necessary to install GNU Radio.
So: On your PC, uninstall gruel using your package manager, build and
install GNU Radio from source (using the build-gnuradio script or even
better pybombs), and port gr-ais to GR3.7.
When that works, set up a cross-compiling environment for your linux of
choice on the beaglebone (I'm tempted to say Ubuntu 13.10 is not the
right distribution for an embedded environment that is less powerful
than recent smartphones), and compile GNU Radio for that; do the same
for gr-ais and install both on your beaglebone.
Hope I was of assistance anyhow,
Marcus Müller
Dear Gnuradio members,
I am working on a port for GR-AIS to version 3.7. The initial version
was for GN3.3, later it is merged to CMake.
The problem is that I am trying to compile Gnuradio with the gr-ais
extension on a beaglebone black (bbb). I managed to compile 3.7 on the
bbb, but the problem is that I don't have GRUEL available. On a x86 it
is possible to pull (libgruel) from the package-manager. So I decided
that the fastest to get everything running is to upgrade gr-ais to
version 3.7. I managed to do this using the wiki
<http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7>.
I believe that the cpp is up and running, it compiles fine, but am
running into some problems with CMake. I haven't worked with CMake
before, so I haven't worked with the scripting earlier. The problem is
CMake+SWIG. When Python tries to invoke Boost it gives an error.
Traceback (most recent call last):
File "/usr/local/bin/ais_rx.py", line 15, in <module>
from gr_ais import *
File "/usr/local/lib/python2.7/dist-packages/gr_ais/__init__.py",
line 45, in <module>
from gr_ais_swig import *
File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py",
line 26, in <module>
_gr_ais_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/gr_ais/gr_ais_swig.py",
line 22, in swig_import_helper
_mod = imp.load_module('_gr_ais_swig', fp, pathname, description)
ImportError:
/usr/local/lib/python2.7/dist-packages/gr_ais/_gr_ais_swig.so:
undefined symbol: _ZN5boost6system15system_categoryEv
I have re-installed Ubuntu 13.10 and installed gnuradio with the
latest git version. The make test succeeded. I have forked the gr-ais
repository into a seperate public repo <https://github.com/Fokko/gr-ais>.
If someone has any idea, please let me know!
Kind regards,
ing. Fokko Driesprong
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio