/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry@12; defaulting to 68041000 src/pkcs11-services.o(.text+0xa):pkcs11-services.c: undefined reference to `__impure_ptr' src/pkcs11-services.o(.text+0x21):pkcs11-services.c: undefined reference to `__impure_ptr' src/pkcs11-services.o(.text+0x71):pkcs11-services.c: undefined reference to `__impure_ptr' src/pkcs11-services.o(.text+0x72e):pkcs11-services.c: undefined reference to `_C_LoadModule' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [csp11.dll] Error 1
If the first warning is only a "normal" warning, the "undefined reference" are more serious :s...
Thanks :)