discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] about build GNU Radio


From: Li Mei-Wen
Subject: RE: [Discuss-gnuradio] about build GNU Radio
Date: Thu, 1 Oct 2009 13:59:22 +0800

Hi:
 
Thank you for your answer.
I am sorry, I don't know how to do.
1. The two things are both need to do?
2. I try to modify the generic_usrp.py this file, but always got error ( I just only # have the userp2 line)
3. When I download the gnuradio.git, where can I to put it, and what need I do?

 
> Date: Wed, 30 Sep 2009 20:55:18 -0700
> From: address@hidden
> To: address@hidden
> Subject: Re: [Discuss-gnuradio] about build GNU Radio
>
> The script requires that the usrp2 module is installed. You are on
> cygwin, so there is no usrp2 possible. You can do two things:
>
> 1) modify this file so that it does not try to import usrp2 module
> /usr/src/gnuradio/gnuradio-examples/python/digital/generic_usrp.py
>
> 2) download and build the most recent gnuradio from git which I know
> does not try to import usrp2 module (unless needed)
> git clone http://gnuradio.org/git/gnuradio.git
>
> -Josh
>
> Li Mei-Wen wrote:
> > Hi:
> >
> > I use the backup data (all the cygwin file)
> >
> > And do the make check, I don't got the error.
> >
> > But I use the ./benchmark_rx.py -f 900M in /.../digital
> >
> > I also got those error message.
> >
> > What am I to miss?
> >
> >
> >
> > Thank in advance.
> >
> >
> >
> >
> >
> > address@hidden /usr/src/gnuradio/gnuradio-examples/python/digital
> > $ ./benchmark_rx.py -f 900M
> > Traceback (most recent call last):
> > File "./benchmark_rx.py", line 34, in <module>
> > import usrp_receive_path
> > File "/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_receive_path.py"
> > , line 23, in <module>
> > import usrp_options
> > File "/usr/src/gnuradio/gnuradio-examples/python/digital/usrp_options.py", lin
> > e 30, in <module>
> > import generic_usrp
> > File "/usr/src/gnuradio/gnuradio-examples/python/digital/generic_usrp.py", lin
> > e 36, in <module>
> > from gnuradio import gr, usrp, usrp2
> > ImportError: cannot import name usrp2
> >
> >
> >
> >
> >
> >> From: address@hidden
> >> To: address@hidden; address@hidden
> >> Subject: Re: [Discuss-gnuradio] about build GNU Radio
> >> Date: Wed, 30 Sep 2009 09:43:14 -0400
> >>
> >> Li Mei-Wen wrote:
> >>
> >>> Becasue I got error about GNU Radio on USRP in /../digital
> >>>
> >>> So, I try to install the GNU Radio again
> >>> When I do the "make check" (Building a Full GNU Radio System from
> >>> http://gnuradio.org/trac/wiki/CygwinInstallMain)
> >>> I got follow error message
> >>> What can I do?
> >> [snipped]
> >>
> >>> ..>>> gr_fir_ccc: using SSE
> >>> .sem_init: Resource temporarily unavailable
> >>> E..
> >>> ======================================================================
> >>> ERROR: test_ccc_005 (__main__.test_fft_filter)
> >>> ----------------------------------------------------------------------
> >>> Traceback (most recent call last):
> >>> File "./qa_fft_filter.py", line 157, in test_ccc_005
> >>> expected_result = reference_filter_ccc(dec, taps, src_data)
> >>> File "./qa_fft_filter.py", line 51, in reference_filter_ccc
> >>> tb.run()
> >>> File
> >>> "/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnuradio/gr/top_block.py"
> >>> , line 104, in run
> >>> self.wait()
> >>> File
> >>> "/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnuradio/gr/top_block.py"
> >>> , line 107, in wait
> >>> _top_block_waiter(self._tb).wait()
> >>> File
> >>> "/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnuradio/gr/top_block.py"
> >>> , line 56, in __init__
> >>> _threading.Thread.__init__(self)
> >>> File "/usr/lib/python2.5/threading.py", line 409, in __init__
> >>> self.__block = Condition(Lock())
> >>> error: can't allocate lock
> >>> ----------------------------------------------------------------------
> >>> Ran 6 tests in 1.781s
> >>> FAILED (errors=1)
> >> This looks very much like an error mentioned in the wiki (on the page you
> >> referenced above). Does it always occur in the same place? Have you tried
> >> running in a different shell, or logging off and back on? If the error
> >> doesn't always occur or if it occurs at different places in the test
> >> sequence, it is probably the error discussed in the wiki. I find it does
> >> not usually cause problems in normal use. The only way I know to avoid it
> >> is to patch Python and rebuild it from source.
> >>
> >> -- Don W.
> >>
> >> [snipped]
> >>
> >>> FAIL: run_tests
> >>> ==================
> >>> 1 of 1 test failed
> >>> ==================
> >>> make[6]: *** [check-TESTS] Error 1
> >>> make[6]: Leaving directory
> >>> `/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnura
> >>> dio/gr'
> >>> make[5]: *** [check-am] Error 2
> >>> make[5]: Leaving directory
> >>> `/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnura
> >>> dio/gr'
> >>> make[4]: *** [check-recursive] Error 1
> >>> make[4]: Leaving directory
> >>> `/usr/src/gnuradio-3.2/gnuradio-core/src/python/gnura
> >>> dio'
> >>> make[3]: *** [check-recursive] Error 1
> >>> make[3]: Leaving directory
> >>> `/usr/src/gnuradio-3.2/gnuradio-core/src/python'
> >>> make[2]: *** [check-recursive] Error 1
> >>> make[2]: Leaving directory `/usr/src/gnuradio-3.2/gnuradio-core/src'
> >>> make[1]: *** [check-recursive] Error 1
> >>> make[1]: Leaving directory `/usr/src/gnuradio-3.2/gnuradio-core'
> >>> make: *** [check-recursive] Error 1
> >
> > _________________________________________________________________
> > 輕鬆分享 – 利用 Windows Live 相簿分享相片
> > http://download.live.com/toolbar
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間— Windows Live for Mobile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]