Hi tech c adc code not working as expected
Different versions of the HiTech C Compiler have defined PIC pins/ports in different ways.  Then, when Microchip absorbed HiTech C, some were changed again.

If you look into your pic.h file, you will see which definitions file is being referenced for the PIC16F877A.  Then, look into that file to find the mapping #defines...

For example, in PICC 9.50, it is defined as ADGO.  In 9.83, it is defined as both ADGO and GODONE.  I've also seen references to GO_DONE and GO_nDONE.

You could simply try these, and find which one works.  I suggest, however, that you find the file so you can see the other pin/port/register mappings, too.

Good luck!