Several comments on your question:
-
The errors you are seeing are due to UVM requiring a DPI library to be compiled and loaded during simulation. You aren’t compiling the DPI code and the errors you are getting are because of this.
-
Questasim 10.0b is almost 3 years old. I would recommend updating to the latest Questasim version which is 10.3_1.
-
Questasim contains pre-compiled versions of UVM so you don’t need to compile UVM. The pre-compiled UVM library will automatically be used when you
import the UVM library orinclude the UVM macros. The DPI library will also be loaded automatically when you use the pre-compiled library. -
If you insist on compiling the UVM library separately, instructions can be found here.