Near "uvm_sequence_item": syntax error, unexpected IDENTIFIER

In reply to saritr:

Can you post the error message?

Correction:

Compiling class files has no point here. Only compile files which are modules(module, package, interface.) with vlog command. And include all class files in top module or package.