Bug 77406

Summary: -DUCD_COMPATIBLE broken in 5.0.6
Product: [Retired] Red Hat Raw Hide Reporter: Joe Orton <jorton>
Component: net-snmpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-06 16:59:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2002-11-06 16:59:32 UTC
The compatibility API in 5.0.6 appears to be broken when including
ucd-snmp/snmp_impl.h: I get errors during the PHP build now like:

In file included from /usr/include/net-snmp/library/snmp_impl.h:39,
                 from /usr/include/ucd-snmp/snmp_impl.h:3,
                 from /usr/src/build/164000-i386/BUILD/php-4.2.2/ext/snmp/snmp.c:65:
/usr/include/net-snmp/types.h:11:2: #error "Please include
<net-snmp/net-snmp-config.h> before this file"

(with -DUCD_COMPATIBLE passed to the compiler)

This didn't happen in version 5.0.1.

Comment 1 Joe Orton 2002-11-06 17:02:09 UTC
Double-click alert!

*** This bug has been marked as a duplicate of 77405 ***