We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1358

Summary: Build error: 'native_midi_ok' undeclared
Product: SDL_mixer Reporter: Nikos Chantziaras <realnc>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86_64   
OS: Linux   
Attachments: config.log

Description Nikos Chantziaras 2012-01-03 00:55:45 UTC
Created attachment 759 [details]
config.log

I'm getting a build error with the current version from hg:

libtool: compile:  gcc -g -O2 -D_GNU_SOURCE=1 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fvisibility=hidden -DHAVE_FORK -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -pthread -D_REENTRANT -DMOD_DYNAMIC=\"libmikmod.so.3\" -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_FLUIDSYNTH_MIDI -DFLUIDSYNTH_DYNAMIC=\"libfluidsynth.so.1\" -DOGG_MUSIC -DOGG_DYNAMIC=\"libvorbisfile.so.3\" -DFLAC_MUSIC -DFLAC_DYNAMIC=\"libFLAC.so.8\" -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MUSIC -I/usr/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DMP3_DYNAMIC=\"libsmpeg-0.4.so.0\" -MMD -MT build/music.lo -c music.c  -fPIC -DPIC -o build/.libs/music.o
music.c: In function 'music_halt_or_loop':
music.c:203:41: error: 'native_midi_ok' undeclared (first use in this function)

This is on a Gentoo AMD64 system.  GCC 4.5.3.  SDL 1.2.14.

config.log attached.
Comment 1 Sam Lantinga 2012-01-03 17:07:24 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL_mixer/rev/323b314739ef