thanks, and found a small bug

Thanks to you all for the recent help. I am now able to build lammps to my satisfaction.

One thing I noticed in my build (On the 16 Feb 2015 version). On line 935 in

fix_ave_check.cpp there is a use of the ftruncate function. This function is defined in unistd.h, which is not in the include list for that file. Adding include unistd.h to the cpp file fixes the problem and makes for a good build.

added it - will be in next patch - thanks