Compiling for SHARED Lib: SDL_mmjoystick undefined reference

Hello my friends
I have a small problem of reference when I compile Urho3D with SHARED option.
When I compile for STATIC lib, I do not have any problem.
Thanks for any answer…

I am not able to reproduce your problem with the SHARED lib type MinGW build on my Win7 (virtual) host system. How did you generate the MinGW makefile? Did you use our CMake build script?

Hallo weitjong, thanks for your time.
I have used Cmake-GUI to generate the project for Eclipse but sight your answer-question have compiled with the script and executed mingw32-make from the commands line and this time has not given to me herror any.
Sometimes one chooses the most difficult and less suitable way to do the things.