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 

SDL_mixer error compiling

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Koba



Joined: 29 Sep 2005
Posts: 59

PostPosted: Sat May 20, 2006 11:49 am    Post subject: SDL_mixer error compiling Reply with quote

I know i have met the requirements to build this lib, and my configuration flags are exactly as said in the readme, but i get these few errors while trying to make the library.
Code:
music.c:1292: error: syntax error before '*' token
music.c:1292: warning: data definition has no type or storage class
music.c:1293: error: syntax error before '.' token
music.c:1294: error: syntax error before '->' token
music.c:1296: error: syntax error before '->' token
music.c:1297: error: conflicting types for 'm'
music.c:1292: error: previous declaration of 'm' was here
music.c:1297: error: 'MREADER' undeclared here (not in a function)
music.c:1297: error: syntax error before ')' token
music.c:1297: error: 'lmmmr' undeclared here (not in a function)
music.c:1297: error: 'maxchan' undeclared here (not in a function)
music.c:1297: error: initializer element is not constant
music.c:1297: warning: data definition has no type or storage class
music.c:1298: error: syntax error before 'return'
music.c: In function 'Mix_LoadMUS_RW':
music.c:1340: warning: assignment from incompatible pointer type
music.c:1342: error: syntax error before ')' token
make[1]: *** [music.lo] Error 1

so my question is, does anyone have a way around this? if not could somebody send me a pre-compiled SDL_mixer? thanks for your time.
Back to top
View user's profile Send private message AIM Address
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sat May 20, 2006 12:05 pm    Post subject: Reply with quote

There are prerequisites for SDL_Mixer.


Try redownloading it from the SVN..

I suggest if not already done so update autoconf and automake to the co current versions Not sure what they are though
Back to top
View user's profile Send private message AIM Address
Koba



Joined: 29 Sep 2005
Posts: 59

PostPosted: Sat May 20, 2006 12:41 pm    Post subject: Reply with quote

the first thing i said in my post was i have met the requirements for SDL_mixer... SDL, libOgg, libVorbis, libTremor, and i have them all installed. I'm going to try updating autoconf and automake and see what happens. and i have already redownloaded it from the svn a few times now.
Back to top
View user's profile Send private message AIM Address
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue May 30, 2006 12:12 pm    Post subject: Reply with quote

What version of automake and autoconf do you have?

1.9 - automake is the one you need
autoconf requires 2.59 or something
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development 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