php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3868 problem in function/snmp.c with ucd-snmp-4.1
Submitted: 2000-03-18 22:34 UTC Modified: 2000-03-29 12:55 UTC
From: Thor2001 at gmx dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.15 OS: Solaris 2
Private report: No CVE-ID: None
 [2000-03-18 22:34 UTC] Thor2001 at gmx dot net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-29 12:55 UTC] sas at cvs dot php dot net
This is fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 14 17:00:01 2026 UTC