View previous topic :: View next topic |
Author |
Message |
konni
Joined: 28 Sep 2008 Posts: 6
|
Posted: Tue Sep 30, 2008 3:17 am Post subject: libspeutils? |
|
|
mhhm... somehow this seems to be a dependency for building spu-medialib now - but can't find any infos on it. any ideas? ;) |
|
Back to top |
|
|
ps3fanboy
Joined: 06 Jul 2008 Posts: 66
|
|
Back to top |
|
|
konni
Joined: 28 Sep 2008 Posts: 6
|
Posted: Tue Sep 30, 2008 6:08 am Post subject: |
|
|
still the current svn version requires it... ;( |
|
Back to top |
|
|
konni
Joined: 28 Sep 2008 Posts: 6
|
Posted: Mon Oct 06, 2008 1:46 am Post subject: |
|
|
however, configure runs now. but make gives me this:
Code: | 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... |
|
Back to top |
|
|
ngharo
Joined: 26 Oct 2007 Posts: 4
|
|
Back to top |
|
|
konni
Joined: 28 Sep 2008 Posts: 6
|
Posted: Wed Oct 08, 2008 1:32 am Post subject: |
|
|
ok things look better now, but make still gets stuck
Code: | 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: |
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... |
|
Back to top |
|
|
ngharo
Joined: 26 Oct 2007 Posts: 4
|
Posted: Wed Oct 08, 2008 3:02 am Post subject: |
|
|
Looks like you want to put all speutils files in /home/konni/spu-medialib/spu/src/speutils |
|
Back to top |
|
|
konni
Joined: 28 Sep 2008 Posts: 6
|
Posted: Wed Oct 08, 2008 7:41 pm Post subject: |
|
|
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... |
|
Back to top |
|
|
unsolo
Joined: 16 Apr 2007 Posts: 155 Location: OSLO Norway
|
|
Back to top |
|
|
|