|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
you may add a statement after function declare like this: int read_message_from_channel(amqp_connection_state_t connection, zval *envelopeZval ) { TSRMLS_FETCH();