[Top][All Lists]

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

[Discuss-gnuradio] cross compile gcell for PS3

From: Tim Meehan
Subject: [Discuss-gnuradio] cross compile gcell for PS3
Date: Thu, 3 Apr 2008 18:38:20 -0400

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'
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'

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]