Bug #10760: Failure during make process
| From: | jorge_faria at yahoo dot com | Date: | Wed, 09 May 2001 17:59:59 +0000 |
| Subject: | Bug #10760: Failure during make process | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54535@lists.php.net to get a copy of this message | ||
From: jorge_faria@yahoo.com
Operating system: Solaris 2.8
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: Failure during make process
here is a log of make
gcc -I. -I/users/packages/php-4.0.4pl1/main -I/users/packages/php-4.0.4pl1/main
-I/users/packages/php-4.0.4pl1 -I/users/packages/apache_1.3.12/src/include
-I/users/packages/apache_1.3.12/src/os/unix -I/users/packages/php-4.0.4pl1/Zend
-I/usr/local/mysql/include/mysql -I/users/packages/php-4.0.4pl1/ext/xml/expat/xmltok
-I/users/packages/php-4.0.4pl1/ext/xml/expat/xmlparse -I/users/packages/php-4.0.4pl1/TSRM
-D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c internal_functions.c && touch
internal_functions.lo
internal_functions.c:49: `phpext_mysql_ptr' undeclared here (not in a function)
internal_functions.c:49: initializer element is not constant
internal_functions.c:49: (near initialization for `php_builtin_extensions[5]')
*** Error code 1
make: Fatal error: Command failed for target `internal_functions.lo'
Current working directory /users/packages/php-4.0.4pl1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /users/packages/php-4.0.4pl1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
SO : Solaris 2.8 Sparc
Hardware : Sun Ultra Sparc 5
All packages recommended by php were installed (gawk , gcc and etc) .
I am able to compile Apache 1.3.12-18 , Apache 2.0, any version of mysql and postgres.
./configure --with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=../apache_1.3.12 \
--enable-track-vars
Jorge Faria
--
Edit Bug report at: http://bugs.php.net/?id=10760&edit=1