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

Ethereal-dev: Re: [Ethereal-dev] ethereal 0.10.2 - Linker error

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

From: Andrew Hood <ajhood@xxxxxxxxx>
Date: Mon, 15 Mar 2004 21:13:40 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Soft Boy wrote:
| Hi all,
|
| I have a standard RH7.2 linux and I am trying to
| compile ethereal 0.10.2. I got following linker errors
| !! Can anyone point out what could be the problem ? I
| didn't change any configure or make file. Basically I
| just want to have tethereal.
|
|
| thanks and regards,
| Soft boy.
- -- large snip --
|
|
| packet-snmp.o: In function `format_oid':
| /tmp/ethereal-0.10.2/packet-snmp.c:579: undefined
| reference to `sprint_realloc_objid'
| packet-snmp.o: In function `new_format_oid':
| /tmp/ethereal-0.10.2/packet-snmp.c:628: undefined
| reference to `sprint_realloc_objid'
| packet-snmp.o: In function `format_var':
| /tmp/ethereal-0.10.2/packet-snmp.c:749: undefined
| reference to `sprint_realloc_value'
| packet-snmp.o: In function `process_prefs':
| /tmp/ethereal-0.10.2/packet-snmp.c:2340: undefined
| reference to `shutdown_mib'
| /tmp/ethereal-0.10.2/packet-snmp.c:2368: undefined
| reference to `register_mib_handlers'
| /tmp/ethereal-0.10.2/packet-snmp.c:2369: undefined
| reference to `read_premib_configs'
| /tmp/ethereal-0.10.2/packet-snmp.c:2370: undefined
| reference to `init_mib'
| /tmp/ethereal-0.10.2/packet-snmp.c:2371: undefined
| reference to `read_configs'
| packet-snmp.o: In function `proto_register_snmp':
| /tmp/ethereal-0.10.2/packet-snmp.c:2465: undefined
| reference to `ds_set_boolean'
| /tmp/ethereal-0.10.2/packet-snmp.c:2467: undefined
| reference to `ds_set_int'
| collect2: ld returned 1 exit status
| make[2]: *** [ethereal] Error 1
| make[1]: *** [all-recursive] Error 1
| make: *** [all] Error 2

I guess you have ucd-snmp installed. Replace it with the latest version
of net-snmp you can find, even if that means getting the SRPM and
compiling it.

I thought Ethereal would not use ucd-snmp.

- --
There's no point in being grown up if you can't be childish sometimes.
~                -- Dr. Who
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAVYHTUpRmj8xnsFgRArT0AJ4ojE83Sg2c4m6Ng36Rc8HlY5yh9wCguQFb
7hwkk3C8MVo+l9Jahat0R2M=
=25rP
-----END PGP SIGNATURE-----