Bug 77405 - -DUCD_COMPATIBLE broken in 5.0.6
Summary: -DUCD_COMPATIBLE broken in 5.0.6
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: net-snmp
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Keywords:
: 77406 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-06 16:59 UTC by Joe Orton
Modified: 2015-03-05 01:11 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2003-01-14 14:16:19 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.