Are you using the latest SVN trunc code?
If yes, when did you grab the code?
If not try the very latest CF SVN code as it has changes for 3.1.6 from a few weeks ago.
If the latest truck codes does not help , then comi9ler are you using? Version and the URL you used to download it from?
When did you grab the 3.1.6 Github sources to do the build?