Let me guess, you have a PCI soundcard? It's probably your sound driver. Windows 95 and 98 (first edition anyway) have problems detecting PCI soundcards, so you might not even have a sound driver. I got that error message with my SB Live! before I installed drivers for it (stupid me)
Does sound work in other applications besides winamp? that's something to check before going any further.