discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] cross compile gcell for PS3


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] cross compile gcell for PS3
Date: Thu, 3 Apr 2008 16:34:52 -0700
User-agent: Mutt/1.5.17 (2007-11-01)

On Thu, Apr 03, 2008 at 06:38:20PM -0400, Tim Meehan wrote:
> Hello All,
> 
> 
> I was not able to get gcell to compile (trunk 8156).  I had to add the patch
> included to get gcell to compile.  Has anyone been able to get this to
> compile without modification?  Any other ideas on what I may be doing wrong?
> 
> Without the patch I get the following error
> 
> make[3]: Entering directory `/mnt/share/trunk/gcell/src/apps'
> <snip>
> ppu32-g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/test_all
> test_all.o  -L/mnt/cell-root/lib -L/mnt/cell-root/usr/lib
> ../../../gcell/src/lib/.libs/libgcell-qa.so
> /mnt/share/trunk/gcell/src/lib/.libs/libgcell.so  -Wl,--rpath
> -Wl,/mnt/share/cell-install/lib
> /opt/cell/toolchain/bin/ppu-ld: warning: libspe2.so.2, needed by
> /mnt/share/trunk/gcell/src/lib/.libs/libgcell.so, not found (try using
> -rpath or -rpath-link)
> ../../../gcell/src/lib/.libs/libgcell-qa.so: undefined reference to
> `spe_in_mbox_write'
> ../../../gcell/src/lib/.libs/libgcell-qa.so: undefined reference to
> `spe_event_handler_create'
> <snip>

Tim, 

What distribution and version are you running on the build machine?
FC7 or F8?

I'll try to reproduce it on my end, though last time I checked it worked.

I'm assuming you configured with:

 ./configure-cell-cross --prefix=/mnt/share/cell-install


Eric


> 
> 
> Index: gcell/src/apps/Makefile.am
> ===================================================================
> --- gcell/src/apps/Makefile.am  (revision 8156)
> +++ gcell/src/apps/Makefile.am  (working copy)
> @@ -39,9 +39,12 @@
> 
>  test_all_SOURCES = test_all.cc
>  test_all_LDADD = $(GCELL_QA_LA) $(GCELL_LA)
> +test_all_LDFLAGS = -rpath /mnt/cell-root/usr/lib/
> 
>  benchmark_dma_SOURCES = benchmark_dma.cc
>  benchmark_dma_LDADD = spu/benchmark_procs $(GCELL_LA) $(MBLOCK_LA)
> +benchmark_dma_LDFLAGS = -rpath /mnt/cell-root/usr/lib/
> 
>  benchmark_nop_SOURCES = benchmark_nop.cc
>  benchmark_nop_LDADD = spu/benchmark_procs $(GCELL_LA) $(MBLOCK_LA)
> +benchmark_nop_LDFLAGS = -rpath /mnt/cell-root/usr/lib/




reply via email to

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