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 - Build error: 'native_midi_ok' undeclared
Summary: Build error: 'native_midi_ok' undeclared
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 00:55 UTC by Nikos Chantziaras
Modified: 2012-01-03 17:07 UTC (History)
0 users

See Also:


Attachments
config.log (30.07 KB, text/plain)
2012-01-03 00:55 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
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