Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: Re: [Ethereal-users] Re: Ethereal and net-snmp.

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

From: Peter Eckel <Lists@xxxxxxxxxxxx>
Date: Thu, 10 Oct 2002 01:05:04 +0200
> Well, the headers are there, but I keep getting: 
> 
> checking whether to use UCD SNMP/NET-SNMP library if available... yes
> checking for ucd-snmp/snmp.h... (cached) no
> configure: error: Header file ucd-snmp/snmp.h not found. 
> 
> for all of the following: 
> 
> ./configure --with-ucdsnmp
> ./configure --with-ucdsnmp=/usr/local/include/ucd-snmp
> ./configure --with-ucdsnmp=/usr/local/include
> ( next is after running 'ln -s /usr/local/include/ucd-snmp 
> /usr/include/ucd-snmp' )
> ./configure --with-ucdsnmp=/usr/include/ucd-snmp 

Try the following:

  CPPFLAGS="-DUCD_OMPATIBLE" ./configure --with-ucdsnmp
  
It worked for me. The comaptible net-snmp-headers contain an #ifdef clause that
leads to an error message if UCD_COMPATIBLE is undefined.

  Peter.