php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10317 undefined symbol: NOT_FOUND
Submitted: 2001-04-13 11:36 UTC Modified: 2001-04-17 05:34 UTC
From: dmassot at interface-ing dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2001-04-13 11:36 UTC] dmassot at interface-ing dot com
Hi,

we'e a problem compiling PHP 4.0 latest (11/4/2001).
We type in a

./configure --with-oci8=/ext1/oracle8/app/oracle/product/8.1.6 --with-apxs=/usr/local/apache/bin

and obtain a 

...

Making all in apache
/bin/sh /apps/apache/httpd-2_0_16/php-4.0.4pl1/libtool --silent --mode=compile c
c  -I. -I/apps/apache/httpd-2_0_16/php-4.0.4pl1/sapi/apache -I/apps/apache/httpd
-2_0_16/php-4.0.4pl1/main -I/apps/apache/httpd-2_0_16/php-4.0.4pl1 -I/usr/local/
apache/include -I/apps/apache/httpd-2_0_16/php-4.0.4pl1/Zend -I/apps/apache/http
d-2_0_16/php-4.0.4pl1/ext/mysql/libmysql -I/ext1/oracle8/app/oracle/product/8.1.
6/rdbms/public -I/ext1/oracle8/app/oracle/product/8.1.6/rdbms/demo -I/ext1/oracl
e8/app/oracle/product/8.1.6/network/public -I/apps/apache/httpd-2_0_16/php-4.0.4
pl1/ext/xml/expat/xmltok -I/apps/apache/httpd-2_0_16/php-4.0.4pl1/ext/xml/expat/
xmlparse -I/apps/apache/httpd-2_0_16/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTI
CS -DXML_BYTE_ORDER=21 -g  -c sapi_apache.c
"sapi_apache.c", line 80: undefined symbol: NOT_FOUND
cc: acomp failed for sapi_apache.c
*** Error code 1
make: Fatal error: Command failed for target `sapi_apache.lo'
Current working directory /apps/apache/httpd-2_0_16/php-4.0.4pl1/sapi/apache
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /apps/apache/httpd-2_0_16/php-4.0.4pl1/sapi/apache
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /apps/apache/httpd-2_0_16/php-4.0.4pl1/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'



Thanks for any help in this,
Didier



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-13 12:08 UTC] sniper@php.net
For Apache2 you have to use --with-apxs2

--Jani

 [2001-04-17 05:34 UTC] dmassot at interface-ing dot com
we'e a new problem :
./configure 	
--prefix=/apps/php4/bin 
--with-oci8=/ext1/oracle8/app/oracle/product/8.1.6 
--with-apxs2=/apps/apache/bin/apxs

....


$ make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../main
  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_
ORDER=21 -I../TSRM -DTHREAD=1  -mt -c zend_language_scanner_cc.cc
"zend_compile.h", line 31: Error: Could not open include file <istream.h>.
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `zend_language_scanner_cc.lo'
Current working directory /apps/php4/php-4.0.4pl1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'           


Thanks for any help in this,
Didier


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC