GR 3.7 build failure

I haven’t tried building Gnu Radio in a while, and on my F14 system
today:

15%] Building CXX object
gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o
In file included from
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:27:0:
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.h:48:7:
error: mt19937 in namespace boost::random does not name a type
/home/mleech/gnuradio/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/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:57:9:
error: class gr::blocks::message_strobe_random_impl does not have any
field named d_rng
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc: In
member function void
gr::blocks::message_strobe_random_impl::update_dist():
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:89:95:
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
make: *** [all] Error 2

I’ve seen this mentioned elsewhere, but I don’t see a hint of a fix.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

On Sun, Mar 30, 2014 at 6:33 PM, Marcus D. Leech [email protected]
wrote:

'gr::blocks::message_strobe_random_impl::message_strobe_random_impl(pmt::pmt_t,
Error 1
http://www.sbrac.org
This seems to be an issue with boost’s random number generators. While
what we use exists back to 1.35 (our minimum required version), it
seems like Boost has changed how to access it.

I’m buried for the next few days and won’t be able to address this for
a bit. Can you open this as an issue to remind me (or someone else) to
tackle it?

Thanks,
Tom

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Marcus,

I think I was involved in mentioning it; but I only cared about the
include guard back then (which had an copy/paste error), and did not
fix the actual problem, iirc.

Greetings,
Marcus

On 31.03.2014 00:33, Marcus D. Leech wrote:

I haven’t tried building Gnu Radio in a while, and on my F14 system
today:

15%] Building CXX object
gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o

In file included from
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:27:0:

/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.h:48:7:

error: mt19937 in namespace boost::random does not name a type
/home/mleech/gnuradio/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/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:57:9:

error: class gr::blocks::message_strobe_random_impl does not have any

field named d_rng
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:
In member function void
gr::blocks::message_strobe_random_impl::update_dist():
/home/mleech/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:89:95:

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 make: *** [all] Error 2

I’ve seen this mentioned elsewhere, but I don’t see a hint of a
fix.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTOXpTAAoJEBQ6EdjyzlHtR8wIALSNFeD94sr0cD6tngSuN8y2
4n+MRDv+dSFPeXyksy6X6GL4Tw9b/eeV71X4azeINsE2xVxZ/yoL0icwP94SKxnV
IwJnXdKHuqqKgmuEVNQusAIsj3YIqFuPfrgrHUvyL8TSAfIvDSYmOZCb+w8ZT/Lr
0Xo/xrocs+2liUNDZNIFvoHXCZYgkibFhC4n+1swbJ7ac/pEeUbc8NE9XbFQhp/4
kh+kxBohDWiyhLjayAXeOaLOawbjXxmQOwk0UmW4K13ZSuuc4/YKvdy6q47hOkdP
1LvsrDfrdiNcc9mvKF6WObYfEkM2yxxTaDg/n+pw6SpsuVIepXkrDR3CKw1dvRI=
=WtLN
-----END PGP SIGNATURE-----

Marcus, your fix was merged into maint/master/next.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio