Error building under Win32/Cygwin

Hi,

I’m trying to build SDL on a Winbox under Cygwin.
I’ve followed the autogen/configure/make instructions but everytime
I’m getting the below errors during make.
(I’ve tried building SDL-1.2.8, 1.2.7, and current CVS - same errors)
Can anyone please assist?

Creating library file: .libs/libSDL.dll.a
audio/.libs/libaudio.a(SDL_audio.o)(.data+0x0):
In function SDL_RunAudio': /cygdrive/c/src/sdl/src/audio/SDL_audio.c:122: undefined reference to_WAVEOUT_bootstrap’
audio/.libs/libaudio.a(SDL_audio.o)(.data+0x4):
/cygdrive/c/src/sdl/src/audio/SDL_audio.c:122:
undefined reference to _DISKAUD_bootstrap' video/.libs/libvideo.a(SDL_video.o)(.data+0x0): In functionSDL_VideoInit’:
/cygdrive/c/src/sdl/src/video/SDL_video.c:146:
undefined reference to _WINDIB_bootstrap' video/.libs/libvideo.a(SDL_video.o)(.data+0x4): /cygdrive/c/src/sdl/src/video/SDL_video.c:146: undefined reference to_DUMMY_bootstrap’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0x17):
In function SDL_JoystickInit': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:58: undefined reference to_SDL_SYS_JoystickInit’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0x190):
In function SDL_JoystickOpen': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:127: undefined reference to_SDL_SYS_JoystickOpen’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0x6a5):
In function SDL_JoystickClose': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:380: undefined reference to_SDL_SYS_JoystickClose’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0x788):
In function SDL_JoystickQuit': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:418: undefined reference to_SDL_SYS_JoystickQuit’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0xa14):
In function SDL_JoystickUpdate': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:549: undefined reference to_SDL_SYS_JoystickUpdate’
joystick/.libs/libjoystick.a(SDL_joystick.o)(.text+0xe8):
In function SDL_JoystickName': /cygdrive/c/src/sdl/src/joystick/SDL_joystick.c:92: undefined reference to_SDL_SYS_JoystickName’
cdrom/.libs/libcdrom.a(SDL_cdrom.o)(.text+0xe):
In function SDL_CDROMInit': /cygdrive/c/src/sdl/src/cdrom/SDL_cdrom.c:65: undefined reference to_SDL_SYS_CDInit’
cdrom/.libs/libcdrom.a(SDL_cdrom.o)(.text+0x637):
In function SDL_CDROMQuit': /cygdrive/c/src/sdl/src/cdrom/SDL_cdrom.c:348: undefined reference to_SDL_SYS_CDQuit’
collect2: ld returned 1 exit status
make[2]: *** [libSDL.la] Error 1
make[2]: Leaving directory /cygdrive/c/src/sdl/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/cygdrive/c/src/sdl/src’
make: *** [all-recursive] Error 1