DX5_SoundFocus error during cygwin install

Hi,

I’ve tried to install SDL for my cygwin. According to
http://www.libsdl.org/extras/win32/cygwin/README.txt I tried ./configure &&
make && make install but the ./configure doesn’t passed. from it’s log it
seems I need the DirectX headers. According the Q & A in the
http://www.libsdl.org/extras/win32/cygwin/README.txt, I installed the
http://www.libsdl.org/extras/win32/cygwin/directx-devel.tar.gz headers. Next
time the configure passed, but during the make the following error message
is generated:

libs/libSDL.lax/libvideo.al/SDL_dibvideo.lo(.text+0x18f0): In function
`DX5_SoundFocus’:

/home/Tomi/SDL-1.2.5/src/video/windib/SDL_dibvideo.c:999: multiple
definition of `DX5_SoundFocus’

libs/libSDL.lax/libaudio.al/SDL_dx5audio.lo(.text+0x650):/home/Tomi/SDL-1.2
5/src/audio/windx5/SDL_dx5audio.c:246: first defined here

I’ve tried to install the other 2 ‘cygwin-extra’ nasm.exe and
opengl-devel.tar.gz but it doesn’t matter.

Please point me what should I do!

Thanks,
Thomas

Hi,

I’ve tried to install SDL for my cygwin. According to
http://www.libsdl.org/extras/win32/cygwin/README.txt I tried ./configure &&
make && make install but the ./configure doesn’t passed. from it’s log it
seems I need the DirectX headers. According the Q & A in the
http://www.libsdl.org/extras/win32/cygwin/README.txt, I installed the
http://www.libsdl.org/extras/win32/cygwin/directx-devel.tar.gz headers. Next
time the configure passed, but during the make the following error message
is generated:

Try doing make clean and then rebuild. It looks like some of the files
got built with DirectX enabled and some with it disabled.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Dear Sam,
Thanks for help! It works!
Thomas> Try doing make clean and then rebuild. It looks like some of the files

got built with DirectX enabled and some with it disabled.