Is the name of your kernel "main"?
If not, then the name of the kernel you want to look at and the compilation name must be the same.
If they are the same and you get this error then your kernel does not compile, in which case there is usually some errors in the text box below to help you out.