php-zmq icon indicating copy to clipboard operation
php-zmq copied to clipboard

Make in php7 error

Open cl51287 opened this issue 9 years ago • 1 comments
trafficstars

Hi, i use php7.0.12 make https://pecl.php.net/package/zmq/1.1.3 version, it trigger error, follow:

/opt/local/php/src/php-zmq-php7/zmq_pollset.c:52: error: redefinition of typedef php_zmq_pollset

/opt/local/php/src/php-zmq-php7/php_zmq_private.h:54: note: previous declaration of php_zmq_pollset was here

and when i use https://github.com/mkoppanen/php-zmq master branch, it work correct. I find https://pecl.php.net/package/zmq/1.1.3 and master version have some difference, should I use master version instead of https://pecl.php.net/package/zmq/1.1.3 version?

Thanks!

cl51287 avatar Oct 18 '16 04:10 cl51287

I compiled with PHP 7.0.14, however, the extension has a bug in client method. I compiled using the source code, not with PECL.

alvaro-osvaldo-tm avatar Mar 13 '17 20:03 alvaro-osvaldo-tm