php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56736 Can't compile
Submitted: 2005-12-20 06:28 UTC Modified: 2006-03-19 14:30 UTC
From: bolk at lixil dot ru Assigned: sean (profile)
Status: Closed Package: statgrab (PECL)
PHP Version: 5.0.5 OS: Linux Fedora Core 4
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:
MUST BE VALID
Solve the problem:
47 - 8 = ?
Subscribe to this entry?

 
 [2005-12-20 06:28 UTC] bolk at lixil dot ru
Description:
------------
Can't complile module (libstatgrab-0.12 were installed).


Reproduce code:
---------------
phpize && ./configure && make

Actual result:
--------------
/usr/src/Statgrab-0.4/statgrab.c: In function `zif_sg_network_iface_stats':
/usr/src/Statgrab-0.4/statgrab.c:604: error: structure has no member named `dup'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-06 12:50 UTC] cherry_avium at yahoo dot com
Can be fixed by simple adding

#define SG_ENABLE_DEPRECATED

in line 25 before #include <statgrab.h>

in file statgrab.c
 [2006-03-19 14:30 UTC] sean@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Ilia fixed this last week.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC