php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6051 etc/snmp/snmp.c does not compile with UCD SNMP 4.1.1
Submitted: 2000-08-09 22:07 UTC Modified: 2000-08-25 13:26 UTC
From: peter dot marschall at mayn dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Linux 2.2
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: peter dot marschall at mayn dot de
New email:
PHP Version: OS:

 

 [2000-08-09 22:07 UTC] peter dot marschall at mayn dot de
Compiling PHP4 with UCD-SNMP support fails with UCD SNMP 4.1.1 because of undefined types.

Solving the problem is easy: Simply add 
#include "ucd-snmp-includes.h"
at the top of the list of the SNMP specific header files
in etc/snmp/snmp.c

I don't know if any other version of SNMP has this header file,
so maybe it's best to let it check by configure the same way,
default_store.h is checked.




 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 13:26 UTC] sniper@php.net
This should be fixed in the CVS. 
Please try it or wait for 4.0.2.
Reopen this bug report if problem still exists.

--Jani

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 09:00:02 2026 UTC