Hello,
To compile with 4.2RC1 and onward, you need to apply the attached patch to beta5.
--
Cyrille Berger