php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10562 undefined symbol alloca while building apache
Submitted: 2001-04-30 13:09 UTC Modified: 2001-06-03 05:02 UTC
From: ian dot palfrey at eu dot watsonwyatt dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: AIX 4.3.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ian dot palfrey at eu dot watsonwyatt dot co dot uk
New email:
PHP Version: OS:

 

 [2001-04-30 13:09 UTC] ian dot palfrey at eu dot watsonwyatt dot co dot uk
I trying to build Apache 1.3.19 with PHP4 and Oracle 8.1.7.
I've now loaded the latest version of PHP4 from snaps.php.net as 4.0.4pl1 didn't detect Oracle 8 correctly and built this OK with:-

cd php4-200104270145
export ORACLE_HOME=/o8/product/8.1.7
./configure --without-mysql 
    --with-oracle 
    --with-apache=../apache_1.3.19 --enable-track-vars
make
make install

It thens fails when I try to link it into Apache with:-

cd ../apache_1.3.19
./configure --activate-module=src/php4/libphp4.a
make

make returns the following error about alloca

        cc  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT 
  -U__STR__ -DAIX_BIND_PROCESSOR 
  -qnogenpcomp -qnousepcomp -I/ora4/test/php4-200104270145 
  -I/ora4/test/php4-200104270145/main 
  -I/ora4/test/php4-200104270145/main 
  -I/ora4/test/php4-200104270145/Zend 
  -I/ora4/test/php4-200104270145/Zend 
  -I/ora4/test/php4-200104270145/TSRM
  -I/ora4/test/php4-200104270145/TSRM 
  -I/ora4/test/php4-200104270145 -DUSE_EXPAT 
  -I./lib/expat-lite 
  -DNO_DL_NEEDED 
  -ma `./apaci` -lm -lpthread    
  -o httpd buildmark.o modules.o  modules/php4/libphp4.a  modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a  
  -R/o8/product/8.1.7/lib  
  -L/o8/product/8.1.7/lib 
  -Lmodules/php4 -L../modules/php4 
  -L../../modules/php4 -lmodphp4   
  -ldl -lld -lbsd_r -lm -lodm -ldl -lcrypt -lbind -lm 
  -ldl -lclntsh  
ld: 0706-027 The -R /o8/product/8.1.7/lib flag is ignored.
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.


Stop.


I've read elsewhere on bug 9079 that alloca() is not part of 4.3.3 so I've even tried setting CFLAGS=-ma as suggested.  This also fails.  Any ideas?

Thanks IanP

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 05:02 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC