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 - building against libmad is broken (with fix)
Summary: building against libmad is broken (with fix)
Status: RESOLVED DUPLICATE of bug 2743
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 18:54 UTC by Ozkan Sezer
Modified: 2014-09-30 18:57 UTC (History)
0 users

See Also:


Attachments

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