Ethereal-users: [ethereal-users] Re: building ethereal-0.8.12

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

From: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@xxxxxxxx>
Date: Tue, 19 Sep 2000 23:52:32 +0200 (CEST)
I found the source of my building problems. We have a local ucd-snmp
"utilities" package that is in bad need of better discipline. It overwrote
some of the header files, when installed after the libsnmp4.1 packages.

I don't understand why that package should install header files, but I'm
sure my systems administrators will give me (like they always do) a good
explanation for this too ;-)

Forcing a reinstall libsnmp4.1 and libsnmp4.1-dev removed the bad header
files and everything else worked out just fine.

And this discovery saved me from another sleepless night.
And everybody lived happily ever after ;-)

Good night guys,
Cristian

On Tue, 19 Sep 2000, Cristian Ionescu-Idbohrn wrote:

> 
> Got some info from Frederic Peters <fpeters@xxxxxxxx> and what he says 
> makes sense to me but it confuses me at the same time.
> 
> The Debian packager tells me I got these things installed:
> 
> Package: libsnmp4.1
> Source: ucd-snmp
> Version: 4.1.1-2
> Replaces: snmp (<= 3.6.2-3), libsnmp
> Provides: libsnmp
> 
> Package: libsnmp4.1-dev
> Source: ucd-snmp
> Version: 4.1.1-2
> Replaces: libsnmp-dev
> Provides: libsnmp-dev
> 
> What I did was to REINSTALL the libsnmp4.1 and libsnmp4.1-dev packages (in
> this order and for no real reason I'm aware of) and then reduild.
> 
> This time it worked fine (that is both building the package and running
> the program).
> 
> Now, this leaves me a bit puzzled... I'll be sleepless tonight, unless
> somebody comes out with THE ANSWER that will end all my pains ;-)
> 
> Thanks again guys, you're all great!
> 
> Cheers,
> Cristian
> 
> --
> I respect faith, but doubt is what gets you an education. -- Wilson Mizner
> 
> ---------- Forwarded message ----------
> Date: Tue, 19 Sep 2000 20:23:13 +0200
> From: Frederic Peters <fpeters@xxxxxxxx>
> To: Cristian Ionescu-Idbohrn <cii@xxxxxxxx>
> Subject: Re: building ethereal-0.8.12
> 
> 
> > Trying to build a deb-package from the latest released sources and get
> > this error:
> > 
> > packet-snmp.o: In function `proto_register_snmp':
> > /usr/src/ethereal-0.8.12/packet-snmp.c:2017: undefined reference to
> > `snmp_set_suffix_only'
> > [...]
> > 
> > What could be the problem?
> 
> I don't know since it shouldn't try to compile this if you don't have
> libsnmp4.1-dev installed. So it should build fine in everycase.
> 
> But snmp_set_suffix_only changed from function to macro in libsnmp 4.1.1
> and that may cause problems. FYI I built the debian package with
> libsnmp 4.1.1 (4.1.2 is available). You might want to tell ethereal
> developers about that one.
> 
> Regards,
> 	Frederic

--
I respect faith, but doubt is what gets you an education. -- Wilson Mizner