Hi,

I've been trying the instructions in the wiki with ubuntu 15.04 and gcc 4.8
(4.9 also gave me problems).

I got the following error checking out the android branch from git://
git.gnuradio.org/gnuradio.git
error: The following untracked working tree files would be overwritten by
checkout:
    volk/CMakeLists.txt
   .......................
Aborting

But it worked well with the repo: https://github.com/trondeau/gnuradio/

I also got an error compiling GRAnd. It seems to be related with boost,
which I cross compiled following the instructions. I've attached the output
of make, if anyone has the time to have a look at it it would be much
appreciated.

Thanks,
Murray

2015-05-06 8:29 GMT+01:00 Lin HUANG <huanglin.b...@gmail.com>:

> Wow, it's so cool! I'll have a try, following your wiki. -Lin
>
> 2015-05-06 4:06 GMT+08:00 Tom Rondeau <t...@trondeau.com>:
>
>> While I have been talking around it for a while, I wanted to better
>> publicize our work on GNU Radio for Android. We can now build applications
>> that run GNU Radio flowgraphs on Android (>= 5.0). We build the flowgraph
>> in C++ and link it through to a Java app for the user interface using the
>> JNI. I have tried to collect the howtos for getting all of the various
>> parts up and running here:
>>
>> http://gnuradio.org/redmine/projects/gnuradio/wiki/Android
>>
>> Last week, we got UHD support working, and I felt this was a big marker
>> in our progress on the project. To top it off, we now even have ControlPort
>> support on Android apps, which makes it possible to provide remote control
>> and run tools like gr-perf-monitorx, from which I'm already finding out new
>> things about GNU Radio and Android device performance issues.
>>
>> There's still a big warning about this being a work in progress, and it
>> definitely is. However, with the support for all of the various hardware
>> and tools that we now have, I think we're at a place of usability for a lot
>> of applications.
>>
>> Feel free to ask questions if things in the wiki don't work for you. I've
>> tried to go through it multiple times and make it as robust as possible and
>> mostly things should be copy-and-paste. But as things change, and they do
>> rapidly here, we're likely to continue to need some evolution of the
>> instructions.
>>
>> I will hopefully post some of my simple applications online sometime
>> soon, as well.
>>
>> Tom
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
 user@pc:~/code/gr-grand/build$ make
Scanning dependencies of target gnuradio-grand
[  6%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/sensor_base.cc.o
[ 13%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o
[ 20%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/light_sensor_impl.cc.o
[ 26%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/opensl_sink_impl.cc.o
[ 33%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/opensl_source_impl.cc.o
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-grand.dir/float_array_impl.cc.o
Linking CXX shared library libgnuradio-grand.so
CMakeFiles/gnuradio-grand.dir/sensor_base.cc.o:sensor_base.cc:function boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*): error: undefined reference to 'boost::detail::get_current_thread_data()'
CMakeFiles/gnuradio-grand.dir/sensor_base.cc.o:sensor_base.cc:function boost::condition_variable::wait(boost::unique_lock<boost::mutex>&): error: undefined reference to 'boost::this_thread::interruption_point()'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::has_msg_port(boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::eqv(boost::intrusive_ptr<pmt::pmt_base> const&, boost::intrusive_ptr<pmt::pmt_base> const&)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::has_msg_port(boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::eqv(boost::intrusive_ptr<pmt::pmt_base> const&, boost::intrusive_ptr<pmt::pmt_base> const&)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::has_msg_port(boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::dict_has_key(boost::intrusive_ptr<pmt::pmt_base> const&, boost::intrusive_ptr<pmt::pmt_base> const&)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::has_msg_handler(boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::eqv(boost::intrusive_ptr<pmt::pmt_base> const&, boost::intrusive_ptr<pmt::pmt_base> const&)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::has_msg_handler(boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::eqv(boost::intrusive_ptr<pmt::pmt_base> const&, boost::intrusive_ptr<pmt::pmt_base> const&)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> >::~pair(): error: undefined reference to 'pmt::intrusive_ptr_release(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> >::~pair(): error: undefined reference to 'pmt::intrusive_ptr_release(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function boost::function1<void, boost::intrusive_ptr<pmt::pmt_base> >::operator()(boost::intrusive_ptr<pmt::pmt_base>) const: error: undefined reference to 'pmt::intrusive_ptr_add_ref(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function boost::function1<void, boost::intrusive_ptr<pmt::pmt_base> >::operator()(boost::intrusive_ptr<pmt::pmt_base>) const: error: undefined reference to 'pmt::intrusive_ptr_release(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function boost::function1<void, boost::intrusive_ptr<pmt::pmt_base> >::operator()(boost::intrusive_ptr<pmt::pmt_base>) const: error: undefined reference to 'pmt::intrusive_ptr_release(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function std::_Rb_tree<boost::intrusive_ptr<pmt::pmt_base>, std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> >, std::_Select1st<std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> > >, pmt::comparator, std::allocator<std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> > > >::_M_insert_(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> > const&): error: undefined reference to 'pmt::intrusive_ptr_add_ref(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function std::map<boost::intrusive_ptr<pmt::pmt_base>, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)>, pmt::comparator, std::allocator<std::pair<boost::intrusive_ptr<pmt::pmt_base> const, boost::function<void (boost::intrusive_ptr<pmt::pmt_base>)> > > >::operator[](boost::intrusive_ptr<pmt::pmt_base> const&): error: undefined reference to 'pmt::intrusive_ptr_add_ref(pmt::pmt_base*)'
CMakeFiles/gnuradio-grand.dir/accelerometer_impl.cc.o:accelerometer_impl.cc:function gr::basic_block::dispatch_msg(boost::intrusive_ptr<pmt::pmt_base>, boost::intrusive_ptr<pmt::pmt_base>): error: undefined reference to 'pmt::intrusive_ptr_add_ref(pmt::pmt_base*)'
collect2: error: ld returned 1 exit status
lib/CMakeFiles/gnuradio-grand.dir/build.make:214: recipe for target 'lib/libgnuradio-grand.so' failed
make[2]: *** [lib/libgnuradio-grand.so] Error 1
CMakeFiles/Makefile2:123: recipe for target 'lib/CMakeFiles/gnuradio-grand.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-grand.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to