# Error while building 3.7.3 on RHEL6

**URL:** <https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017>\
**Category:** GNU Radio\
**Created:** [May 9, 2014, 11:13am UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017 "2014-05-09T11:13:17Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 9, 2014, 11:13am UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/1 "2014-05-09T11:13:17Z")

</div>

Hi all guys,

I have again prob;lem building new version of gnuradio on my RHEL6  
machine.  
The error is following:

[26%] Building CXX object  
gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message\_strobe\_random\_impl.cc.o  
In file included from  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.cc:27:  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.h:48:  
error: ‘mt19937’ in namespace ‘boost::random’ does not name a type  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.cc:  
In constructor  
‘gr::blocks::message\_strobe\_random\_impl::message\_strobe\_random\_impl(pmt::pmt\_t,  
gr::blocks::message\_strobe\_random\_distribution\_t, float, float)’:  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.cc:57:  
error: class ‘gr::blocks::message\_strobe\_random\_impl’ does not have any  
field named ‘d\_rng’  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.cc:  
In member function ‘void  
gr::blocks::message\_strobe\_random\_impl::update\_dist()’:  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-blocks/lib/message\_strobe\_random\_impl.cc:89:  
error: ‘d\_rng’ was not declared in this scope  
make[2]: \*\*\*  
[gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message\_strobe\_random\_impl.cc.o]  
Error 1  
make[1]: \*\*\* [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all] Error 2

Has anybody had this error before?

Best,

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 12:04pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/2 "2014-05-09T12:04:21Z")

</div>

Hi Nemanja,

that issue has been fixed in more recent GR versions (it was a  
incompatibility with old Boost versions).  
If you do not wish to update GNU Radio, just replace  
boost::random::mt19937 by boost::mt19937 in message\_strobe\_random\_impl.

Greetings,  
Marcus

PS: Googling for “error: mt19937 in namespace boost::random does not  
name a type” turns up my previous posts about the issue. This is really  
just a friendly reminder that you should make sure that your questions  
have not yet been answered before posting to the list, since this is  
more often than not even faster than asking 🙂

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 12:40pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/3 "2014-05-09T12:40:43Z")

</div>

You are right regarding search, I have no excuse, and thanks for helping  
me.

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 2:02pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/4 "2014-05-09T14:02:31Z")

</div>

Unfortunatelly there is another error which is not reported by anybody  
since now:

[74%] Building CXX object  
gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/qtgui\_util.cc.o  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-qtgui/lib/qtgui\_util.cc: In  
function  
‘QString get\_qt\_style\_sheet(QString)’:  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-qtgui/lib/qtgui\_util.cc:30: error:  
‘QFile’ was not declared in this scope  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-qtgui/lib/qtgui\_util.cc:30: error:  
expected ‘;’ before ‘ss’  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-qtgui/lib/qtgui\_util.cc:31: error:  
‘ss’ was not declared in this scope  
/home/savi\_ne/tools/gnuradio-3.7.3/gr-qtgui/lib/qtgui\_util.cc:35: error:  
‘ss’ was not declared in this scope  
make[2]: \*\*\*  
[gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/qtgui\_util.cc.o]  
Error 1  
make[1]: \*\*\* [gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/all] Error 2  
make: \*\*\* [all] Error 2

Since I use only WXGui I tried to turn off QtGUI in the configuration by  
running ccmake and setting the flag to off, but then some other problems  
appear rgarding doxigen:

Scanning dependencies of target digital\_generated\_includes  
[6%] Generating chunks\_to\_symbols\_bf.h, chunks\_to\_symbols\_bc.h,  
chunks\_to\_symbols\_sf.h, chunks\_to\_symbols\_sc.h, chunks\_to\_symbols\_if.h,  
chunks\_to\_symbols\_ic.h  
[6%] Built target digital\_generated\_includes  
Scanning dependencies of target doxygen\_target  
make[2]: \*\*\* No rule to make target `trellis_generated_includes', needed by`docs/doxygen/xml’. Stop.  
make[1]: \*\*\* [docs/doxygen/CMakeFiles/doxygen\_target.dir/all] Error 2  
make: \*\*\* [all] Error 2

Hw can I now overcome this?

Thanx,  
Nemanja

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:15pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/5 "2014-05-09T15:15:45Z")

</div>

I am trying to build 3.7.3, and doxygen version is:  
doxygen-1.6.1-6.el6.x86\_64.  
I tried to run again and got the error again.

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:19pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/6 "2014-05-09T15:19:29Z")

</div>

On Fri, May 9, 2014 at 9:14 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I am trying to build 3.7.3, and doxygen version is:  
> doxygen-1.6.1-6.el6.x86\_64.  
> I tried to run again and got the error again.

try: “cd gr-trellis; make” and let that complete. Then try again.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:12pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/7 "2014-05-09T15:12:04Z")

</div>

On Fri, May 9, 2014 at 8:01 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> expected ‘;’ before ‘ss’  
> running ccmake and setting the flag to off, but then some other problems  
> make[1]: \*\*\* [docs/doxygen/CMakeFiles/doxygen\_target.dir/all] Error 2  
> make: \*\*\* [all] Error 2
> 
> Hw can I now overcome this?
> 
> Thanx,  
> Nemanja

Just try running ‘make’ again. What version are you using? That doxygen  
bug  
should have been fixed already.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:30pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/8 "2014-05-09T15:30:33Z")

</div>

make in gr-trellis folder works, but when I run again from build folder  
the  
same error appears.

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:39pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/9 "2014-05-09T15:39:48Z")

</div>

On Fri, May 9, 2014 at 9:29 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> make in gr-trellis folder works, but when I run again from build folder  
> the same error appears.

Ok, well this is getting boring. For things like this, best to jump into  
our IRC chatroom to work through it. No one wants to see us go back in  
forth on “try this and that.” Any followup should be a resolution.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:44pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/10 "2014-05-09T15:44:44Z")

</div>

Ok, I’ll try there. Do you have any idea what is the problem with QFile  
while building qtgui.

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 4:02pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/11 "2014-05-09T16:02:34Z")

</div>

It look like RHEL6 use really old library:  
qt3-3.3.8b-30.el6.x86\_64

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 3:50pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/12 "2014-05-09T15:50:53Z")

</div>

On Fri, May 9, 2014 at 9:43 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Ok, I’ll try there. Do you have any idea what is the problem with QFile  
> while building qtgui.

That one seems strange, being such an integral part of QT. But my guess  
is  
that it’s an API change in a QT version that we missed. (We’ll be  
updating  
the QT minimum version in 3.8).

When asking questions related to a dependency like this, it’s always  
best  
to give us the the version of the library.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 12, 2014, 12:54pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/13 "2014-05-12T12:54:26Z")

</div>

I finally disabled doxygen and everything was built fine, but the test  
fails at pfb\_arb\_resampler:

## FAIL: test\_ccf\_001 ( **main**.test\_pfb\_arb\_resampler)

Traceback (most recent call last):  
File  
“/home/savi\_ne/tools/gnuradio-3.7.3/gr-filter/python/filter/qa\_pfb\_arb\_resampler.py”,  
line 153, in test\_ccf\_001  
self.assertComplexTuplesAlmostEqual(expected\_data[-Ntest:],  
dst\_data[-Ntest:], 2)  
File  
“/home/savi\_ne/tools/gnuradio-3.7.3/gnuradio-runtime/python/gnuradio/gr\_unittest.py”,  
line 74, in assertComplexTuplesAlmostEqual  
self.assertComplexAlmostEqual (a[i], b[i], places, msg)  
File  
“/home/savi\_ne/tools/gnuradio-3.7.3/gnuradio-runtime/python/gnuradio/gr\_unittest.py”,  
line 47, in assertComplexAlmostEqual  
(msg or ‘%s != %s within %s places’ % (`first`, `second`, `places`  
))  
AssertionError: (-0.32564974754236342-0.94549047690899302j) !=  
(-0.56183856725692749-0.82724255323410034j) within 2 places

Did anybody has the same problem?

Best,  
Nemanja

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 9, 2014, 4:08pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/14 "2014-05-09T16:08:06Z")

</div>

On Fri, May 9, 2014 at 10:00 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> It look like RHEL6 use really old library:  
> qt3-3.3.8b-30.el6.x86\_64

Well that doesn’t make any sense. gr-qtgui looks for QT 4.2 or higher.  
It  
should not have even been enabled without finding QT4 on your system.  
Are  
you sure that’s the only version of QT you have installed?

And yes, Redhat is years behind. I suggest using pybombs (  
[gnuradio.org/pybombs](http://gnuradio.org/pybombs)), which was build for such purposes.

Tom

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 13, 2014, 10:50am UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/15 "2014-05-13T10:50:30Z")

</div>

On 12.05.2014 12:53, Nemanja S. wrote:

> dst\_data[-Ntest:], 2)  
> File

“/home/savi\_ne/tools/gnuradio-3.7.3/gnuradio-runtime/python/gnuradio/gr\_unittest.py”,

> line 74, in assertComplexTuplesAlmostEqual  
> self.assertComplexAlmostEqual (a[i], b[i], places, msg)  
> File

“/home/savi\_ne/tools/gnuradio-3.7.3/gnuradio-runtime/python/gnuradio/gr\_unittest.py”,

> line 47, in assertComplexAlmostEqual  
> (msg or ‘%s != %s within %s places’ % (`first`, `second`, `places` ))  
> AssertionError: (-0.32564974754236342-0.94549047690899302j) !=  
> (-0.56183856725692749-0.82724255323410034j) within 2 places

Which VOLK machine are you using?

Martin

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 13, 2014, 12:17pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/16 "2014-05-13T12:17:15Z")

</div>

It is written:  
Using Volk machine: avx\_64\_mmx

Best

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 23, 2014, 12:15pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/17 "2014-05-23T12:15:49Z")

</div>

So, is there any solution or nobody did see the last email?

Best,  
Nemanja

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [May 23, 2014, 5:12pm UTC](https://www.ruby-forum.com/t/error-while-building-3-7-3-on-rhel6/241017/18 "2014-05-23T17:12:17Z")

</div>

On Fri, May 23, 2014 at 6:14 AM, Nemanja S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> So, is there any solution or nobody did see the last email?
> 
> Best,  
> Nemanja

It’s hard to track the issue through so many emails that switch topics.  
Can  
you start a new thread with all of the relevant information. When  
dealing  
with numerical errors, please remember to include information about the  
processor and platform you’re running on.

Tom
