php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3112 unsatisfied symbol alloca at apache make stage
Submitted: 2000-01-05 22:33 UTC Modified: 2000-06-09 11:57 UTC
From: mark dot kirkwood at hnz dot co dot nz Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: hppa1.1-hp-hpux11.00 ( 9000/700
Private report: No CVE-ID: None
 [2000-01-05 22:33 UTC] mark dot kirkwood at hnz dot co dot nz
./configure guesses that alloca.h and alloca are implemented on this os, and the  php4 make and make install complete ok. However the apache make fails with message - unsatisfied symbol alloca.

I can fix this by editing php_config.h and zend/zend_config.h and #defining HAVE_ALLOCA and HAVE_ALLOCA_H to 0 ( obviously so now the build uses its own alloca ).

This is a bit messy ( and took me ages to work out .... )

Steps to reproduce :
in apache_1.3.9 : 
./configure --prefix=/usr/local/apache 
in php4 :
./configure --with-apache=../apache_1.3.9 --enabletrack-vars
make
make install
in apache_1.3.9 :
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
make
fails with unsatisfied symbol alloca

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-12 09:12 UTC] sas at cvs dot php dot net
Does your OS have alloca? Some compilers provide a built-in implementation of alloca, so we need more information about your setup.
 [2000-03-03 14:24 UTC] sas at cvs dot php dot net
Status change
 [2000-06-09 11:57 UTC] stas at cvs dot php dot net
no user feedback	
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 06:00:01 2026 UTC