When you use uFCoder static library, you must define DL_USE_STATIC_LIB macro before include uFCoder.h Additionally, add following linker flags "-lpthread -ldl"