First, the documentation doesn't cover the latest changes.
    Read the source, luke.

On Tue, Dec 25, 2001 at 05:25:49PM -0500, Craig Morrison wrote : 
> Using the 4.0.6 source tree I get preprocessor errors for undefined symbols
> (STANDARD_MODULE_HEADERS is one). When trying to build under the 4.1.0 tree
> these errors go away, but I get linker errors because of missing libs.

    That's one of the major differences. You need some zend api
    dependend #ifdef's to make the module header work under both
    API's:

#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif

and

#if ZEND_MODULE_API_NO >= 20010901
    NO_VERSION,
#endif


> [...] have all the neccessary include and lib directories set. I have checked both
> trees and the libs in question do not exist.

    The exact error (what lib is missing? whats your config.m4
    and Makefile.in is looking like? Have you checked against
    other extensions how they do it? Have you used ./ext_skel?
    etc...) would help.

    - Markus

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to