diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-09 03:07:34 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-09 03:07:34 +0000 |
commit | bd29c79620573a774bdcb86ccd2dd0461e6b61e2 (patch) | |
tree | c71da8d3733729de068c4ca9f50de01456a2fe57 /config.nmake | |
parent | 0212efde699d1ce645cf4916dadc102c9ddbd851 (diff) |
Link to libsnmp under Win32.
In gtk/main.c and tethereal.c set MIBDIRS to <get_program_path()>\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/
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6385 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'config.nmake')
-rw-r--r-- | config.nmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.nmake b/config.nmake index 5331fa7b2d..3b9c509a89 100644 --- a/config.nmake +++ b/config.nmake @@ -1,4 +1,4 @@ -# $Id: config.nmake,v 1.30 2002/09/26 19:06:40 gerald Exp $ +# $Id: config.nmake,v 1.31 2002/10/09 03:07:27 gerald Exp $ VERSION=0.9.7 RC_VERSION=0.9.7 @@ -11,6 +11,7 @@ GLIB_DIR=C:\ethereal-win32-libs\glib GTK_DIR=C:\ethereal-win32-libs\gtk+ ZLIB_DIR=C:\ethereal-win32-libs\zlib-1.1.3 PCAP_DIR=C:\ethereal-win32-libs\WPdpack +NET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.0.6 COMMON_FILES_GNU=c:\program files\common files\gnu |