SDL_mixer error compiling

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

SDL_mixer error compiling

Post by Koba »

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: Select all

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.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

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
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

Post by Koba »

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.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

What version of automake and autoconf do you have?

1.9 - automake is the one you need
autoconf requires 2.59 or something
Post Reply