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 2744

Summary: building against libmad is broken (with fix)
Product: SDL_mixer Reporter: Ozkan Sezer <sezeroz>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.0   
Hardware: All   
OS: All   

Description Ozkan Sezer 2014-09-30 18:54:44 UTC
Configuring current hg with --disable-music-mp3-smpeg --enable-music-mp3-mad-gpl
fails compilation:

mixer.c: In function ‘Mix_LoadWAV_RW’:
mixer.c:655: warning: assignment makes pointer from integer without a cast
build/.libs/libSDL2_mixer.so: undefined reference to `Mix_LoadMP3_RW'
collect2: ld returned 1 exit status
build/.libs/libSDL2_mixer.so: undefined reference to `Mix_LoadMP3_RW'

The attached simple patch fixes this.
Comment 1 Ozkan Sezer 2014-09-30 18:57:39 UTC
Dup of 2743. Please ignore.

*** This bug has been marked as a duplicate of bug 2743 ***