|  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
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
Have you experienced this issue?
Rate the importance of this bug to you:

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

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


hg clone
cd rabbitmq-c
hg clone codegen
autoreconf -i && ./configure && make && sudo make install
cd ..
svn co 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


Add a Patch

Pull Requests

Add a Pull Request


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 ) {
 [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:
 [2015-01-11 16:14 UTC]
-Status: Open +Status: Feedback
 [2015-01-11 16:14 UTC]

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-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 18:05:57 2022 UTC