This error has the following cause and solution:
The label must be within the procedure that contains the reference. Line labels are visible only in their own procedures.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).