vsnprintf problem with Apache & PHP

From: Date: Tue, 17 Apr 2001 16:02:09 +0000
Subject: vsnprintf problem with Apache & PHP
Groups: php.install 
Request: Send a blank email to php-install+get-2800@lists.php.net to get a copy of this message
Hi! I'm trying to compile a static build of the latest PHP into Apache 1.3.19 on Tru64 4.0f. I use gcc 2.92.2 as compiler and the latest GNU make. I've previously done this with PHP 4.03 and Apache 1.3.12, but the current versions doesn't seem to work. I first run a configure on Apache, then build PHP for Apache, go back to the Apache source dir and configure again with PHP activated. When finally doing a make I soon run into this : /usr/bin/ld: Unresolved: vsnprintf collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/opt/statdb/src/apache_1.3.19/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/opt/statdb/src/apache_1.3.19' make: *** [build] Error 2 When configuring PHP I get : checking for vsnprintf... no So I wouldn't expect PHP to try using this function (which is not in Tru64 4.x but only 5.x). I've tried to compile Apache without PHP and this works OK, so the problem seems to be related to PHP, but at the same time I have no problem building PHP as a binary, so the problem is only when I try to combine Apache and PHP. How to fix this ? /Jesper

« previous php.install (#2800) next »