Ethereal-users: Re: [Ethereal-users] make failure with redhat 7.0.90 "fisher"

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

From: "Mike Cannon" <cannon@xxxxxxxxxx>
Date: Sun, 18 Feb 2001 17:36:48 -0500
Thank you for you time.  The answers follow each question below.

----- Original Message -----
From: "Guy Harris" <gharris@xxxxxxxxxxxx>
To: "Mike Cannon" <cannon@xxxxxxxxxx>
Cc: <ethereal-users@xxxxxxxxxxxx>
Sent: Sunday, February 18, 2001 4:44 AM
Subject: Re: [Ethereal-users] make failure with redhat 7.0.90 "fisher"


> On Sat, Feb 17, 2001 at 03:59:23AM -0500, Mike Cannon wrote:
> > packet-snmp.o: In function `format_var':
> >
> > /tmp/ethereal-0.8.15/packet-snmp.c:683: undefined reference to
> > `sprint_value'
>
> What output do the commands
>
> egrep -e -L Makefile

GLIB_LIBS = -L/usr/lib -rdynamic -lgmodule -lglib -ldl

GTK_LIBS
= -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -l
Xi -lXext -lX11 -lm

# Note that Ethereal doesn't have to be linked
with -L/usr/lib -rdynamic -lgmodule -lglib -ldl, as

# they are included
in -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -
lXi -lXext -lX11 -lm, and doesn't have to be linked with

# -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -l
Xi -lXext -lX11 -lm (as those are also needed for X applications, and GTK+

ethereal_LDADD = $(ethereal_optional_objects) $(ethereal_additional_libs)
"-dlopen" self "-dlopen"
plugins/gryphon/gryphon.la -lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -r
dynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm "-dlopen"
plugins/mgcp/mgcp.la -lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynami
c -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm

ethereal_static_LDADD = $(ethereal_optional_objects)
$(ethereal_additional_libs) -lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -
rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm

tethereal_LDADD = wiretap/libwiretap.a $(ethereal_optional_objects)
$(tethereal_additional_libs) "-dlopen" self "-dlopen"
plugins/gryphon/gryphon.la -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm
"-dlopen"
plugins/mgcp/mgcp.la -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm -lpcap

tethereal_static_LDADD = wiretap/libwiretap.a $(ethereal_optional_objects)
$(tethereal_additional_libs) -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm 
-lpcap

editcap_LDADD =
wiretap/libwiretap.a -L/usr/lib -rdynamic -lgmodule -lglib -ldl

LDFLAGS = -L/usr/local/lib



>
> ls -l /usr/lib/libsnmp*
-rwxr-xr-x 1 root root 349886 Jan 6 04:45 /usr/lib/libsnmp-0.4.2.so

-rw-r--r-- 1 root root 448740 Jan 6 04:45 /usr/lib/libsnmp.a

-rw-r--r-- 1 root root 640 Jan 6 04:45 /usr/lib/libsnmp.la

lrwxrwxrwx 1 root root 16 Feb 10 08:07 /usr/lib/libsnmp.so ->
libsnmp-0.4.2.so

lrwxrwxrwx 1 root root 16 Feb 10 07:49 /usr/lib/libsnmp.so.0 ->
libsnmp-0.4.2.so

lrwxrwxrwx 1 root root 16 Feb 10 07:49 /usr/lib/libsnmp.so.0.4.2 ->
libsnmp-0.4.2.so


>
> ls -l /usr/local/lib/libsnmp*
>

ls: /usr/local/lib/libsnmp*: No such file or directory

** I issued "locate libsnmp", the only occurance of libsnmp is
/usr/lib/libsnmp*


> ls -ld /usr/include/ucd-snmp
>

drwxr-xr-x 2 root root 4096 Feb 10 08:07 /usr/include/ucd-snmp



> ls -ld /usr/local/include/ucd-snmp
>

** I issued "locate ucd-snmp", there was only: /usr/include/ucd-snmp and
/usr/share/doc/ucd-snmp-4.2

> produce?  The most common cause of problems such as at least some of
> these is having more than one version of the UCD SNMP library installed
> on your machine.
>

I don't think there is more than one version?


> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>