A bug exists in drvTS.c that only appears on Tornado 2.2.
To make the necessary source code changes, download the patch file from here (shift+click on that link in most browsers) and and copy it to the <base>/src/db directory. Then use the patch program to apply the change as follows:
zeus% patch < drvTS.patch Looks like a unified context diff. done
Finally run gnumake at the top of the base tree.