Bug #2584: Compiling with UCD-SNMP support fails
| From: | greenjo at hiscs dot org | Date: | Thu, 21 Oct 1999 22:36:20 +0000 |
| Subject: | Bug #2584: Compiling with UCD-SNMP support fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11823@lists.php.net to get a copy of this message | ||
From: greenjo@hiscs.org
Operating system: RedHat Linux 6.1
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: Compiling with UCD-SNMP support fails
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