php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61301 Doesn't compile
Submitted: 2012-03-06 13:36 UTC Modified: 2015-01-25 04:22 UTC
Votes:11
Avg. Score:4.5 ± 0.9
Reproduced:9 of 9 (100.0%)
Same Version:8 (88.9%)
Same OS:3 (33.3%)
From: webivan at ya dot ru Assigned:
Status: No Feedback Package: amqp (PECL)
PHP Version: 5.4.0 OS: Debian 6
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webivan at ya dot ru
New email:
PHP Version: OS:

 

 [2012-03-06 13:36 UTC] webivan at ya dot ru
Description:
------------
Installing PECL under PHP 5.4 causes a compilation error.

Test script:
---------------
hg clone http://hg.rabbitmq.com/rabbitmq-c
cd rabbitmq-c
hg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen
autoreconf -i && ./configure && make && sudo make install
pecl install amqp

OR

hg clone http://hg.rabbitmq.com/rabbitmq-c
cd rabbitmq-c
hg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen
autoreconf -i && ./configure && make && sudo make install
cd ..
svn co http://svn.php.net/repository/pecl/amqp/trunk/ amqp
cd amqp
phpize && ./configure && make && sudo make install

Actual result:
--------------
/tmp/pear/temp/amqp/amqp_queue.c: In function ‘read_message_from_channel’:
/tmp/pear/temp/amqp/amqp_queue.c:156: error: ‘tsrm_ls’ undeclared (first use in this function)
/tmp/pear/temp/amqp/amqp_queue.c:156: error: (Each undeclared identifier is reported only once
/tmp/pear/temp/amqp/amqp_queue.c:156: error: for each function it appears in.)
make: *** [amqp_queue.lo] Error 1
ERROR: `make' failed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-12 09:08 UTC] dgs5dfg5 at gmail dot com
you may add a statement after function declare like this:

int read_message_from_channel(amqp_connection_state_t connection, zval *envelopeZval ) {
	TSRMLS_FETCH();
 [2012-11-14 02:02 UTC] bkw at codingforce dot com
Is this still happening with the new 1.0.9 version? We have successful reports on 
php-5.4 from travis now:
https://travis-ci.org/pdezwart/php-amqp/jobs/3175107
 [2015-01-11 16:14 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2015-01-11 16:14 UTC] danack@php.net
Hi,

pdezwart/php-amqp is under Travis-ci which is not showing any issues.

Please give feedback if you think this is still an issue.
 [2015-01-25 04:22 UTC] pecl-dev 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-2021 The PHP Group
All rights reserved.
Last updated: Wed Jun 23 17:01:23 2021 UTC