forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

spu-medialib 214 Makefile error?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> spu-medialib
View previous topic :: View next topic  
Author Message
zzima



Joined: 13 Mar 2008
Posts: 10

PostPosted: Fri Mar 14, 2008 12:02 am    Post subject: spu-medialib 214 Makefile error? Reply with quote

Tried to compile spu-medialib (svn 214) and failed on spu compilation (not talking about changing "spur" in config file).


I'm on YDL 6 on PS3.

The problem is when trying to make spu/src:


Code:

spu_blit_yuv420_scale.c: In function 'main':
spu_blit_yuv420_scale.c:133: warning: initialization from incompatible pointer type
spu_blit_yuv420_scale.c:134: warning: initialization from incompatible pointer type
/bin/sh ../libtool --tag=CC --mode=link spu-elf-gcc  -g -O2   -o spu_blit_yuv420_scale  spu_blit_yuv420_scale.o
spu-elf-gcc -g -O2 -o spu_blit_yuv420_scale spu_blit_yuv420_scale.o
if 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. -I../../include -I../include    -g -O2 -MT spu_draw_rect.o -MD -MP -MF ".deps/spu_draw_rect.Tpo" -c -o spu_draw_rect.o spu_draw_rect.c; \
        then mv -f ".deps/spu_draw_rect.Tpo" ".deps/spu_draw_rect.Po"; else rm -f ".deps/spu_draw_rect.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link spu-elf-gcc  -g -O2   -o spu_draw_rect  spu_draw_rect.o
spu-elf-gcc -g -O2 -o spu_draw_rect spu_draw_rect.o
spu_yuv2argb_scaler_handle spu_yuv2argb_scaler spu_yuv2argb_scaler.eo
make[1]: spu_yuv2argb_scaler_handle: Command not found
make[1]: *** [spu_yuv2argb_scaler.eo] Error 127
make[1]: Leaving directory `/usr/src/spu-medialib/spu/src'
make: *** [all-recursive] Error 1





While looking at Makefile in spu/src:

Code:

%.eo: %
        $(EMBEDSPU) $<_handle $< $@
# ugly workaround to make libtool happy
        cp $@ $@.o



Any ideas?
Back to top
View user's profile Send private message
ldesnogu



Joined: 17 Apr 2004
Posts: 95

PostPosted: Fri Mar 14, 2008 1:22 am    Post subject: Re: spu-medialib 214 Makefile error? Reply with quote

zzima wrote:
Code:
spu_yuv2argb_scaler_handle spu_yuv2argb_scaler spu_yuv2argb_scaler.eo
make[1]: spu_yuv2argb_scaler_handle: Command not found
make[1]: *** [spu_yuv2argb_scaler.eo] Error 127
make[1]: Leaving directory `/usr/src/spu-medialib/spu/src'
make: *** [all-recursive] Error 1


While looking at Makefile in spu/src:

Code:

%.eo: %
        $(EMBEDSPU) $<_handle $< $@
# ugly workaround to make libtool happy
        cp $@ $@.o

Any ideas?

Hypothesis: is EMBEDSPU variable defined in the makefile?
_________________
Laurent
Back to top
View user's profile Send private message
zzima



Joined: 13 Mar 2008
Posts: 10

PostPosted: Fri Mar 14, 2008 2:01 am    Post subject: Re: spu-medialib 214 Makefile error? Reply with quote

ldesnogu wrote:
zzima wrote:
Code:
spu_yuv2argb_scaler_handle spu_yuv2argb_scaler spu_yuv2argb_scaler.eo
make[1]: spu_yuv2argb_scaler_handle: Command not found
make[1]: *** [spu_yuv2argb_scaler.eo] Error 127
make[1]: Leaving directory `/usr/src/spu-medialib/spu/src'
make: *** [all-recursive] Error 1


While looking at Makefile in spu/src:

Code:

%.eo: %
        $(EMBEDSPU) $<_handle $< $@
# ugly workaround to make libtool happy
        cp $@ $@.o

Any ideas?

Hypothesis: is EMBEDSPU variable defined in the makefile?


Nope. It's undefined.
Back to top
View user's profile Send private message
master-crown



Joined: 14 Mar 2008
Posts: 5

PostPosted: Fri Mar 14, 2008 10:44 am    Post subject: Reply with quote

i have the same problem....
i changed in the config.sub spu to spu....
then i configured a makefile....
and now iam at the same problem it says :

spu_yuv2argb_scaler_handle spu_yuv2argb_scaler spu_yuv2argb_scaler.eo
make[2]: spu_yuv2argb_scaler_handle: Kommando nicht gefunden
make[2]: *** [spu_yuv2argb_scaler.eo] Fehler 127
make[2]: Leaving directory `/home/user/downloads/spu-medialib/spu/src'

my os is YDL 6.0
Back to top
View user's profile Send private message
master-crown



Joined: 14 Mar 2008
Posts: 5

PostPosted: Sat Mar 15, 2008 7:32 am    Post subject: Reply with quote

i found the problem....
because on ydl 6.0 ....
embedspu.sh is not in /usr/bin/
i installed ps3toolchain...
binutils from ps3toolchain installed in /usr/bin/ppu-embedspu....
you must rename ppu-embedspu to embedspu ... now you can install
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Sat Mar 15, 2008 10:26 pm    Post subject: Reply with quote

Its so great to se the one ppc only distribution not following the rules...
good to se you guys figured it out..
_________________
Don't do it alone.
Back to top
View user's profile Send private message
ldesnogu



Joined: 17 Apr 2004
Posts: 95

PostPosted: Sat Mar 15, 2008 10:51 pm    Post subject: Reply with quote

unsolo wrote:
Its so great to se the one ppc only distribution not following the rules...

Is it ydl 6 that doesn't follow the rules or your hacked Gentoo distrib? :)
_________________
Laurent
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Sun Mar 16, 2008 1:25 am    Post subject: Reply with quote

embedspu was a part of the 2.0 SDK and i belive it is simply a pointer to embedspu.sh

spu-elf- was the naming defined to separate it from spu-lv1- to my knowledge

why change these names again is what i wonder.
_________________
Don't do it alone.
Back to top
View user's profile Send private message
zzima



Joined: 13 Mar 2008
Posts: 10

PostPosted: Mon Mar 17, 2008 6:10 pm    Post subject: Reply with quote

master-crown wrote:
i found the problem....
because on ydl 6.0 ....
embedspu.sh is not in /usr/bin/
i installed ps3toolchain...
binutils from ps3toolchain installed in /usr/bin/ppu-embedspu....
you must rename ppu-embedspu to embedspu ... now you can install


Yes, that helped. Thanks a lot. Compiling mplayer now.
Back to top
View user's profile Send private message
hick



Joined: 06 Mar 2008
Posts: 1

PostPosted: Wed Mar 19, 2008 10:13 am    Post subject: Reply with quote

I actually had the compiling all figured out for YDL 6 but I couldn't post as I didn't have an account on the board - it took a while to get it activated because I didn't get the activation email. Otherwise I could have saved you all alot of time.

Anyways, after compiling I couldn't get the xv driver or mplayer to play. They would fail right off the bat. I wasn't sure how to debug this. What tools do you use to debug xv drivers? What do you attach too? Is there a way to get more information for debugging purposes. The /var/log/Xorg logs don't seem to have anything useful.

YDL seems to be a much cleaner OS for the PS3 as far as working out of the box but not having this is the real holdback. I want to use my ps3 as a mythtv frontend.

Thanks,
HIck
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> spu-medialib All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group