Bug #3868: problem in function/snmp.c with ucd-snmp-4.1

From: Date: Sun, 19 Mar 2000 03:34:28 +0000
Subject: Bug #3868: problem in function/snmp.c with ucd-snmp-4.1
Groups: php.dev 
Request: Send a blank email to php-dev+get-17012@lists.php.net to get a copy of this message
From: Thor2001@gmx.net Operating system: Solaris 2 PHP version: 3.0.15 PHP Bug Type: Compile Failure Bug description: problem in function/snmp.c with ucd-snmp-4.1 HI, I tried to compile php-3.0.15 with snmp support (ucd-snmp-4.1) ... it failed with : gcc -g -O2 -O2 -I. -I. -I/export/home/thor/work/apache/apache_1.3.12/src/include -I/export/home/thor/work/apache/apache_1.3.12/src/os/unix -I/export/home/mysql/server/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 in 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 in this function) make: *** [functions/snmp.o] Error 1 I fixed it by putting #include <default_store.h> in functions/snmp.c cheers Thor

« previous php.dev (#17012) next »