discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP 2 on PowerPC - any issues?


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] USRP 2 on PowerPC - any issues?
Date: Tue, 8 Sep 2009 10:03:27 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Sep 05, 2009 at 07:10:29PM +1000, Geoff wrote:
> On Fri, 4 Sep 2009 06:47:58 am Eric Blossom wrote:
> snipped
> > > This is interesting news. Hopefully it means that I will be able to get
> > > Gnuradio running on one of my hppa boxen :-). I recently acquired a well
> > > spec'd rp5470 that'd be perfect for the task.
> >
> > I suspect that we won't run on hppa since IIRC it has a virtual mapped
> > cache, which I suspect will kill our mmap-based circular buffer trick.
> >
> > If you've got some time, please try to build it --disable-usrp2
> > --disable-gr-usrp2 on your hppa and let me know if it passes make check.
> >
> > FWIW, the rest of GNU Radio runs fine on PPC / big-endian machines,
> > just not the usrp2 interface.
> >
> > Eric
> 
> Hi Eric et al,
>       Gnu Radio 3.2.2 configures OK but falls over part way through make as 
> per the 
> quote below. I can't write software but I can break stuff!!
> 
> Cheers, Geoff.

This looks like a problem linking with boost threads.

It's been a while since I've used HPUX (that's what you're using,
right?).  Is there something that you need to do to tell the linker
where to look for the installed boost shared libraries?

Eric


> > Making all in tests
> > make[4]: Entering directory
> > `/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/tests' g++ -DHAVE_CONFIG_H
> > -I. -I../../..  -DOMNITHREAD_POSIX=1 -I/usr/include
> > -I/home/vk2tfg/gnuradio-3.2.2/omnithread
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/runtime
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/general
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/general
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/gengen
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/gengen
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/filter
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/filter
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/missing
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/reed-solomon
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/viterbi
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/io
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/g72x
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/swig
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/hier
> > -I/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/swig  
> > -I/home/vk2tfg/gnuradio-3.2.2/gruel/src/include
> > -I/home/vk2tfg/gnuradio-3.2.2/gruel/src/include    -g -O2  -Wall
> > -Woverloaded-virtual -pthread -MT benchmark_dotprod_fff.o -MD -MP -MF
> > .deps/benchmark_dotprod_fff.Tpo -c -o benchmark_dotprod_fff.o
> > benchmark_dotprod_fff.cc mv -f .deps/benchmark_dotprod_fff.Tpo
> > .deps/benchmark_dotprod_fff.Po /bin/sh ../../../libtool --tag=CXX  
> > --mode=link g++ -g -O2  -Wall -Woverloaded-virtual -pthread   -o
> > benchmark_dotprod_fff benchmark_dotprod_fff.o
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/libgnuradio-core.la
> > libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o
> > .libs/benchmark_dotprod_fff benchmark_dotprod_fff.o 
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> > /home/vk2tfg/gnuradio-3.2.2/omnithread/.libs/libgromnithread.so
> > /home/vk2tfg/gnuradio-3.2.2/gruel/src/lib/.libs/libgruel.so -L/usr/lib
> > -lboost_thread-d -lrt /usr/lib/libfftw3f.so -lgsl -lgslcblas -pthread
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> >: undefined reference to `__sync_val_compare_and_swap_4'
> > /home/vk2tfg/gnuradio-3.2.2/gruel/src/lib/.libs/libgruel.so: undefined
> > reference to `boost::thread::start_thread()'
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> >: undefined reference to `boost::this_thread::interruption_point()'
> > /home/vk2tfg/gnuradio-3.2.2/gruel/src/lib/.libs/libgruel.so: undefined
> > reference to
> > `boost::this_thread::disable_interruption::~disable_interruption()'
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> >: undefined reference to `boost::detail::get_current_thread_data()'
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> >: undefined reference to `boost::this_thread::interruption_requested()'
> > /home/vk2tfg/gnuradio-3.2.2/gruel/src/lib/.libs/libgruel.so: undefined
> > reference to `boost::thread::interrupt()'
> > /home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
> >: undefined reference to `__sync_fetch_and_add_4'
> > /home/vk2tfg/gnuradio-3.2.2/gruel/src/lib/.libs/libgruel.so: undefined
> > reference to
> > `boost::this_thread::disable_interruption::disable_interruption()'
> > collect2: ld returned 1 exit status
> > make[4]: *** [benchmark_dotprod_fff] Error 1
> > make[4]: Leaving directory
> > `/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src/tests' make[3]: ***
> > [all-recursive] Error 1
> > make[3]: Leaving directory `/home/vk2tfg/gnuradio-3.2.2/gnuradio-core/src'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/vk2tfg/gnuradio-3.2.2/gnuradio-core'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/vk2tfg/gnuradio-3.2.2'
> > make: *** [all] Error 2
> > address@hidden:~/gnuradio-3.2.2$
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]