Beginner - compilation problem

Hi, there!!! I am a newbie and just installed LibSDL following a simple
instruction “./configure ; make ; make install”. (Maybe I made a mistake
while installing) I compiled my source code using CygWin under Windows98
and got trouble showing the following message : g++ sdl-config --cflags
-D_DEBUG -g -o gl -I/usr/local/include -I/usr/local/ -I/usr/include/mingw
-I/usr/include/GL -L/usr/local/lib -L/usr/lib/mingw main.o common_util.o
matrix_library.o gl_camera.o object.o sdl-config --libs -lopengl 32
-lglu32 -lgdi32 /usr/local/lib/libSDLmain.a(SDL_main.o.b): In function
ParseCommandLine': /usr/include/mingw/ctype.h:141: undefined reference to_imp____mb_cur_max_dll’ /usr/include/mingw/ctype.h:141: undefined
reference to _imp___pctype_dll' /usr/include/mingw/ctype.h:141: undefined reference to_imp____mb_cur_max_dll’ /usr/include/mingw/ctype.h:141:
undefined reference to `_imp___pctype_dll’ collect2: ld returned 1 exit
status make: *** [gl] Error 1 I wonder what was wrong. Does anyone have
idea ? Thanks in advace. Thanks for reading my terrible English. CU