libspeutils?

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

Moderator: unsolo

Locked
konni
Posts: 6
Joined: Sun Sep 28, 2008 11:58 pm

libspeutils?

Post by konni »

mhhm... somehow this seems to be a dependency for building spu-medialib now - but can't find any infos on it. any ideas? ;)
ps3fanboy
Posts: 66
Joined: Sun Jul 06, 2008 2:03 am

Post by ps3fanboy »

no, don't think that such a lib exists.
konni
Posts: 6
Joined: Sun Sep 28, 2008 11:58 pm

Post by konni »

still the current svn version requires it... ;(
konni
Posts: 6
Joined: Sun Sep 28, 2008 11:58 pm

Post by konni »

however, configure runs now. but make gives me this:

Code: Select all

In file included from tile_funct.c:1:
tile_funct.h:4:32: error: speutils/spethread.h: No such file or directory
tile_funct.h:5:33: error: speutils/spemessage.h: No such file or directory
In file included from tile_funct.c:1:
tile_funct.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘spu_fill_handle’
tile_funct.h:16: error: expected specifier-qualifier-list before ‘spu_thread_t’
tile_funct.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘spu_fill_handle’
tile_funct.c: In function ‘fill_init’:
tile_funct.c:26: error: ‘tile_job_t’ has no member named ‘fill’
tile_funct.c:28: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:28: error: ‘tile_job_t’ has no member named ‘fill’
tile_funct.c:30: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:32: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:32: error: ‘spu_fill_handle’ undeclared (first use in this function)
tile_funct.c:32: error: (Each undeclared identifier is reported only once
tile_funct.c:32: error: for each function it appears in.)
tile_funct.c:34: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:38: warning: incompatible implicit declaration of built-in function ‘free’
tile_funct.c:40: error: ‘NULL’ undeclared (first use in this function)
tile_funct.c: In function ‘fill_start’:
tile_funct.c:53: error: ‘UPDATE’ undeclared (first use in this function)
tile_funct.c:54: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c: In function ‘fill_stop’:
tile_funct.c:63: error: ‘STOP’ undeclared (first use in this function)
tile_funct.c:64: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:65: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:66: warning: incompatible implicit declaration of built-in function ‘free’
tile_funct.c: In function ‘fill_repeat’:
tile_funct.c:75: error: ‘RUN’ undeclared (first use in this function)
tile_funct.c:76: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c: In function ‘fill_wait’:
tile_funct.c:93: error: ‘tile_job_t’ has no member named ‘sput’
tile_funct.c:94: error: ‘STOP’ undeclared (first use in this function)
make[1]: *** [tile_funct.lo] Error 1
make[1]: Leaving directory `/home/konni/spu-medialib/src'
make: *** [all-recursive] Error 1
so now 'speutils' are missing... mhhm...
ngharo
Posts: 4
Joined: Fri Oct 26, 2007 3:00 am

Post by ngharo »

http://code.google.com/p/speutils/

Good Luck. Post back if you have success.
konni
Posts: 6
Joined: Sun Sep 28, 2008 11:58 pm

Post by konni »

ok things look better now, but make still gets stuck

Code: Select all

make[2]: Entering directory `/home/konni/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 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"spu-medialib-spe\" -DVERSION=\"VERSION\" -I. -Igeneric -I../../include -I../include    -g -O2 -MT spu_yuv2argb_scaler.o -MD -MP -MF .deps/spu_yuv2argb_scaler.Tpo -c -o spu_yuv2argb_scaler.o spu_yuv2argb_scaler.c
spu_yuv2argb_scaler.c:42:33: error: speutils/spu_dmalib.h: No such file or directory
make[2]: *** [spu_yuv2argb_scaler.o] Error 1
make[2]: Leaving directory `/home/konni/spu-medialib/spu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/konni/spu-medialib/spu'
make: *** [all-recursive] Error 1
the link 'speutils' in spu/src/ seems to be wrong somehow as the directory speutils doesnt exist. i created it and copied the missing spu_dmalib.h from spu/include. now i get:

Code: Select all

In file included from spu_fill.c:15:
spu_fill.h:8:34: error: speutils/spu_message.h: No such file or directory
spu_fill.c: In function 'main':
spu_fill.c:34: error: 'RDY' undeclared (first use in this function)
spu_fill.c:34: error: (Each undeclared identifier is reported only once
spu_fill.c:34: error: for each function it appears in.)
spu_fill.c:47: error: 'UPDATE' undeclared (first use in this function)
spu_fill.c:57: error: 'RUN' undeclared (first use in this function)
spu_fill.c:62: error: 'STOP' undeclared (first use in this function)
spu_fill.c:66: error: 'EXIT' undeclared (first use in this function)
make[2]: *** [spu_fill.o] Error 1
make[2]: Leaving directory `/home/konni/spu-medialib/spu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/konni/spu-medialib/spu'
make: *** [all-recursive] Error 1
and i don't have any spu_message.h file...
ngharo
Posts: 4
Joined: Fri Oct 26, 2007 3:00 am

Post by ngharo »

Looks like you want to put all speutils files in /home/konni/spu-medialib/spu/src/speutils
konni
Posts: 6
Joined: Sun Sep 28, 2008 11:58 pm

Post by konni »

ok worked fine. didn't notice speutils placed some files in /usr/spu-elf/include and not only in /usr/include.
had to manually copy ps3fb.h to /usr/include/asm-powerpc/ and it compiled ;)
thanks a lot!
now moving on to mplayer-ps3...
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Don't do it alone.
Locked