FAQ
Hi All

I have downloaded the snapshot build of PHP6 from snaps.php.net but noticed
the building of the apache extensions are failing.

According to the log I can see the following 3 problems

Creating library Release_TS\php6apache.lib and object Release_TS\php6apache.exp
mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
SAPI sapi\apache build complete

c:\php4build\snap>NMAKE /I /nologo "php6apache2.dll"
NMAKE : fatal error U1073: don't know how to make
'sapi\apache2handler\mod_php5.c'
Stop.

c:\php4build\snap>NMAKE /I /nologo "php6apache2_2.dll"
NMAKE : fatal error U1073: don't know how to make
'sapi\apache2handler\mod_php5.c'
Stop.


Is there any chance of getting these fixed soon so I can get my application
tested with PHP6?

TIA

Marco

Search Discussions

  • Marco at Jun 1, 2008 at 1:35 pm
    I've done some quick checks and I think part of the problem is in the
    following commit

    http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.w32?r1=1.4&r2=1.5

    AFAICS mod_php5.c has been renamed mod_php.c in PHP6.

    Regards

    Marco
  • Matt Wilmas at Jun 1, 2008 at 2:12 pm
    Hi Marco,

    ----- Original Message -----
    From: "Marco"
    Sent: Sunday, June 01, 2008
    I've done some quick checks and I think part of the problem is in the
    following commit

    http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.w32?r1=1.4&r2=1.5
    AFAICS mod_php5.c has been renamed mod_php.c in PHP6.
    You're right about the filename, so I corrected config.w32. Though I'm not
    sure about the "unresolved external" part from your next message, so we'll
    wait for someone with more experience than me in that area I guess. :-)
    Regards

    Marco
    - Matt
  • Marco at Jun 1, 2008 at 2:15 pm


    You're right about the filename, so I corrected config.w32. Though I'm not
    sure about the "unresolved external" part from your next message, so we'll
    wait for someone with more experience than me in that area I guess. :-)

    Thanks Matt!

    Regards

    Marco
  • Marco at Jun 1, 2008 at 1:57 pm

    mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
    Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
    SAPI sapi\apache build complete
    I think this part was broken with

    http://cvs.php.net/viewvc.cgi/php-src/sapi/apache/mod_php.c?r1=1.6&r2=1.7

    Its very possible i'm wrong as my c coding skills are very rusty.

    Hopefully someone will know more accurately so we can get the SAPI's working
    again.

    Regards

    Marco
  • Pierre Joye at Jun 1, 2008 at 2:00 pm
    Hi,
    On Sun, Jun 1, 2008 at 3:57 PM, Marco wrote:
    mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
    Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals
    SAPI sapi\apache build complete
    I think this part was broken with

    http://cvs.php.net/viewvc.cgi/php-src/sapi/apache/mod_php.c?r1=1.6&r2=1.7

    Its very possible i'm wrong as my c coding skills are very rusty.

    Hopefully someone will know more accurately so we can get the SAPI's working
    again.

    Can you open a bug report please? One of the windows guys (me or
    other) will try to fix this as soon as possible.

    Thanks for the head up!

    Cheers,
  • Marco at Jun 1, 2008 at 2:07 pm
    Hi Pierre

    Can you open a bug report please? One of the windows guys (me or
    other) will try to fix this as soon as possible.

    Thanks, bug reported at http://bugs.php.net/bug.php?id=45144
    Thanks for the head up!

    Thanks for the quick response!

    Regards

    Marco
  • Marco at Jun 1, 2008 at 2:23 pm

    Creating library Release_TS\php6apache.lib and object Release_TS\php6apache.exp
    mod_php.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
    Release_TS\php6apache.dll : fatal error LNK1120: 1 unresolved externals

    SAPI sapi\apache build complete

    btw, thought i'd check PHP 5.3 and the issue is also there for the
    php5apache.dll module

    Creating library Release_TS\php5apache.lib and object Release_TS\php5apache.exp
    mod_php5.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
    Release_TS\php5apache.dll : fatal error LNK1120: 1 unresolved externals
    SAPI sapi\apache build complete


    Regards

    Marco

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJun 1, '08 at 1:15p
activeJun 1, '08 at 2:23p
posts8
users3
websitephp.net

3 users in discussion

Marco: 6 posts Pierre Joye: 1 post Matt Wilmas: 1 post

People

Translate

site design / logo © 2022 Grokbase