I have a new warning "warning: -fPIC ignored for target (all code is position independent)" Under Windows - Mingw CMAKE_SHARED_LIBRARY_C_FLAGS and CMAKE_SHARED_LIBRARY_CXX_FLAGS has to be cleared of -fPIC, -fIPC is not used with gcc in Windows. Samuel E. Henley OSRail.net