Still have the compiling problems in mingw. Don't know why it works in cygwin without these problems... anyone a suggestion?
@Amnon82 About -rdynamic: Bilu