No subject
Sat Jan 29 05:20:27 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 28 Jan 2005 21:21:01 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.8) with ESMTP id j0T5L10T008249
for <atanu@tigger.icir.org>; Fri, 28 Jan 2005 21:21:01 -0800 (PST)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id j0T5L11x020269
for <atanu@icir.org>; Fri, 28 Jan 2005 21:21:01 -0800 (PST)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j0T5L0Ip003578;
Fri, 28 Jan 2005 21:21:00 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id j0T5KRIp003566
for <xorp-cvs@icsi.berkeley.edu>; Fri, 28 Jan 2005 21:20:27 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id j0T5KR1x020266
for <xorp-cvs@icir.org>; Fri, 28 Jan 2005 21:20:27 -0800 (PST)
(envelope-from bms@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j0T5KRE6095523
for <xorp-cvs@icir.org>; Fri, 28 Jan 2005 21:20:27 -0800 (PST)
(envelope-from bms@xorpc.icir.org)
Received: (from bms@localhost)
by xorpc.icir.org (8.12.11/8.12.3/Submit) id j0T5KRVS095522
for xorp-cvs@icir.org; Sat, 29 Jan 2005 05:20:27 GMT
(envelope-from bms)
Date: Sat, 29 Jan 2005 05:20:27 GMT
From: Bruce Simpson <bms@icir.org>
Message-Id: <200501290520.j0T5KRVS095522@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/mibs
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2005-01-29 05:20:27 UTC
XORP CVS repository
Modified files:
mibs Makefile.am Makefile.in configure configure.in
Log message:
Resolve two long-standing bugs in the XORP SNMP agent build.
1. Forcibly disable the use of inlining when building
code against net-snmp includes and libraries. The net-snmp
headers erroneously declare certain functions (such as
netsnmp_request_get_list_data) as being inline, when they
are not defined within the same translation unit, and
therefore correctly trigger an error in ANSI C++ compilers.
A special workaround is needed which is dependent on the
version of net-snmp in use. Versions in the 5.0.x series
don't support -DNETSNMP_NO_INLINE correctly.
2. Workaround compiler warnings caused by the redefinition of
preprocessor macros named PACKAGExxx, by forcibly undefining
the values defined for them by mibs/configure. This is
achieved by adding -U flags to AM_CPPFLAGS in mibs/Makefile.in.
These definitions arise because versions of autoconf newer than
2.52 try to define these macros when the AC_INIT macro is called.
However, these macros have already been defined in net-snmp's
include file namespace. This is an obvious net-snmp bug.
It is still necessary to include fixconfigs.h to undefine
net-snmp's subsequent definitions of these macros. This poses
no problem as the XORP SNMP agent code does not reference them.
Merge from: Perforce
Bugzilla ID: 89
Revision Changes Path
1.28 +8 -2 xorp/mibs/Makefile.am
1.37 +7 -1 xorp/mibs/Makefile.in
1.6 +179 -0 xorp/mibs/configure
1.3 +20 -1 xorp/mibs/configure.in
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs