Description of problem: When compiling a program using SDL_mixer, linking halted, complaining about not being linked to -lm. Version-Release number of selected component (if applicable): 1.2.11-2 How reproducible: Compile a program which includes PKG_CHECK_MODULES([WHATEVER], [SDL_mixer]) in its configure.ac. Steps to Reproduce: see above Actual results: /usr/bin/ld: /usr/lib/libSDL_mixer.so: undefined reference to symbol 'pow@@GLIBC_2.0' /usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line Expected results: no error Additional info: Can be solved by adding WHATEVER_LIBS="$WHATEVER_LIBS -lm" to configure.ac.
Note that the -lm does not need to be present in pkg-config, instead SDL_mixer itself should be directly linked against -lm. I'll take care of fixing this.
A fixed build is on its way to rawhide. I've also filed an upstream bug for this: http://bugzilla.libsdl.org/show_bug.cgi?id=1010
SDL_mixer-1.2.11-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/SDL_mixer-1.2.11-3.fc13
(In reply to comment #3) > SDL_mixer-1.2.11-3.fc13 has been submitted as an update for Fedora 13. > http://admin.fedoraproject.org/updates/SDL_mixer-1.2.11-3.fc13 Hi, It really is not necessary to do an F-13 update for this, as it only causes problems when compiling things and people compiling things / other packages which do need to issue an update for F-13 should be able to work around this easily. Regards, Hans
Ok, thanks for taking care. I will revoke the update then.