Ethereal-dev: Re: [Ethereal-dev] Problems with new net-snmp-5.1.2 archive (COPS dissector)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 16 Oct 2004 13:35:19 +0200
Olivier Biot wrote:

Hi all,

The new net-snmp archive has some problems with the COPS dissector which is unable to find the net-snmp/net-snmp-config.h file. I think the format of the (hand-made) ZIP archive is incorrect. I had to rename the output directory from "net-snmp-5.1.2" to "net-snmp" in order to have the compilation work.

A similar problem exists with the ADNS library (version 03 and version 04).

Did you followed the changes done in config.nmake? That should fix the problem.


For what it's worth, I changed Makefile.nmake the following way:

$ svn diff Makefile.nmake
Index: Makefile.nmake
===================================================================
--- Makefile.nmake      (revision 12314)
+++ Makefile.nmake      (working copy)
@@ -412,7 +412,7 @@
               gettext-runtime-0.13.1 gettext-runtime-0.13.1.zip
!IFDEF NET_SNMP_DIR
       @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
-               . net-snmp-5.1.zip
+               . net-snmp-5.1.2.zip
!ENDIF
!IFDEF PCAP_DIR
       @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
@@ -420,7 +420,7 @@
!ENDIF
!IFDEF ADNS_DIR
       @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
-               . adns-1.0-win32-03.zip
+               . adns-1.0-win32-04.zip
!ENDIF
!IFDEF PCRE_DIR
       @$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \

Best regards,

Olivier

I've already recently checked in changes for that.

Regards, ULFL