ORA-06550 is probably pointing to a particular place in your code and also telling about a component that has to be declared, innit?

Check your code, probably syntax error, a typo or privileges related.

As Gandolf pointed out, hard to tell if you are neither showing what your intend to do nor the actual error message.