|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57057 sdo does not compile against 5.2-dev
Submitted: 2006-06-01 11:37 UTC Modified: 2006-10-30 06:33 UTC
From: lmpmbernardo at users dot sourceforge dot net Assigned: cem (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5_1 CVS-2006-06-01 OS: Fedora Core 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lmpmbernardo at users dot sourceforge dot net
New email:
PHP Version: OS:


 [2006-06-01 11:37 UTC] lmpmbernardo at users dot sourceforge dot net
[root@antonio sdo-1.0.1]# uname -mrs
Linux 2.6.16-1.2122_FC5 i686
[root@antonio sdo-1.0.1]# g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj- --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
[root@antonio sdo-1.0.1]# php -v
PHP 5.2.0-dev (cli) (built: May 31 2006 23:37:17)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
[root@antonio sdo-1.0.1]# phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220060519
[root@antonio sdo-1.0.1]# ./configure
[root@antonio sdo-1.0.1]# make
/bin/sh /tmp/sdo-1.0.1/libtool --mode=compile g++ -I/tmp/sdo-1.0.1 -I. -I/tmp/sdo-1.0.1 -DPHP_ATOM_INC -I/tmp/sdo-1.0.1/include -I/tmp/sdo-1.0.1/main -I/tmp/sdo-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/include/libxml2  -DHAVE_CONFIG_H     -c /tmp/sdo-1.0.1/sdo.cpp -o sdo.lo
 g++ -I/tmp/sdo-1.0.1 -I. -I/tmp/sdo-1.0.1 -DPHP_ATOM_INC -I/tmp/sdo-1.0.1/include -I/tmp/sdo-1.0.1/main -I/tmp/sdo-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/include/libxml2 -DHAVE_CONFIG_H -c /tmp/sdo-1.0.1/sdo.cpp  -fPIC -DPIC -o .libs/sdo.o
/tmp/sdo-1.0.1/sdo.cpp:331: error: 'zif_SDO_Model_ReflectionDataObject_export' was not declared in this scope
make: *** [sdo.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-02 06:21 UTC] simonslaws at googlemail dot com
I took a look at this and the immediate problem is that sdo-1.0.1 has not caught up with Johannes Schl?ter's patch to prefix extension methods and functions differently, i.e. with zim and zif respectively (

So the error below can be fixed by changing the line reporting the error (331 in sdo.cpp) from:
ZEND_FENTRY(export, ZEND_FN(SDO_Model_ReflectionDataObject_export),
ZEND_FENTRY(export, ZEND_MN(SDO_Model_ReflectionDataObject_export),

However fixing this exposes another error further on in the build which I will chase now. 

I will create patches when I'm done. I don't have a PECL account at the mo so I will apply for one
 [2006-06-02 09:50 UTC] simonslaws at googlemail dot com
There are further errors relating to the changes to method signatures in zend_object_handlers.h in the PHP5.2 branch ( I note from the SDO-1.01 code base that there is already a ToDo in this area re. PHP6 compatibility. I will contact and discuss how best to manage these changes in the newer PHP versions.
 [2006-06-30 14:06 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

Should be OK in release 1.0.2
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jun 05 08:03:39 2023 UTC