In reply to chr_sue:
In reply to saritr: When compiling pakmx_sequence.sv the compiler does not know uvm_sequence_item. You have first to import the uvm_pkg.
I do this in my top file