php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11397 iPlanet+Sybase+PHP Error
Submitted: 2001-06-11 10:51 UTC Modified: 2001-06-12 01:29 UTC
From: chenfou at ms34 dot hinet dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2001-06-11 10:51 UTC] chenfou at ms34 dot hinet dot 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 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 01:29 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 06:01:28 2024 UTC