| View previous topic :: View next topic |
| Author |
Message |
Koba
Joined: 29 Sep 2005 Posts: 59
|
Posted: Sat May 20, 2006 11:49 am Post subject: SDL_mixer error compiling |
|
|
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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sat May 20, 2006 12:05 pm Post subject: |
|
|
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 |
|
 |
Koba
Joined: 29 Sep 2005 Posts: 59
|
Posted: Sat May 20, 2006 12:41 pm Post subject: |
|
|
| 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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Tue May 30, 2006 12:12 pm Post subject: |
|
|
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 |
|
 |
|