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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bolk at lixil dot ru
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 19:01:33 2024 UTC