Step 4 of the manual install instructions "Merge in this patch to fix compilation on the Rpi" leads to an error in compiling psmoveapi. This error does not appear when compiling psmoveapi, if step 4 isn't implemented.
The error I get is the same as this one, with the same error details in the relevant files: thp/psmoveapi#223