It's because of incompatibles with current SDL_mixer library. There is patch fixing this bug in CVS of doomlegacy project.
Created attachment 99065 [details, diff] this is that patch
Removed from the tree.