PHP 4.0 Bug #6051: etc/snmp/snmp.c does not compile with UCD SNMP 4.1.1
| From: | peter dot marschall at mayn dot de | Date: | Thu, 10 Aug 2000 02:07:16 +0000 |
| Subject: | PHP 4.0 Bug #6051: etc/snmp/snmp.c does not compile with UCD SNMP 4.1.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28260@lists.php.net to get a copy of this message | ||
From: peter.marschall@mayn.de
Operating system: Linux 2.2
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: etc/snmp/snmp.c does not compile with UCD SNMP 4.1.1
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.