Just clarifying, I'm getting this problem with 1.7.9.10
I've temporarily worked around it by using some older files, but if I use the files as shipped in the newest version, I get the same "undefined function secure_compare()" error message from any of the php files that call secure_compare() as a function.