I'm trying to build ohcount on gentoo. I've run into the same problem on ubuntu. I keep getting this error.
gcc: TMPFILESARE_DT_UNKNOWN: No such file or directory
I have all the deps installed. I'm using gcc 4.3.2 and trying to build ohcount from the git source.