VC6 link errors

I was able to build version 1.2.8 SDL.dll, SDL.lib and SDLmain.lib with
VC6 without a problem.

I have an existing project using SDL v1.2.7 (which used to build without
problem), but when I tried to build recently I got numerous link errors
to do with DirectX. So I added SOME (not all) of the DirectX libraries
to the link step (even though I know I shouldn’t have to do this to
build an SDL project), and most of the problems went away. Now I get
these errors, and I don’t know how to resolve them:

Linking…
Creating library Release/sprite2.lib and object Release/sprite2.exp
SDL.lib(SDL_mmjoystick.obj) : error LNK2001: unresolved external symbol
__ftol2
SDL.lib(SDL_audiocvt.obj) : error LNK2001: unresolved external symbol
__ftol2
SDL.lib(SDL_yuv_sw.obj) : error LNK2001: unresolved external symbol __ftol2
Release/sprite2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Seems like something happened to my build environment, but I have no
idea what. Does anyone know what the problem could be?