php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2584 Compiling with UCD-SNMP support fails
Submitted: 1999-10-21 18:36 UTC Modified: 1999-11-20 15:27 UTC
From: greenjo at hiscs dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: RedHat Linux 6.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: greenjo at hiscs dot org
New email:
PHP Version: OS:

 

 [1999-10-21 18:36 UTC] greenjo at hiscs dot org
When compiling PHP3 I get the following error message:

functions/snmp.c:90: conflicting types for `sprint_variable'
/usr/include/ucd-snmp/mib.h:278: previous declaration of `sprint_variable'


With my configuration it was sufficient just to comment out line 90 in functions/snmp.c:

/* Add missing prototype */
// void sprint_variable(char *, oid *, int, struct variable_list *);

Redhat 6.1 comes with:
ucd-snmp-4.0.1
apache-1.3.9

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-20 15:27 UTC] sas at cvs dot php dot net
This is fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 07:00:01 2026 UTC