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 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:
44 - 19 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 12:01:27 2024 UTC