php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10421 can't compile php_sybase_db.c
Submitted: 2001-04-20 08:09 UTC Modified: 2001-06-03 04:57 UTC
From: infos at webmails dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: linux Red-Hat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: infos at webmails dot com
New email:
PHP Version: OS:

 

 [2001-04-20 08:09 UTC] infos at webmails dot com
compiling with gcc version egcs-2-91.66

options for configure:

./configure --prefix=/WWW/php-4.0.4pl1 --with-apxs2=/WWW/apache2/bin/apxs --with-config-file-path=/WWW/php4.0.4pl1 --enable-ftp --enable-socket --with-gd=../gd-1.8.1 --enable-trans-sid --with-sybase=/home/sybase --enable-inline-optimization --enable-track-vars --enable-sysvsem=yes --enable-sysvshm=yes --disable-debug 

using sybase-11.9.2

This is what happens when I compile:

Making all in sybase
make[2]: Entering directory `/root/php-4.0.4pl1/ext/sybase'
make[3]: Entering directory `/root/php-4.0.4pl1/ext/sybase'
/bin/sh /root/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. -I/root/php-4.0.4pl1/ext/sybase -I/root/php-4.0.4pl1/main -I/root/php-4.0.4pl1 -I/WWW/apache2/include -I/WWW/apache2/include/apr -I/root/php-4.0.4pl1/Zend -I/root/gd-1.8.1 -I/root/php-4.0.4pl1/ext/mysql/libmysql -I/home/sybase/include -I/root/php-4.0.4pl1/ext/xml/expat/xmltok -I/root/php-4.0.4pl1/ext/xml/expat/xmlparse -I/root/php-4.0.4pl1/TSRM  -D_REENTRANT -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread  -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 `/root/php-4.0.4pl1/ext/sybase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.4pl1/ext/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

everything works fine when I do the same thing in php-4.0.3pl1.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 04:57 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-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC