#19999 [Fbk->Bgs]: Link fails in apache2filter module (apache2.0.43)
| From: | edink@php.net | Date: | Wed, 23 Oct 2002 22:54:43 +0000 |
| Subject: | #19999 [Fbk->Bgs]: Link fails in apache2filter module (apache2.0.43) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23143@lists.php.net to get a copy of this message | ||
ID: 19999
Updated by: edink@php.net
Reported By: waves256@nycap.rr.com
-Status: Feedback
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows 2000 Professional
PHP Version: 4.2.3
New Comment:
This is not a bug in the PHP code but probably a problem
with your build environment. Our snapshot builder at
http://snaps.php.net/ has no problems building
php4apache2.dll for either php-4.2.4-dev or php-4.3.0-dev.
Previous Comments:
------------------------------------------------------------------------
[2002-10-23 16:06:51] waves256@nycap.rr.com
I downloaded the cvs version - same link errors
here are the messages which occurred during the build.
--------------------Configuration: php4apache2 - Win32
Debug_TS--------------------
Compiling...
apache_config.c
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
php_functions.c
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(113) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(114) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(129) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(130) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(131) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(132) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(133) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(134) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
sapi_apache2.c
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(113) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(114) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(129) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(130) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(131) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(132) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(133) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\php4cvs\php4\sapi\apache2filter\php_functions.c(134) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(140) : warning C4018:
'<' : signed/unsigned mismatch
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(158) : warning C4047:
'=' : 'short ' differs in levels of indirection from 'void *'
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(159) : warning C4047:
'=' : 'short ' differs in levels of indirection from 'void *'
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(160) : warning C4244:
'=' : conversion from 'unsigned __int64 ' to 'unsigned short ',
possible loss of data
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(161) : warning C4244:
'=' : conversion from '__int64 ' to 'long ', possible loss of data
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(162) : warning C4244:
'=' : conversion from '__int64 ' to 'long ', possible loss of data
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(163) : warning C4244:
'=' : conversion from '__int64 ' to 'long ', possible loss of data
f:\php4cvs\php4\sapi\apache2filter\sapi_apache2.c(164) : warning C4244:
'=' : conversion from '__int64 ' to 'long ', possible loss of data
Linking...
Creating library ..\..\Debug_TS/php4apache2.lib and object
..\..\Debug_TS/php4apache2.exp
php_functions.obj : error LNK2001: unresolved external symbol
__imp__apr_table_elts@4
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__apr_table_elts@4
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__ap_register_input_filter@16
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__ap_register_output_filter@16
..\..\Debug_TS/php4apache2.dll : fatal error LNK1120: 3 unresolved
externals
Error executing link.exe.
php4apache2.dll - 5 error(s), 43 warning(s)
------------------------------------------------------------------------
[2002-10-20 10:10:30] iliaa@php.net
Could you please try PHP CVS (unstable), it contains a number of fixes.
Any error & warning reports you get would also contain new line #s,
which would help immensly in solving this problem.
------------------------------------------------------------------------
[2002-10-20 09:24:28] waves256@nycap.rr.com
I was attempting to recompile PHP 4.2.3 after compiling and installing
Apache 2.0.43. The build failed while building the apache2filter
module; when linking, there were unresolved symbols which appeared to
be part of the Apache API.
Here are the errors which occurred during compilation:
(the warnings also appeared while compiling with apache2.0.39, but the
linker errors did not appear until I upgraded to 2.0.43.)
--------------------Configuration: php4apache2 - Win32
Release_TS--------------------
Compiling...
apache_config.c
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
php_functions.c
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(94) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(95) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(110) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(111) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(112) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(113) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(114) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(115) : warning
C4244: 'function' : conversion from '__int64 ' to 'long ', possible
loss of data
sapi_apache2.c
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(94) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(95) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(110) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(111) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(112) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(113) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(114) : warning
C4761: integral size mismatch in argument; conversion supplied
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\php_functions.c(115) : warning
C4761: integral size mismatch in argument; conversion supplied
f:\apache2.0.43\include\apr.h(340) : warning C4142: benign redefinition
of type
F:\Sources\php-4.2.3\SAPI\APACHE2FILTER\sapi_apache2.c(139) : warning
C4018: '<' : signed/unsigned mismatch
Linking...
Creating library ..\..\Release_TS/php4apache2.lib and object
..\..\Release_TS/php4apache2.exp
php_functions.obj : error LNK2001: unresolved external symbol
__imp__apr_table_elts@4
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__apr_table_elts@4
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__ap_register_input_filter@16
sapi_apache2.obj : error LNK2001: unresolved external symbol
__imp__ap_register_output_filter@16
..\..\Release_TS/php4apache2.dll : fatal error LNK1120: 3 unresolved
externals
Error executing link.exe.
php4apache2.dll - 5 error(s), 24 warning(s)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19999&edit=1