From:             [EMAIL PROTECTED]
Operating system: Windows 2000 Professional
PHP version:      4.2.3
PHP Bug Type:     Compile Failure
Bug description:  Link fails in apache2filter module (apache2.0.43)

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 bug report at http://bugs.php.net/?id=19999&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19999&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19999&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19999&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19999&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19999&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19999&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19999&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19999&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19999&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19999&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19999&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19999&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19999&r=isapi

Reply via email to