| Summary: | building against libmad is broken (with fix) | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | email, fran, juan_memo19, prefer.irc, sezeroz |
| Version: | 2.0.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
build fix for mp3-mad
build fix for mp3-mad (updated) |
||
*** Bug 2744 has been marked as a duplicate of this bug. *** This patch looks better than the proposed at bug #2399 (duplicate of this). Created attachment 1888 [details]
build fix for mp3-mad (updated)
Updated the patch to regenerate configure and also set MIX_INIT_MP3 in mixer.c for libmad-enabled builds.
*** Bug 3069 has been marked as a duplicate of this bug. *** I'm bumping priority because it affects all debian-esque systems. I changed the configure.in patch, please check if this works. https://hg.libsdl.org/SDL_mixer/rev/1aca2b6d570f Thanks! *** Bug 2399 has been marked as a duplicate of this bug. *** Works for me, thanks! Great, thanks! *** Bug 3119 has been marked as a duplicate of this bug. *** |
Created attachment 1887 [details] build fix for mp3-mad 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.