Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal Makefile.nmake config.h.win32 config.nmake t
gerald 2002/10/08 22:07:29 CDT
Modified files:
. Makefile.nmake config.h.win32
config.nmake tethereal.c
Log:
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/
Revision Changes Path
1.241 +8 -4 ethereal/Makefile.nmake
1.37 +2 -2 ethereal/config.h.win32
1.31 +2 -1 ethereal/config.nmake
1.160 +21 -3 ethereal/tethereal.c