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 revision 114 cannot compile

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



Joined: 05 Nov 2007
Posts: 6

PostPosted: Wed Nov 07, 2007 9:21 pm    Post subject: spu-medialib revision 114 cannot compile Reply with quote

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
Back to top
View user's profile Send private message
unsolo



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

PostPosted: Wed Nov 07, 2007 10:55 pm    Post subject: Reply with quote

Hmm that looks odd

Try following this step by step

http://wiki.ps2dev.org/ps3:spu-medialib:install
_________________
Don't do it alone.
Back to top
View user's profile Send private message
mksm



Joined: 01 Nov 2007
Posts: 3

PostPosted: Thu Nov 08, 2007 2:04 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
unsolo



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

PostPosted: Thu Nov 08, 2007 9:24 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
unsolo



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

PostPosted: Fri Nov 09, 2007 8:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
TimeZlicer



Joined: 05 Nov 2007
Posts: 6

PostPosted: Fri Nov 09, 2007 1:37 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
unsolo



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

PostPosted: Fri Nov 09, 2007 5:10 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mksm



Joined: 01 Nov 2007
Posts: 3

PostPosted: Sat Nov 10, 2007 4:03 am    Post subject: Reply with quote

If by "nasty exit bug" you mean mplayer/screen hangs after playing a file, then I can confirm that.
Back to top
View user's profile Send private message
unsolo



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

PostPosted: Sun Nov 11, 2007 7:21 pm    Post subject: Reply with quote

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.
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