php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58198 PDO 1.0.3 fails to build
Submitted: 2008-05-21 17:42 UTC Modified: 2013-10-15 11:54 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: jnugent at unb dot ca Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.1.3 OS: SuSE Linux Enterprise
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jnugent at unb dot ca
New email:
PHP Version: OS:

 

 [2008-05-21 17:42 UTC] jnugent at unb dot ca
Description:
------------
PDO 1.0.3 fails to build under SuSE Linux Enterprise 10.1. 

Reproduce:

cd /usr/local/src/PDO-1.0.3
phpize
./configure
make

... generates following error:

eclipse:/usr/local/src/PDO-1.0.3 # make
/bin/sh /usr/local/src/PDO-1.0.3/libtool --mode=compile gcc  -I. -I/usr/local/src/PDO-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/PDO-1.0.3/include -I/usr/local/src/PDO-1.0.3/main -I/usr/local/src/PDO-1.0.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/PDO-1.0.3/pdo.c -o pdo.lo 
gcc -I. -I/usr/local/src/PDO-1.0.3 -DPHP_ATOM_INC -I/usr/local/src/PDO-1.0.3/include -I/usr/local/src/PDO-1.0.3/main -I/usr/local/src/PDO-1.0.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/PDO-1.0.3/pdo.c  -fPIC -DPIC -o pdo.lo
In file included from /usr/local/src/PDO-1.0.3/pdo.c:32:
/usr/local/src/PDO-1.0.3/php_pdo_driver.h:605: error: expected specifier-qualifier-list before 'zend_fcall_info'
/usr/local/src/PDO-1.0.3/php_pdo_driver.h:612: error: expected specifier-qualifier-list before 'zend_fcall_info'
In file included from /usr/local/src/PDO-1.0.3/pdo.c:33:
/usr/local/src/PDO-1.0.3/php_pdo_int.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbh_new'
/usr/local/src/PDO-1.0.3/php_pdo_int.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbstmt_new'
/usr/local/src/PDO-1.0.3/php_pdo_int.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/PDO-1.0.3/php_pdo_int.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_dbstmt_object_handlers'
/usr/local/src/PDO-1.0.3/php_pdo_int.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_row_new'
/usr/local/src/PDO-1.0.3/php_pdo_int.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdo_row_object_handlers'
/usr/local/src/PDO-1.0.3/php_pdo_int.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/PDO-1.0.3/pdo.c:147: error: 'OnUpdateLong' undeclared here (not in a function)
/usr/local/src/PDO-1.0.3/pdo.c: In function 'zm_startup_pdo':
/usr/local/src/PDO-1.0.3/pdo.c:325: error: 'ZEND_ACC_PUBLIC' undeclared (first use in this function)
/usr/local/src/PDO-1.0.3/pdo.c:325: error: (Each undeclared identifier is reported only once
/usr/local/src/PDO-1.0.3/pdo.c:325: error: for each function it appears in.)
make: *** [pdo.lo] Error 1

Using GCC version 4.1.2.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-12 01:53 UTC] ssufficool@php.net
-Status: Open +Status: Feedback -Package: PDO +Package: *General Issues
 [2013-06-12 01:53 UTC] ssufficool@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC