[SDL] Compiling Problems under CygWin

PeZ feckelburger at gmx.net
Fri Apr 20 03:38:31 PDT 2001


configure:2330: gcc -o conftest -g -O2 -I/usr/include/SDL -Dmain=SDL_main
conf
test.c  -L/usr/lib -lcygwin -lSDLmain -lSDL -mwindows 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld:
warn
ing: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0xca): undefined reference to
`_imp___
iob'
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0x144): undefined reference to
`_imp__
_iob'
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0x155): undefined reference to
`_imp__
_iob'
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0x385): undefined reference to
`_imp__
_iob'
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0x3be): undefined reference to
`_imp__
_iob'
/usr/lib/libSDLmain.a(SDL_main.o.b)(.text+0x3d3): more undefined references
to `
_imp___iob' follow
collect2: ld returned 1 exit status
configure: failed program was:
#line 2320 "configure"

can someone tell me what library is the problem ?!?









More information about the SDL mailing list