On Mon, Jul 22, 2002 at 04:20:21PM +0800, mskintl wrote:
> Dear folks !
> I tried compiling Ethereal 0.9.5 and only got to the configure section when
> I encountered an Error. I am using Red Hat v 7.1
> Here is a section of the output of the configuration
>
> loading cache ./config.cache
> ...
> checking for iconv.h... yes
> checking whether to use SSL library if available... yes
> checking for EVP_md5 in -lcrypto... yes
> checking whether to use UCD SNMP/NET-SNMP library if available... yes
> checking for ucd-snmp/snmp.h... yes
> checking for ucd-snmp/version.h... yes
> checking for sprint_realloc_objid in -lsnmp... no
> checking for sprint_realloc_objid in -lsnmp... no
I don't see any "error" there, in the sense of an error message from the
configuration process.
I *do* see that "sprint_realloc_objid()" isn't in "-lsnmp", which
probably means your SNMP library isn't a sufficiently recent one;
Ethereal can't use any version of UCD SNMP prior to 4.2.2, as it uses
APIs not present in earlier versions (because those APIs make it
impossible to write code that's safe against buffer overflows).
You should, in fact, get UCD SNMP 4.2.4 or later, as 4.2.2 and 4.2.3
were also vulnerable to buffer overflows internally.
Your other alternative is to run the configure script with
"--without-ucdsnmp", so that it doesn't use the SNMP library at all.