|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58185 compile error
Submitted: 2008-05-01 15:58 UTC Modified: 2012-05-25 13:01 UTC
From: sniemetz at gmail dot com Assigned:
Status: Not a bug Package: mqseries (PECL)
PHP Version: 4.3.8 OS: linux
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: sniemetz at gmail dot com
New email:
PHP Version: OS:


 [2008-05-01 15:58 UTC] sniemetz at gmail dot com
I run 

% LDFLAGS="-L/opt/mqm/maintenance/ -L/opt/mqm/maintenance/ -L/opt/mqm/maintenance/" ./configure

% ./make

Reproduce code:
line 99:
        ZEND_ARG_INFO(0, hconn)
        ZEND_ARG_INFO(1, compCode)
        ZEND_ARG_INFO(1, reason)

line 106:
ZEND_BEGIN_ARG_INFO_EX(arginfo_mqseries_begin,0,0, 4)
        ZEND_ARG_INFO(0, hconn)
        ZEND_ARG_INFO(0, beginOptions)
        ZEND_ARG_INFO(1, compCode)
        ZEND_ARG_INFO(1, reason)

line 254:
zend_module_entry mqseries_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901

Expected result:
error-free compilation

Actual result:
/bin/sh /a1/downloads/mq/mqseries-0.11.0/libtool --mode=compile gcc  -I. -I/a1/downloads/mq/mqseries-0.11.0 -DPHP_ATOM_INC -I/a1/downloads/mq/mqseries-0.11.0/include -I/a1/downloads/mq/mqseries-0.11.0/main -I/a1/downloads/mq/mqseries-0.11.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/opt/mqm/maintenance/  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /a1/downloads/mq/mqseries-0.11.0/mqseries.c -o mqseries.lo
 gcc -I. -I/a1/downloads/mq/mqseries-0.11.0 -DPHP_ATOM_INC -I/a1/downloads/mq/mqseries-0.11.0/include -I/a1/downloads/mq/mqseries-0.11.0/main -I/a1/downloads/mq/mqseries-0.11.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/opt/mqm/maintenance/ -DHAVE_CONFIG_H -g -O2 -c /a1/downloads/mq/mqseries-0.11.0/mqseries.c  -fPIC -DPIC -o .libs/mqseries.o
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:99: error: syntax error before numeric constant
/a1/downloads/mq/mqseries-0.11.0/mqseries.c: In function `ZEND_END_ARG_INFO':
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:106: error: syntax error before numeric constant
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:107: error: storage class specified for parameter `ZEND_BEGIN_ARG_INFO_EX'
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:254: error: parameter `mqseries_module_entry' is initialized
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:259: error: `mqseries_functions' undeclared (first use in this function)
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:259: error: (Each undeclared identifier is reported only once
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:259: error: for each function it appears in.)
/a1/downloads/mq/mqseries-0.11.0/mqseries.c:259: confused by earlier errors, bailing out
make: *** [mqseries.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-25 13:01 UTC]
-Status: Open +Status: Not a bug
 [2012-05-25 13:01 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 12:01:29 2024 UTC