Hi everyone,
It turns out there are problems with the install. I get wierd results.
I have a gentoo box and a ubuntu box both of which have gnuradio
installed. The ubuntu box however failed some make checks (my mail
below).
When I run “./usrp_spectrum_sense.py 2412M 2444M” with gentoo box, the
center frequencies are printed out fine.
However, when I do that with the ubuntu installation, I get “0.0” as
the center frequency !!
I dont get a “failed to set frequency” message. Infact, when I run the
802.11 BBN code (./bbn_80211b_rx.py -d 8 -f 2412e6 -b), I am able to
capture packets. So u.tune actually works and the frequency is set
… I don’t understand what is wrong with the installation …
Is it because of the ‘make check’ failure?
–Shravan
On Sun, 2006-12-03 at 01:08 -0600, Shravan Rayanchu wrote:
Is it because of the ‘make check’ failure?
FAIL: test_cc_2 (main.test_feval)
Traceback (most recent call last):
File “./qa_feval.py”, line 94, in test_cc_2
self.assertEqual(expected_result, actual_result)
AssertionError: ((2-1j), (4+1j), (6+3j), (8+5j)) != (0j, 0j, 0j, 0j)
This is a known issue with the trunk code and SWIG versions < 1.3.31.
There is no fix other than to upgrade your SWIG and recompile. Ubuntu
6.10 only comes with 1.3.28 so you’ll have to do a source installation
from swig.org. It’s pretty painless.
–
Johnathan C., AE6HO
Corgan Enterprises LLC
[email protected]
Hi Jonathan,
I installed swig-1.3.31 and ran “bootstrap, configure, make and make
check”, but I get the same errors again. Here is what my system says:
$ /usr/local/bin/swig -version
SWIG Version 1.3.31
Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further
information
What else could be the problem …?
–Shravan
On Sun, Dec 03, 2006 at 01:08:19AM -0600, Shravan Rayanchu wrote:
However, when I do that with the ubuntu installation, I get “0.0” as
the center frequency !!
I dont get a “failed to set frequency” message. Infact, when I run the
802.11 BBN code (./bbn_80211b_rx.py -d 8 -f 2412e6 -b), I am able to
capture packets. So u.tune actually works and the frequency is set
… I don’t understand what is wrong with the installation …
Is it because of the ‘make check’ failure?
It’s not caused by the ‘make check’ failure, but it has the same
underlying cause.
Please try upgrading SWIG to 1.3.31. Note that I haven’t found this
to be necessary, but others report that it is. Not sure what that’s
about either 
Eric
On Sun, Dec 03, 2006 at 02:12:08AM -0600, Shravan Rayanchu wrote:
What else could be the problem …?
In your gnuradio tree you’ll need to
make clean
./bootstrap
./configure
make && make check && sudo make install
Eric