Compiling Problems under CygWin

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 toimp

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 toimp

_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 ?!?

“PeZ” schrieb im Newsbeitrag
news:9bp3j5$ia$1 at ftp.lokigames.com

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 toimp

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 toimp

_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 ?!?

i forgot to say …
that compiling applications works just fine …(doing it by hand not using
configure nor make)
the only problems relies in compiling dlls