Installing GNURadio 3.4.2 with Ubuntu 14.04

Hello,

I need install the uwicore_MAC module (
http://www.uwicore.umh.es/mhop-software.html) to modify the 802.11
protocol
and test some ideas.

I already tryed install the module in version 3.7.4 without success. I
found help in module grcompat (Emil A. comented in
Airprobe and bladeRF - Official bladeRF forum) but not answer all the
incompatibles problems.

I installed in virtual machine with Ubuntu 9.10 (32 bits) and was
possible
run the uwicore_MAC in gnuradio 3.3.0 (thanks Marcus Müller). Now I have
problem with the USRP N200. We dont have communications with the actual
firmware (and we dont found firmware compatible). Maybe the module UHD
drivers is needed in GNURadio.

In this case, we tryed the next version 3.4.2 in real machine with the
Ubuntu 14.04 (64 bits). This version already has the UHD module.

Follow the command line and the logs in annex:

rodrigo@aluno-ubuntu:~/gnuradio-3.4.2$ ./bootstrap
configure.ac:54: installing ‘./compile’
parallel-tests: installing ‘./test-driver’
configure.ac:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments
forms
are deprecated. For more info, see:
configure.ac:24:

configure.ac:51: installing ‘./compile’
python: can’t open file ‘gen/volk_register.py’: [Errno 2] No such file
or
directory
mv: impossível obter estado de “gen/lib/Makefile.am”: Arquivo ou
diretório
não encontrado
configure.ac:28: installing ‘./compile’

rodrigo@aluno-ubuntu:~/gnuradio-3.4.2$ ./configure
–with-boost-libdir=/usr/lib/x86_64-linux-gnu > logconfigure.txt
/home/rodrigo/gnuradio-3.4.2/missing: Unknown --is-lightweight' option Try /home/rodrigo/gnuradio-3.4.2/missing --help’ for more information
configure: WARNING: ‘missing’ script is too old or missing
/home/rodrigo/gnuradio-3.4.2/volk/missing: Unknown --is-lightweight' option Try /home/rodrigo/gnuradio-3.4.2/volk/missing --help’ for more
information
configure: WARNING: ‘missing’ script is too old or missing
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18585: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
./configure: line 18591: test: too many arguments
/home/rodrigo/gnuradio-3.4.2/usrp2/firmware/missing: Unknown
--is-lightweight' option Try /home/rodrigo/gnuradio-3.4.2/usrp2/firmware/missing --help’ for
more
information
configure: WARNING: ‘missing’ script is too old or missing

rodrigo@aluno-ubuntu:~/gnuradio-3.4.2$ make > logmake.txt
In file included from volk_rank_archs.c:2:0:
…/include/volk/volk_prefs.h:11:1: warning: ‘visibility’ attribute
ignored
on types [-Wattributes]
};
^
In file included from volk_prefs.c:4:0:
…/include/volk/volk_prefs.h:11:1: warning: ‘visibility’ attribute
ignored
on types [-Wattributes]
};
^
qa_gri_mmse_fir_interpolator_cc.cc: In member function ‘void
qa_gri_mmse_fir_interpolator_cc::t2_body()’:
qa_gri_mmse_fir_interpolator_cc.cc:96:9: error: ‘intptr_t’ was not
declared
in this scope
if (((intptr_t) float_input & 0x7) == 0)
^
qa_gri_mmse_fir_interpolator_cc.cc:96:19: error: expected ‘)’ before
‘float_input’
if (((intptr_t) float_input & 0x7) == 0)
^
qa_gri_mmse_fir_interpolator_cc.cc:97:60: error: expected ‘)’ before ‘;’
token
input = reinterpret_cast<gr_complex *>(&float_input[1]);
^
make[9]: ** [qa_gri_mmse_fir_interpolator_cc.lo] Erro 1
make[8]: ** [all] Erro 2
make[7]: ** [all-recursive] Erro 1
make[6]: ** [all] Erro 2
make[5]: ** [all-recursive] Erro 1
make[4]: ** [all] Erro 2
make[3]: ** [all-recursive] Erro 1
make[2]: ** [all] Erro 2
make[1]: ** [all-recursive] Erro 1
make: ** [all] Erro 2

rodrigo@aluno-ubuntu:~/gnuradio-3.4.2$ dpkg --get-selections | grep volk
libvolk0.0.0:amd64 install

rodrigo@aluno-ubuntu:~/gnuradio-3.4.2$ dpkg --get-selections | grep uhd
libuhd-dev install
libuhd003:amd64 install
uhd-host install

Thanks for the help.

Best regards,
Rodrigo F.

Hi Rodrigo,

had you told us you were going to use the N200, we could have told you
that you’d need a more recent version of GNU Radio than 3.3.0, since
that still ships with libusrp, which is not compatible with the N200
series. You will need a GNU Radio version that has gr-uhd. Now, since
uwicore_MAC seems to be written for 3.3, it will rely on the
libusrp-sinks/sources, and you will have to rewrite significant parts of
it to use UHD.

Long story short: Don’t go for 3.4.2. Go directly for 3.6.5 or 3.7 and
update whatever you need from uwicore_MAC. That will be a significant
amount of work, but you’re trying to use software that pre-dates your
hardware, so there’s no way around this, anyway.

Greetings,
Marcus

Hi Rodrigo,

really consider gr-ieee802-11 [1], as from reading uwicore_MAC’s
description there’s nothing that gr-ieee802-11 doesn’t do, and in
contrast to the 3.3-based uwicore_MAC it works great with modern soft-
and hardware. Is there any reason why you’re stuck with uwicore?

Greetings,
Marcus

[1]GitHub - bastibl/gr-ieee802-11: IEEE 802.11 a/g/p Transceiver