php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14468 Can not compile with ucd-snmp-4.2.3
Submitted: 2001-12-12 15:02 UTC Modified: 2001-12-17 08:51 UTC
From: sitnikov at infonet dot ee Assigned:
Status: Closed Package: SNMP related
PHP Version: 4.1.0 OS:
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: sitnikov at infonet dot ee
New email:
PHP Version: OS:

 

 [2001-12-12 15:02 UTC] sitnikov at infonet dot ee
In file included from snmp.c:63:
/usr/local/include/snmp/snmp_api.h:64: warning: `struct snmp_pdu' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:64: warning: its scope is only this definition or declaration,
/usr/local/include/snmp/snmp_api.h:64: warning: which is probably not what you want.
/usr/local/include/snmp/snmp_api.h:64: warning: `struct snmp_session' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:70: warning: `struct snmp_pdu' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:70: warning: `struct snmp_session' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:108: warning: `struct snmp_pdu' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:112: parse error before `snmp_callback'
/usr/local/include/snmp/snmp_api.h:112: warning: `struct snmp_pdu' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:236: warning: `struct snmp_pdu' declared inside parameter list
/usr/local/include/snmp/snmp_api.h:238: parse error before `snmp_callback'
/usr/local/include/snmp/snmp_api.h:238: warning: `struct snmp_pdu' declared inside parameter list
snmp.c: In function `php_snmp':
snmp.c:242: structure has no member named `version'
snmp.c:296: `SNMP_MSG_SET' undeclared (first use in this function)
snmp.c:296: (Each undeclared identifier is reported only once
snmp.c:296: for each function it appears in.)
snmp.c:332: `SNMP_ENDOFMIBVIEW' undeclared (first use in this function)
snmp.c:333: `SNMP_NOSUCHOBJECT' undeclared (first use in this function)
snmp.c:333: `SNMP_NOSUCHINSTANCE' undeclared (first use in this function)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-17 08:51 UTC] sitnikov at infonet dot ee
Conflict with old snmp version, after removing old includes all work ok.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 21:01:27 2024 UTC