php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3451 Build error with SNMP
Submitted: 2000-02-10 19:11 UTC Modified: 2000-03-29 23:51 UTC
From: kphannan at nscorp dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: PHP 4.0 Beta 3 OS: Linux RH6.0
Private report: No CVE-ID: None
 [2000-02-10 19:11 UTC] kphannan at nscorp dot com
make[3]: Entering directory `/opt/db/download/web/php/php-4.0b3/ext/snmp'
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend -I/opt/db/download/web/apache/apache_1.3.11/src/include -I/opt/db/download/web/apache/apache_1.3.11/src/os/unix   -I/opt/db/ldap/include -I/usr/include/mysql   -I/opt/db/snmp/include/ucd-snmp -I/opt/sybase/include  -I../.. -I../../libzend    -g -O2 -g -O2 -c -o snmp.lo snmp.c
snmp.c: In function `_php3_snmp':
snmp.c:146: `DS_LIBRARY_ID' undeclared (first use in this function)
snmp.c:146: (Each undeclared identifier is reported only once
snmp.c:146: for each function it appears in.)
snmp.c:146: `DS_LIB_QUICK_PRINT' undeclared (first use in this function)
make[3]: *** [snmp.lo] Error 1
make[3]: Leaving directory `/opt/db/download/web/php/php-4.0b3/ext/snmp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/db/download/web/php/php-4.0b3/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/db/download/web/php/php-4.0b3'
make: *** [all-recursive-am] Error 2                                                                 

./configure --with-mysql --with-apache=../../apache/apache_1.3.11
--enable-track-vars --with-ldap=/opt/db/ldap --with-snmp=/opt/db/snmp --with-sybase=$SYBASE 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 10:52 UTC] sas at cvs dot php dot net
The API of UCD-SNMP seems to have changed, release 4.1 and later don't work with PHP.

 [2000-03-29 23:51 UTC] sas at cvs dot php dot net
Fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 06:01:33 2024 UTC