[SDL] SDL_mixer.o and Mingw32

Sam Lantinga slouken at devolution.com
Sat Apr 29 12:31:16 PDT 2000

> Hi,

> I'm currently working on porting a Linux SDL-using program to Windows
> (using Mingw32). Everything is going smoothly except one thing: while
> linking, I get the message:

> undefined reference to SDL_MixAudio()

> When I add the /src/audio/SDL_mixer.o file to the list of object files
> everything links OK. Did I have to specify some option or anything to
> include SDL_mixer.o in the libraries?

Are you using the configure scripts, or the mingw32 makefiles posted

See ya,
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software

More information about the SDL mailing list