gr-baz how-to?

1,249 views
Skip to first unread message

Ton Machielsen

unread,
Apr 26, 2012, 4:27:12 AM4/26/12
to ultra-c...@googlegroups.com
Hi all!

Call me noob, but i have issues getting gr-baz into gnuradio.

I have been able to get the latest version of gnuradio working on a fresh Ubuntu 11 install running from a USB stick. I also have the RTL driver compiled and working.

What i cannot seem to get working is gr-baz. How do i compile this or what do i need to do to get gr-baz into gnuradio?

I don't need a full explanation, a URL will do. Ah, and somehow this page http://wiki.spench.net/wiki/Gr-baz didn't help me a lot. I got the source code from git, i tried with ./configure;make;make check;make install, no go. I tried with cmake, also no go. automake doesn't seem to work either.

I seem to be missing something here.

Ton.


Alex (Maxious) Sadleir

unread,
Apr 26, 2012, 4:49:39 AM4/26/12
to Ton Machielsen, ultra-c...@googlegroups.com
On Thu, Apr 26, 2012 at 6:27 PM, Ton Machielsen <t...@machielsen.net> wrote:
> What i cannot seem to get working is gr-baz. How do i compile this or what
> do i need to do to get gr-baz into gnuradio?
>
> I don't need a full explanation, a URL will do. Ah, and somehow this page
> http://wiki.spench.net/wiki/Gr-baz didn't help me a lot. I got the source
> code from git, i tried with ./configure;make;make check;make install, no go.
> I tried with cmake, also no go. automake doesn't seem to work either.
>
> I seem to be missing something here.

sh bootstrap THEN ./configure;make;make check;make install

Please include the exact error message in your next email.

Ton Machielsen

unread,
Apr 27, 2012, 3:12:36 AM4/27/12
to Alex (Maxious) Sadleir, ultra-c...@googlegroups.com
Hey Alex!

Installed everything from scratch using the build-gnuradio script and all seems to be working. Now i need to learn how to use gnuradio. ;-)

Ton.


--
You received this message because you are subscribed to the Google Groups "Ultra Cheap SDR" group.
To post to this group, send email to ultra-c...@googlegroups.com.
To unsubscribe from this group, send email to ultra-cheap-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ultra-cheap-sdr?hl=en.


depand

unread,
Apr 27, 2012, 1:21:04 PM4/27/12
to ultra-c...@googlegroups.com
Hi All,
i have been going around and around with gnuradio for a few days now. Kept getting and error about not being able to find libgnuradio-core.so.0 even though I did a ldconfig. Finally decided that google was my friend and did a search on problems installing gnuradio on ubuntu 11.10. Found there were problems, so I went back and reinstalled not using script. Then tried installing gr-baz. did sh bootstrap,configure,make make check and make install. Make check did not complete with 100% good tests but went and did a make install anyway. Did a sudo ldconfig and tried running RTL-FM.grc. Now getting the following error:

 GThread-ERROR **: file /build/buildd/glib2.0-2.30.0/./gthread/gthread-posix.c: line 348 (g_thread_create_posix_impl): error 'Invalid argument' during 'pthread_attr_setschedparam (&attr, &sched)'

Where do I look to correct this problem?
By the way also tried dongle on windows and it worked somewhat. Problem was both HDSDR and WRplus used 100% of CPU and audio was broken up. The windows machine was only 2Ghz, so will try again on a 3Ghz machine. Nothing is straight forward:-)
Also thanks to all who have gone before on this project
depand

imo

unread,
Apr 28, 2012, 4:18:27 AM4/28/12
to ultra-c...@googlegroups.com
On a 1.7ghz celeron notebook the cpu utilization is ~50% with hdsdr, 1.024Msps (!max), FM/AM
Imo

Balint Seeber

unread,
May 7, 2012, 6:25:26 AM5/7/12
to ultra-c...@googlegroups.com
The 'pthread_attr_setschedparam' error is probably because that GRC file has Real-time scheduling set to On by default in the Top Block properties (see block in top-left of the flowgraph. Set it to Off and try again.

(I didn't put in any static tests, so you can happily ignore the 'test' phase after compilation and before installation.)

Please don't forget: I believe when you're measuring CPU usage, you have to take into account the # cores on your machine. E.g. with a quad core, HDSDR utilisation of 25% is equivalent of 100% on a single core machine (i.e. you're at maximum CPU utilisation).
Reply all
Reply to author
Forward
0 new messages