Actually, not much troubleshooting can be done when compiling
static or dynamic modules_ The only problem that could arise is
that the compiler will complain about missing definitions or
something similar_ In this case, make sure that all header files
are available and that you specified their path correctly in the
compilation command_ To be sure that everything is located
correctly, extract a clean PHP source tree and use the automatic
build in the ext directory with the fresh
files; this will guarantee a safe compilation environment_ If this
fails, try manual compilation_
PHP might also complain about missing functions in your module_
(This shouldn't happen with the sample sources if you didn't modify
them_) If the names of external functions you're trying to access
from your module are misspelled, they'll remain as "unlinked
symbols" in the symbol table_ During dynamic loading and linkage by
PHP, they won't resolve because of the typing errors _ there are no
corresponding symbols in the main binary_ Look for incorrect
declarations in your module file or incorrectly written external
references_ Note that this problem is specific to dynamic loadable
modules; it doesn't occur with static modules_ Errors in static
modules show up at compile time_