Re: Undefined symbols
Thanks to all for their suggestions. Changing the include to <xc.h> did make the program compile and link appropriately. However, I would caution all those advocates of the Microchip method to be aware of the following:
All the #include files mentioned in xc.h were included in the local file, so the compiler (and syntax checker) found no issues. The problem came up after the compile, during the linking process. None of the included files in xc.h had the absolute address of internal registers, so the values could not be mapped. Ergo, the xc.h file itself does not seem to be the answer directly, but there must be another file (pic18f25k20.h) that DOES have that information. Somehow, the location and implementation of this file is abetted by the indication that one is using the default location of the other includes, so the linker knows where to find it. When I have time, I will use the prior method of using xc.h in the local source directory,and include the pic18f25k20.h file to complete the link process. For now, I'm just going to be content with the compile operating 'correctly' with the default xc.h location.
If you're wondering why I'd like to keep all the files local, just think about how you're going to archive this when you're all done for the next generation to use. It's enough that I have to record the IDE and Compiler version, but also all the other files for this as well in different directories?