Bug 77405

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 RAWHIDE 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: 2003-01-14 14:16:19 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:28 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:02 UTC
*** Bug 77406 has been marked as a duplicate of this bug. ***

Comment 2 Phil Knirsch 2003-01-14 14:01:25 UTC
Does this work again? I've seen newer php packages being built and no indication
that a patch for php was needed.

Read ya, Phil

Comment 3 Joe Orton 2003-01-14 14:08:06 UTC
It compiles OK, yes (though I've had reports it doesn't work correctly).

Comment 4 Phil Knirsch 2003-01-14 14:16:19 UTC
Hm... I'd say we close it for now. If there is a real application bug later (no
compile time bug) i'd say we open a new one for that then.

Read ya, Phil