The Makefiles supplied with the library allow each library unit to be compiled and simulated in isolation. When the library unit is instanced within your design, compilation may fail. This may be because compilation of your system may need arguments not present in your system. The following are possible compile-time errors and suggested remedies for each.
Stack size error. Search the Makefile provided for STACK_SIZE. This has a suggested formula for the library unit. Other errors. Search the Makefile provided for UUT_TARGET_COMPILE_ARGS. For each library element there may be compile arguments used to avoid errors or to improve performance, e.g. specifying memories to be on separate banks to avoid wait states. These arguments will likely change with each release as the compile tool changes with each release.