Q: What does it mean when the linker says that _end is undefined?
A: That message is a quirk of the old Unix linkers. You get an error about _end being undefined only when other symbols are undefined, too--fix the others, and the error about _end will disappear. (See also questions 13.25 and 13.26.)