Add "void * __dso_handle = 0;", then it's ok.