> ../C/c_interface.c:1332: error: 'BK_B' undeclared (first use in this function)
> ../C/c_interface.c:1332: error: 'BK_CreepFlag' undeclared (first use in this
+function)
> ../C/c_interface.c:1332: error: 'BK_CP' undeclared (first use in this
+function)
> ../C/c_interface.c:1332: error: 'BK_TR' undeclared (first use in this
+function)
> ../C/c_interface.c: In function 'YAP_LeaveGoal':
>...
gcc 4.3 enforces the requirement that open() with O_CREAT in the second argument have a third argument. See 'man open' for more info.
Here's a patch from Ubuntu that does that.