Cross-compiling gcell for PS3 - unknown error

Hello everyone:

I’m trying to cross compile gcell for the PS3 and I am running into an
error
I don’t quite understand. An excerpt of the log is listed below.

Making all in src
make[1]: Entering directory /mnt/share/gr/trunk/gcell/src' Making all in include make[2]: Entering directory/mnt/share/gr/trunk/gcell/src/include’
Making all in spu
make[3]: Entering directory /mnt/share/gr/trunk/gcell/src/include/spu' make[3]: Nothing to be done forall’.
make[3]: Leaving directory /mnt/share/gr/trunk/gcell/src/include/spu' make[3]: Entering directory/mnt/share/gr/trunk/gcell/src/include’
make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/mnt/share/gr/trunk/gcell/src/include’
make[2]: Leaving directory /mnt/share/gr/trunk/gcell/src/include' Making all in lib make[2]: Entering directory/mnt/share/gr/trunk/gcell/src/lib’
Making all in spu
make[3]: Entering directory /mnt/share/gr/trunk/gcell/src/lib/spu' make[3]: Nothing to be done forall’.
make[3]: Leaving directory /mnt/share/gr/trunk/gcell/src/lib/spu' Making all in runtime make[3]: Entering directory/mnt/share/gr/trunk/gcell/src/lib/runtime’
make[3]: Nothing to be done for all'. make[3]: Leaving directory/mnt/share/gr/trunk/gcell/src/lib/runtime’
Making all in general
make[3]: Entering directory /mnt/share/gr/trunk/gcell/src/lib/general' make[3]: Nothing to be done forall’.
make[3]: Leaving directory /mnt/share/gr/trunk/gcell/src/lib/general' Making all in wrapper make[3]: Entering directory/mnt/share/gr/trunk/gcell/src/lib/wrapper’
/bin/sh …/…/…/…/libtool --tag=CXX --mode=link ppu32-g++ -g -O2
-Wall
-Woverloaded-virtual -pthread -L/mnt/cell-root/lib
-L/mnt/cell-root/usr/lib
-o libwrapper.la gcp_fft_1d_r2.lo gcell_all.lo
ppu-ar cru .libs/libwrapper.a .libs/gcp_fft_1d_r2.o .libs/gcell_all.o
ppu-ar: .libs/gcell_all.o: No such file or directory
make[3]: *** [libwrapper.la] Error 1
make[3]: Leaving directory /mnt/share/gr/trunk/gcell/src/lib/wrapper' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/mnt/share/gr/trunk/gcell/src/lib’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/share/gr/trunk/gcell/src’
make: *** [all-recursive] Error 1

I’ve gone through some of the relevant makefiles and I cannot find where
the
ppu-ar call comes from. I see that ‘ppu-ar’ is listed as the default for
‘AR’ but no other references. Furthermore, the file gcell_all.o does not
exist in the given directory (neither does libwrapper.a for that
matter).
I’ve tried restarting with a clean checkout (8542) to no avail.

Note also that disabling gcell in the configure script results in a
successful build. I’m using an x86_64 box as the build machine and both
are
using Fedora 7. Any help is appreciated.

View this message in context:
http://www.nabble.com/Cross-compiling-gcell-for-PS3---unknown-error-tp17602973p17602973.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Quoting Eric S. [email protected]:

ppu-ar cru .libs/libwrapper.a .libs/gcp_fft_1d_r2.o .libs/gcell_all.o
ppu-ar: .libs/gcell_all.o: No such file or directory
make[3]: *** [libwrapper.la] Error 1
make[3]: Leaving directory /mnt/share/gr/trunk/gcell/src/lib/wrapper' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/mnt/share/gr/trunk/gcell/src/lib’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/share/gr/trunk/gcell/src’
make: *** [all-recursive] Error 1

Same here - All I know is you have to type ‘make clean’, then ‘make’
again w/o the ‘-j3’ option.

–Chuck

Thank you, Chuck, that worked. I tried pretty much every -j option
before
that except getting rid of it entirely. Glad to see somebody else
already
had the same problem and fixed it.

Charles S.-3 wrote:

/bin/sh …/…/…/…/libtool --tag=CXX --mode=link ppu32-g++ -g -O2
make[1]: *** [all-recursive] Error 1


Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/Cross-compiling-gcell-for-PS3---unknown-error-tp17602973p17606268.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Mon, Jun 02, 2008 at 07:42:14AM -0700, Eric S. wrote:

Making all in spu
make[3]: Entering directory `/mnt/share/gr/trunk/gcell/src/lib/spu’
Making all in wrapper
make[1]: *** [all-recursive] Error 1
successful build. I’m using an x86_64 box as the build machine and both are
using Fedora 7. Any help is appreciated.

Were you by any chance doing a “make -j”.
There’s a known problem with that in the gcell directory (ticket:242).

Eric