In reply to dave_59:
Following up on Dave’s comment, it is very hard to determine where your error is coming from since you didn’t show how your code is partitioned into separate files.
However, as a rule, wherever you import “uvm_pkg::*”, you should immediately `include “uvm_macros.svh”. You don’t follow this rule for your package ‘packkage’, and hence the first errors you are seeing. The remainder are probably cascading errors, but you will have to continue debugging.
I did notice several other errors, but that exercise will be left to the reader.