Re: [Discuss-gnuradio] Installing GNURadio 3.4.2 with Ubuntu 14.04

2014-08-29 Thread Marcus Müller
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

On 29.08.2014 17:51, Rodrigo Farias wrote:
 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
 http://nuand.com/forums/viewtopic.php?t=3137) 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:
 http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
 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 

Re: [Discuss-gnuradio] Installing GNURadio 3.4.2 with Ubuntu 14.04

2014-08-29 Thread Marcus Müller
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]https://github.com/bastibl/gr-ieee802-11
On 29.08.2014 20:22, Rodrigo Farias wrote:
 Hi Marcus,

 Thanks for your help.
 We will try update the uwicore module to a new version of GNURadio.
 First I will contact the authors. Maybe we have more people working in this.

 Best regards,
 Rodrigo Farias


 2014-08-29 13:40 GMT-03:00 Marcus Müller marcus.muel...@ettus.com:

  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


 On 29.08.2014 17:51, Rodrigo Farias wrote:

 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 
 inhttp://nuand.com/forums/viewtopic.php?t=3137) 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$ ./bootstrapconfigure.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:http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocationconfigure.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 encontradoconfigure.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