build should be stable again - added cyclic redundancy checking, and a bunch of other missing definitions / declarations in various sources.