|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58542 phpize pecl errors on make
Submitted: 2009-02-07 19:15 UTC Modified: 2010-08-09 12:42 UTC
From: jstewart at lexxcom dot com dot au Assigned:
Status: No Feedback Package: spread (PECL)
PHP Version: 5.2.5 OS: Ubuntu server
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-02-07 19:15 UTC] jstewart at lexxcom dot com dot au
I have tried to compile the Pecl using phpize, which works fine, it is not until I try to compile it with 'make' command that I get an error. 

installed is: 

php 5.2.6
pear 1.7.2

Reproduce code:
in the uncompressed directory 

root#> phpize
root#> make 

Expected result:
compiled code ready to install 

Actual result:
root@un-serv-mpdi-01:/root/spread-2.1.0# make
/bin/bash /root/spread-2.1.0/libtool --mode=compile gcc  -I. -I/root/spread-2.1.0 -DPHP_ATOM_INC -I/root/spread-2.1.0/include -I/root/spread-2.1.0/main -I/root/spread-2.1.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /root/spread-2.1.0/php_spread.c -o php_spread.lo
libtool: compile:  gcc -I. -I/root/spread-2.1.0 -DPHP_ATOM_INC -I/root/spread-2.1.0/include -I/root/spread-2.1.0/main -I/root/spread-2.1.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /root/spread-2.1.0/php_spread.c  -fPIC -DPIC -o .libs/php_spread.o
/root/spread-2.1.0/php_spread.c: In function ?zif_spread_receive?:
/root/spread-2.1.0/php_spread.c:870: error: ?membership_info? undeclared (first use in this function)
/root/spread-2.1.0/php_spread.c:870: error: (Each undeclared identifier is reported only once
/root/spread-2.1.0/php_spread.c:870: error: for each function it appears in.)
/root/spread-2.1.0/php_spread.c:870: error: expected ?;? before ?memb_info?
make: *** [php_spread.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-18 08:41 UTC]
What version of spread are you building against?
 [2010-08-09 12:42 UTC]
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 "Open". Thank you.

Assume this is fixed from fix for bug #18003
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 14:01:29 2024 UTC