Hi,
I am trying to install the gr-ieee802-11 project from CGRAN on top of my
gnuradio-3.6.4.1 installation and keep getting the following error
during
‘make’:
…
Scanning dependencies of target _ieee802_11_swig_swig_tag
[ 38%] Building CXX object
swig/CMakeFiles/_ieee802_11_swig_swig_tag.dir/_ieee802_11_swig_swig_tag.cpp.o
Linking CXX executable _ieee802_11_swig_swig_tag
[ 38%] Built target _ieee802_11_swig_swig_tag
[ 42%] Generating doxygen xml for ieee802_11_swig_doc docs
[ 47%] Generating ieee802_11_swig_doc.i
[ 52%] Generating ieee802_11_swig.tag
[ 57%] Swig source
/usr/local/include/gnuradio/swig/gr_basic_block.i:27: Error: Nothing
known
about namespace ‘pmt’
make[2]: *** [swig/ieee802_11_swigPYTHON_wrap.cxx] Error 1
make[1]: *** [swig/CMakeFiles/_ieee802_11_swig.dir/all] Error 2
make: *** [all] Error 2
Also all the required libs seem to be found during cmake including GRUEL
and “/usr/local/include/gruel/swig/pmt_swig.i”, where namespace ‘pmt’ is
defined, exists.
Also the package was installed on an identical machine with Ubuntu 12.04
just fine!
I noticed this issue was raised some time before in the thread below for
gr-osmosdr installation, but no solution was given at the end:
http://lists.gnu.org/archive/html/discuss-gnuradio/2013-02/msg00306.html
Any thoughts?
Thanks,
Alex
Hi Alex,
On 04/28/2013 09:00 PM, Alex Dusowitz wrote:
known about namespace ‘pmt’
make[2]: *** [swig/ieee802_11_swigPYTHON_wrap.cxx] Error 1
make[1]: *** [swig/CMakeFiles/_ieee802_11_swig.dir/all] Error 2
make: *** [all] Error 2
Also all the required libs seem to be found during cmake including GRUEL
and “/usr/local/include/gruel/swig/pmt_swig.i”, where namespace ‘pmt’ is
defined, exists.
Also the package was installed on an identical machine with Ubuntu 12.04
just fine!
I never encountered that problem… the only thing that would come to my
mind is that maybe you have multiple installations on the system (like
one from the package manager and one built from source) and thus files
from another installation are used?
Or you could try to delete CMakeCache.txt from the build directory. If
you then type make again you see where it found the gruel library.
Best,
Bastian
I was having what appears to be the identical problem while installing
gr_osmosdr. The notes above inspired me to look for conflicting copies
of pmt_swig.i. I did a:
locate pmt_swig.i
and found two copies. One in /usr/local/include/gnuradio/swig/ and one
in /usr/local/include/gruel/swig/. I decided to delete both
/usr/local/include/gnuradio, and /usr/local/include/gruel, and rerun
gnuradio’s make install.
This time I ended up with only one copy of pmt_swig.i and more
importantly, the gr-osmosdr installation worked. I’m very new at python
library goodness, and I may have totally munged up my installation in
some way, but it at least appears to work.
Hope it helps.
Hi Bastian,
Thanks for your reply.
In fact what you suggested was exactly the case. I had an old gnuradio
installation before having an ubuntu upgrade. So by manually deleting
the
old files problem was solved.
–Alex
On Tue, Apr 30, 2013 at 3:08 AM, Bastian B.
<[email protected]