ID: 7648
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Compile Failure
Assigned To: 
Comments:

No feedback, considered fixed.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-01-02 09:00:44] [EMAIL PROTECTED]
Please try PHP 4.0.4 as this should be fixed.

--Jani

---------------------------------------------------------------------------

[2000-11-05 16:56:16] [EMAIL PROTECTED]
I was only able to compile Apache w/ PHP as a static module (on HP-UX 11 using GCC) 
after modifying the function zend_extension_startup in the Zend/zend_extensions.c file 
to include preprocessor lines concerning conditional support of Zend extensions. 
Modified code looks like this:

static void zend_extension_startup(zend_extension *extension)
{
    /* following line added */
    #if ZEND_EXTENSIONS_SUPPORT
    if(extension->startup) {
        if(extension->startup(extension)!=SUCCESS) {
            DL_UNLOAD(extension->handle)
        }
    }
    /* following line added */
    #endif
}
 Before adding these lines I got the following error message when running make install 
on Apache after creating PHP as a static module:

/usr/ccs/bin/ld: Unsatisfied symbols:
  DL_UNLOAD (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7648&edit=2


-- 
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