|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71380 inotify 0.1.6 doesn't compile or run with PHP 7.0.2
Submitted: 2016-01-15 04:30 UTC Modified: 2016-03-29 02:15 UTC
From: xin-xinw at musiclifephilosophy dot com Assigned: krakjoe (profile)
Status: Closed Package: inotify (PECL)
PHP Version: 7.0.2 OS: Arch Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
43 - 2 = ?
Subscribe to this entry?

 [2016-01-15 04:30 UTC] xin-xinw at musiclifephilosophy dot com
Running `pecl install inotify` finishes with:

/tmp/pear/temp/inotify/inotify.c:342:77: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
   add_assoc_string(event_ary, "name", (event->len > 0 ? event->name : ""), 1);
/tmp/pear/temp/inotify/inotify.c:342:3: error: ‘add_assoc_string’ undeclared (first use in this function)
   add_assoc_string(event_ary, "name", (event->len > 0 ? event->name : ""), 1);
/tmp/pear/temp/inotify/inotify.c:342:3: note: each undeclared identifier is reported only once for each function it appears in
Makefile:193: recipe for target 'inotify.lo' failed
make: *** [inotify.lo] Error 1
ERROR: `make' failed

Attempting to load the module compiled with PHP 5.6.16 fails with error:

<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/' - /usr/lib/php/modules/ undefined symbol: zval_used_for_init in <b>Unknown</b> on line <b>0</b><br />


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-28 14:43 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2016-03-28 14:43 UTC]
Version 2.0.0 is available on PECL and supports PHP7.

Someone forgot to close the bug :)
 [2016-03-29 02:15 UTC] xin-xinw at musiclifephilosophy dot com
Thanks for responding! :)
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 21 03:03:34 2022 UTC