php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4035 SNMP Enabled Failure
Submitted: 2000-04-04 14:25 UTC Modified: 2000-04-04 16:01 UTC
From: chronological at yahoo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.15 OS: Redhat 6.2
Private report: No CVE-ID: None
 [2000-04-04 14:25 UTC] chronological at yahoo dot com
Im having troubles compiling PHP with ucd-snmp-devel(version 4.1.1-2 of the rpm) enabled. 

Using PHP-3.0.15 the compiles both fail on snmp component of the compile as follows...

snmp.c: In function `php_snmp':
snmp.c:222: warning: implicit declaration of function `snmp_synch_setup'
snmp.c: In function `php_if_snmp_set_quick_print':
snmp.c:366: parse error before `int'
snmp.c:367: `set_val' undeclared (first use in this function)
snmp.c:367: (Each undeclared identifier is reported only once
snmp.c:367: for each function it appears in.)

When I removed ucd-snmp-devel-4.1.1-2 and installed ucd-snmp-devel-4.0.1-4 the PHP-3.0.15 compiled like a charm.

When testing with PHP-4RC1 it failed to compiled under both senarious... (Im submiting this bug also to the redhat site to warn their developers)..

Thanks for looking into this issue.. 

                                  Paul B.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-04 16:01 UTC] sterling at cvs dot php dot net
The Compile failure for PHP4 is fixed in CVS, thanks. 

SNMP 4.1.1-2 is currently not supported by PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC