From ec8fd2703a5109dd62d4397396c2ca7abe852c0f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 9 Oct 2002 03:07:34 +0000 Subject: Link to libsnmp under Win32. In gtk/main.c and tethereal.c set MIBDIRS to \snmp\mibs so that we can drop the MIB files there, instead of the default c:\usr\... path. Add NET_SNMP_DIR to config.nmake and modify Makefile.nmake to adjust CFLAGs, ethereal_LIBS and tethereal_LIBS accordingly. Define HAVE_UCD_SNMP in config.h.win32. I tested this by creating c:\program files\ethereal\snmp\mibs and dropping in the MIB files that come with Net-SNMP. Ethereal resolved system.sysDescr.0 to "iso.3.6.1.2.1.1.1.0" under Windows. Under Linux it resolved to "SNMPv2-MIB::sysDescr.0". Ethereal.nsi still needs to be updated. A compiled version of the Net-SNMP library can be found at http://www.ethereal.com/distribution/win32/development/ svn path=/trunk/; revision=6385 --- config.h.win32 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.h.win32') diff --git a/config.h.win32 b/config.h.win32 index 530ec19993..e248456425 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -1,4 +1,4 @@ -/* $Id: config.h.win32,v 1.36 2002/09/10 08:23:10 guy Exp $ */ +/* $Id: config.h.win32,v 1.37 2002/10/09 03:07:26 gerald Exp $ */ /* config.h.win32 Generated manually. :-) */ /* config.h. Generated automatically by configure. */ /* config.h.in. Generated automatically from configure.in by autoheader. */ @@ -43,7 +43,7 @@ #define HAVE_LIBPCAP 1 -/* #undef HAVE_UCD_SNMP */ +#define HAVE_UCD_SNMP 1 /* Define if you have the gethostbyname2 function. */ /* #undef HAVE_GETHOSTBYNAME2 */ -- cgit v1.2.3