spu-medialib revision 114 cannot compile

"A collection of spu programs to accelerate media related applications for the CellBE ( PS3 ) platform" - unsolo

Moderator: unsolo

Post Reply
TimeZlicer
Posts: 6
Joined: Mon Nov 05, 2007 9:39 pm

spu-medialib revision 114 cannot compile

Post by TimeZlicer »

Making all in src
make[1]: Entering directory `/usr/local/src/spu-medialib/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/spu-medialib/src'
Making all in spu
make[1]: Entering directory `/usr/local/src/spu-medialib/spu'
Making all in src
make[2]: Entering directory `/usr/local/src/spu-medialib/spu/src'
spu-elf-gcc -DPACKAGE_NAME=\"spu-medialib/spe\" -DPACKAGE_TARNAME=\"spu-medialib-spe\" -DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"spu-medialib/spe\ VERSION\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE=\"spu-medialib-spe\" -DVERSION=\"VERSION\" -I. -I../../include -I../include -g -O2 -MT spu_blit_yuv422.o -MD -MP -MF .deps/spu_blit_yuv422.Tpo -c -o spu_blit_yuv422.o spu_blit_yuv422.c
In file included from spu_blit_yuv422.c:45:
../include/spu_yuv_conv.h:444: error: expected ')' before 'short'
../include/spu_yuv_conv.h: In function 'global_blend':
../include/spu_yuv_conv.h:724: warning: excess elements in vector initializer
../include/spu_yuv_conv.h:724: warning: (near initialization for '(anonymous)')
../include/spu_yuv_conv.h:725: warning: excess elements in vector initializer
../include/spu_yuv_conv.h:725: warning: (near initialization for '(anonymous)')
../include/spu_yuv_conv.h:726: warning: excess elements in vector initializer
../include/spu_yuv_conv.h:726: warning: (near initialization for '(anonymous)')
make[2]: *** [spu_blit_yuv422.o] Error 1
make[2]: Leaving directory `/usr/local/src/spu-medialib/spu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/spu-medialib/spu'
make: *** [all-recursive] Error 1
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Hmm that looks odd

Try following this step by step

http://wiki.ps2dev.org/ps3:spu-medialib:install
Don't do it alone.
mksm
Posts: 3
Joined: Thu Nov 01, 2007 10:23 am

Post by mksm »

I've followed the installation instructions and got the same issue here.

The only (weird/wrong) thing I did was to replace "spur" with "spu" in spu-medialib/config.sub file. Had to do that or else ./configure --host spu-elf in spu/ would not work. It reported a "machine spu not recognized" message.

Regards,

mksm
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

We are working on setting up the host as a crossdev so you can configure it from the base up.

I compiled the last revision again yesterday w/o having any issues

Most of the developers here use spu-elf-gcc (4.3) perhaps your system does not have this naming for it and you then might need to change host name accordingly.

Also ensure that you have the latest autotools.

I am sorry i cannot do more at this stage
Don't do it alone.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Please try revision 115
Seems gcc 4.1.1 and gcc-4.3 has a different opinion what vector short is as 4.3 asumes that is vector signed short.

Cheers
Don't do it alone.
TimeZlicer
Posts: 6
Joined: Mon Nov 05, 2007 9:39 pm

Post by TimeZlicer »

cool! thanks again!

sorry that I can't help with the debugging,
i will try to build your releases ground up.

will find time tonight to change to Gentoo on PS3 and see if the situation improves.

do you recommend ul32 or ul64?
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

You do not have to change to get rev 115 going however it seems to have a rather nasty exit bug when we shutdown the spu.
Don't do it alone.
mksm
Posts: 3
Joined: Thu Nov 01, 2007 10:23 am

Post by mksm »

If by "nasty exit bug" you mean mplayer/screen hangs after playing a file, then I can confirm that.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

mksm wrote:If by "nasty exit bug" you mean mplayer/screen hangs after playing a file, then I can confirm that.
Could you please run it over ssh with mplayer set to verbose and paste the results back here.

thanks :)
Don't do it alone.
Post Reply