On 09/17/2013 10:19 AM, Dincer Beken wrote:
root@openwns-desktop:/home/openwns/GnuRadioBastian/gr-foo/build# make
[  4%] Building CXX object
lib/CMakeFiles/gnuradio-foo.dir/packet_dropper_impl.cc.o
In file included from
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc:18:
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.h:28:
error: ‘default_random_engine’ in namespace ‘std’ does not name a type
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.h:29:
error: ISO C++ forbids declaration of ‘uniform_real_distribution’ with
no type
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.h:29:
error: invalid use of ‘::’
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.h:29:
error: expected ‘;’ before ‘<’ token
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc: In
constructor ‘gr::foo::packet_dropper_impl::packet_dropper_impl(double,
long unsigned int)’:
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc:28:
error: class ‘gr::foo::packet_dropper_impl’ does not have any field
named ‘d_generator’
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc:29:
error: class ‘gr::foo::packet_dropper_impl’ does not have any field
named ‘d_distribution’
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc: In
member function ‘void
gr::foo::packet_dropper_impl::msg_handler(pmt::pmt_t)’:
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc:42:
error: ‘d_generator’ was not declared in this scope
/home/openwns/GnuRadioBastian/gr-foo/lib/packet_dropper_impl.cc:42:
error: ‘d_distribution’ was not declared in this scope
make[2]: *** [lib/CMakeFiles/gnuradio-foo.dir/packet_dropper_impl.cc.o]
Fehler 1
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Fehler 2
make: *** [all] Fehler 2


Meanwhile we figured out its a compile problem... I use some C++11 stuff and this does not work with g++ v4.4 :-/

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to