problems with phpannodex

A couple of problems with the trunk version of phpannodex:

You need -lannodex in the link command for the shared library otherwise
annodex.so is not noted as a dependency and Apache will not load it when
phpannodex.so is loaded by mod_php. I solved it by hacking Makefile to
add -lannodex to EXTRA_LDFLAGS.

phpannodex uses a function called object_to_head. This does not seem to
exist (anymore) in libannodex or any of the other libraries. This is a
showstopper. I don't know what to do with this. Presumably phpannodex
needs to be rewritten.

(Mailed to module developer also.)