php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8286 unresolved external symbol _ap_child_terminate@4
Submitted: 2000-12-15 17:35 UTC Modified: 2001-01-06 03:29 UTC
From: cynic at mail dot cz Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (15/12/2000) OS: NT 5 SP 1
Private report: No CVE-ID: None
 [2000-12-15 17:35 UTC] cynic at mail dot cz
php4-200012151245 against apache-1.3_20001214111201, apache-1.3_20001215171202 and apache_1.3.14, and 
php4-200012151345 against apache_1.3.14:

Creating library ..\..\Release_TS_inline/php4apache.lib and object ..\..\Release_TS_inline/php4apache.exp
php_apache.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
..\..\Release_TS_inline/php4apache.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

php4apache.dll - 2 error(s), 98 warning(s)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 10:40 UTC] sniper@php.net
Is this still happening with latest CVS? 
IIRC this was fixed already.

--Jani
 [2000-12-18 11:14 UTC] cynic at mail dot cz
Yes, still there. Tested with php4-200012180545.tar.bz2 and php4-200012180645.tar.bz2 against apache-1.3_20001218111201.tar.gz. php-4.0.4RC6.tar.gz built successfully.

It seems like RC6 branch was forked just in time after http://bugs.php.net/bugs.php?id=8256 (14. 12. 2000) compile failure was resolved and this one (15. 12. 2000) was introduced.
 [2000-12-18 11:19 UTC] cynic at mail dot cz
Umm, if the RC6 date as seen on www.php.net/distributions matches the snaps' timezone, RC6 was probably forked BEFORE the #8256 entry.
 [2000-12-20 08:52 UTC] cynic at mail dot cz
Latest CVS snapshot (php4-200012200445) still errs. PHP 4.0.4 (http://www.php.net/distributions/php-4.0.4.tar.gz)builds fine.

Linking...
   Creating library ..\..\Release_TS_inline/php4apache.lib and object ..\..\Release_TS_inline/php4apache.exp
php_apache.obj : error LNK2001: unresolved external symbol _ap_child_terminate@4
..\..\Release_TS_inline/php4apache.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

php4apache.dll - 2 error(s), 98 warning(s)

 [2000-12-27 11:40 UTC] jalal@php.net
Further feedback...
Apache checks a define MULTITHREADED, if this is on (which is in NT) the ap_child_terminate() function in not included in the library.
Commenting out the call ap_child_terminate in php_apache.c, line 121 allows compilation to complete, although what the long term effects are, I don't know.

 [2001-01-06 03:29 UTC] cynic@php.net
fixed.
calls to apache_child_terminate will only issue a warning. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 01:00:02 2026 UTC