Problems with SDL

Sylvain Petreolle spetreolle@yahoo.fr
Sun Aug 4 01:56:00 GMT 2002


Hi list,

I compiled SDL cvs without problems and installed it.
Trying to compile the test programs result in fail.

The 'configure' program from the test directory chacks for SDL 1.2.3
installed and says it isn't.

Looking in config.log as requested gives me a lot of undefined
references. searching through the mailing list archives doesn't give
any valuable results, so I'm posting the errors (only a part).


configure:4325: gcc -o conftest.exe -g -O2 -I/usr/local/include
-I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32
-Uunix -mno-cygwin   conftest.c  -L/usr/local/lib -lmingw32 -lSDLmain
-lSDL -mwindows -mno-cygwin >&5
/usr/local/lib/libSDL.a(SDL_systimer.o): In function `SDL_StartTicks':
/home/Nom/SDL12/src/timer/SDL_systimer.c:73: undefined reference to
`timeBeginPeriod@4'
/home/Nom/SDL12/src/timer/SDL_systimer.c:74: undefined reference to
`timeGetTime@0'
/usr/local/lib/libSDL.a(SDL_systimer.o): In function `SDL_GetTicks':
/home/Nom/SDL12/src/timer/SDL_systimer.c:101: undefined reference to
`timeGetTime@0'
/usr/local/lib/libSDL.a(SDL_systimer.o): In function
`SDL_SYS_TimerInit':
/home/Nom/SDL12/src/timer/SDL_systimer.c:189: undefined reference to
`timeBeginPeriod@4'
/home/Nom/SDL12/src/timer/SDL_systimer.c:195: undefined reference to
`timeSetEvent@20'
/usr/local/lib/libSDL.a(SDL_systimer.o): In function
`SDL_SYS_TimerQuit':
/home/Nom/SDL12/src/timer/SDL_systimer.c:206: undefined reference to
`timeKillEvent@4'
/home/Nom/SDL12/src/timer/SDL_systimer.c:208: undefined reference to
`timeEndPeriod@4'
/usr/local/lib/libSDL.a(SDL_dibaudio.o): In function `SetMMerror':
/home/Nom/SDL12/src/audio/windib/SDL_dibaudio.c:141: undefined
reference to `waveOutGetErrorTextA@12'
/usr/local/lib/libSDL.a(SDL_dibaudio.o): In function `DIB_PlayAudio':
/home/Nom/SDL12/src/audio/windib/SDL_dibaudio.c:174: undefined
reference to `waveOutWrite@12'
/usr/local/lib/libSDL.a(SDL_dibaudio.o): In function `DIB_CloseAudio':


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list