Bug #11397 Updated: iPlanet+Sybase+PHP Error
| From: | sniper@php.net | Date: | Tue, 12 Jun 2001 05:29:21 +0000 |
| Subject: | Bug #11397 Updated: iPlanet+Sybase+PHP Error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57220@lists.php.net to get a copy of this message | ||
ID: 11397
Updated by: sniper
Reported By: chenfou@ms34.hinet.net
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Fixed in CVS. Thanks for the report!
( you can fix this in PHP 4.0.5 by adding this on line 704:
PLS_FETCH();
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-11 10:51:32] chenfou@ms34.hinet.net
When I use PHP(4.0.5)+Sybase ASE(11.9.2)+Apache(1.3.17) on SUN Solaris(2.6) is very perfect.
Recently I must replace Apache by iPlanet(4.1).It is no error when i config this setup,
but when I make this,I get some error message.
(I have installed package:gcc(2.95.2),perl(5.005.03),bison(1.25),authconf(2.13),automake(1.4) in my
system)
configure:
./configure
--with-nsapi=/user1/web1/server-home
--with-sybase=/opt/sybase
--prefix=/usr/local/bin
--with-config-file-path=/usr/local/bin
--exec-prefix=/usr/local/bin
--enable-memory-limit=yes
--enable-debug=no
--enable-trans-sid
--enable-track-vars
--enable-magic-quotes
--enable-libgcc
if PHP and iPlanet Compiled together,have no problem,but add --with-sybase argument then have error
message.
if PHP and Sybase Compiled together,have no problem,but add --with-nsapi argument then have error
message.
error message:
Making all in sybase
make[2]: Entering directory `/user1/php-4.0.5/ext/sybase'
make[3]: Entering directory `/user1/php-4.0.5/ext/sybase'
/bin/sh /user1/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/user1/ph
p-4.0.5/ext/sybase -I/user1/php-4.0.5/main -I/user1/php-4.0.5 -I/user1/
web1/server-home/plugins/include -I/user1/php-4.0.5/Zend -I/user1/php-4.0.4pl
1/ext/mysql/libmysql -I/opt/sybase/include -I/user1/php-4.0.5/ext/xml/expat/x
mltok -I/user1/php-4.0.5/ext/xml/expat/xmlparse -I/user1/php-4.0.5/TSRM -
D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORD
ER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads -c php_sybase_db.c
php_sybase_db.c: In function `php_if_sybase_query':
php_sybase_db.c:781: `core_globals' undeclared (first use in this function)
php_sybase_db.c:781: (Each undeclared identifier is reported only once
php_sybase_db.c:781: for each function it appears in.)
make[3]: *** [php_sybase_db.lo] Error 1
make[3]: Leaving directory `/user1/php-4.0.5/ext/sybase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/user1/php-4.0.5/ext/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/user1/php-4.0.5/ext'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11397&edit=2