Ethereal-users: Re: [ethereal-users] Build error with 0.8.11 ??

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 4 Aug 2000 21:24:09 -0700
On Fri, Aug 04, 2000 at 09:12:58PM -0700, Barnaby DiAnni wrote:
> [root@lt3 ~]# rpm -qa | g snmp
> ucd-snmp-4.1.1-4mdk
> ucd-snmp-utils-4.1.1-4mdk
> ucd-snmp-devel-4.0.1-3mdk

Hmm.

"ucd-snmp-devel-4.0.1-3mdk", but "ucd-snmp-4.1.1-4mdk"?

That's probably not very good - it probably means that the header files
and non-shared libraries, which come from the "ucd-snmp-devel" package,
are out of sync with the shared libraries, which come from the
"ucd-snmp-4.1.1" package.  This would mean that the header files declare
"snmp_set_suffix_only" as a function, so that when you build Ethereal
the generated code will try to call it as a function, but the shared
library - with which the linker will try to link Ethereal - doesn't have
such a function, as, in UCD SNMP 4.1.1, it's a macro, not a function.

This would cause the link to fail with the error you describe.

It appears from

	ftp://ftp.math.utah.edu/pub/linux/Mandrake/7.1/Mandrake/RPMS2/

that Mandrake 7.1 includes a "ucd-snmp-devel-4.1.1-4mdk" RPM; try
un-installing "ucd-snmp-devel-4.0.1-3mdk" and installing
"ucd-snmp-devel-4.1.1-4mdk", and then try doing

	rm config.cache
	./configure

and then try recompiling.