Bug #3668: Undeclared identifiers with SNMP

From: Date: Tue, 29 Feb 2000 19:23:01 +0000
Subject: Bug #3668: Undeclared identifiers with SNMP
Groups: php.dev 
Request: Send a blank email to php-dev+get-16153@lists.php.net to get a copy of this message
From: pavalos@theshell.com Operating system: BSD/OS 4.0.1 i386 PHP version: 3.0.15 PHP Bug Type: Compile Failure Bug description: Undeclared identifiers with SNMP When compiling php-3.0.15 with the --with-snmp option, there's a compile error: gcc -g -O2 -O2 -I. -I. -I../apache_1.3.12/src/include -I../apache_1.3.12/src/os/unix -I/usr/local/include/mysql -I/usr/local/include/ucd-snmp -c functions/snmp.c -o functions/snmp.o functions/snmp.c: In function `_php3_snmp': functions/snmp.c:163: `DS_LIBRARY_ID' undeclared (first use this function) functions/snmp.c:163: (Each undeclared identifier is reported only once functions/snmp.c:163: for each function it appears in.) functions/snmp.c:163: `DS_LIB_QUICK_PRINT' undeclared (first use this function) *** Error code 1 Stop. I was able to fix this by adding: #include <default_store.h> in functions/snmp.c. I would think this is actually a bug in the ucd-snmp package, because they should include this file themselves, but I thought the PHP project should know about this. Oh, it's ucd-snmp-4.1.1. Please feel free to contact me for more info, but I think this one is pretty cut and dry.

« previous php.dev (#16153) next »