Hello guys,
 
I am trying to compile libjpeg using mingw. But till now i havenot got any success. When trying to compile sample appliction cjpeg.c i am getting following errors:
 

cjpeg.o:cjpeg.c:(.text+0x5ec): undefined reference to `_imp__jpeg_set_colorspace'

cjpeg.o:cjpeg.c:(.text+0x652): undefined reference to `_imp__jpeg_simple_progression'

cjpeg.o:cjpeg.c:(.text+0x894): undefined reference to `_imp__jpeg_quality_scaling'

cjpeg.o:cjpeg.c:(.text+0xb16): undefined reference to `_imp__jpeg_std_error'

cjpeg.o:cjpeg.c:(.text+0xb35): undefined reference to `_imp__jpeg_CreateCompress'

cjpeg.o:cjpeg.c:(.text+0xb5d): undefined reference to `_imp__jpeg_set_defaults'

cjpeg.o:cjpeg.c:(.text+0xcb9): undefined reference to `_imp__jpeg_default_colorspace'

cjpeg.o:cjpeg.c:(.text+0xcea): undefined reference to `_imp__jpeg_stdio_dest'

cjpeg.o:cjpeg.c:(.text+0xcfb): undefined reference to `_imp__jpeg_start_compress'

cjpeg.o:cjpeg.c:(.text+0xd0f): undefined reference to `_imp__jpeg_write_scanlines'

cjpeg.o:cjpeg.c:(.text+0xd4a): undefined reference to `_imp__jpeg_finish_compress'

cjpeg.o:cjpeg.c:(.text+0xd53): undefined reference to `_imp__jpeg_destroy_compress'

i configured using ./configure --enable-static. and made it using command make. Any pointers would be helpful.

--
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).