It happens that you reference a type, variable, function using the wrong package and unit names.
In general, you can simply look at your code and change the name on the left side as in:
<package>.<name>
Note that this error occurs because <package> exists. However <name> is not defined in <package>.