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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 11:01:27 2024 UTC