Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libSDL_mixer should be linked with -lm #87

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

libSDL_mixer should be linked with -lm #87

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.11
Reported for operating system, platform: Linux, Other

Comments on the original bug report:

On 2010-06-24 01:24:22 +0000, Hans de Goede wrote:

Hi,

SDL_mixer uses pow (in timidity/instrum.c), so it should be linked with -lm. As SDL_mixer links against SDL, which in turn is linked against -lm this is normally not a problem. But with the recent changes to gnu ld's rule form implicit dso linkage this can cause compile errors for programming using SDL_mixer, see:
https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
https://bugzilla.redhat.com/show_bug.cgi?id=607357

Regards,

Hans

On 2011-02-17 13:21:03 +0000, Sam Lantinga wrote:

This is fixed, thanks!
http://hg.libsdl.org/SDL_mixer/rev/db31b63abab9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant