Hi! Just try this:
1) Edit your Makefile and replace BUILD_CLI = echo '\#! .' > php.sym && echo >>php.sym && nm ... by BUILD_CLI = echo >php.sym && nm ... it just removes the first echo. I don't know why it doesn't work but i have this problem since php 5.1.6 and always the same solution... Be careful: don't use vi but vim because some lines in the Makefile are longer than 2048 bytes. Best regards. C.LEGENDRE