Hello I am running slackware V4.0 with kernel 2.2.13 and trying to get
ethereal with snmp to run. But It stops always at the end at :
op.o wiretap/libwiretap.a gtk/libui.a .libs/etherealS.o -lpcap
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lintl -lXext -lX11 -lm -lz -Wl,--export-dynamic
packet-snmp.o: In function `dissect_snmp_pdu':
/downloads/ethereal-0.8.4/packet-snmp.c:1109: undefined reference to
`sprint_objid'
packet-snmp.o: In function `proto_register_snmp':
/downloads/ethereal-0.8.4/packet-snmp.c:1156: undefined reference to
`init_mib'
rm -f .libs/etherealS.o
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/downloads/ethereal-0.8.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/ethereal-0.8.4'
make: *** [all-recursive-am] Error 2
Some earlier SNMP errors are :
laptop:/downloads/ethereal-0.8.4# make | grep snmp -i
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include
-Wall -g -O2 -I. -I./wiretap -I/usr/local/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -c packet-snmp.c
packet-snmp.c:283: warning: `SNMP_TRAP_AUTHFAIL' redefined
/usr/include/snmp/snmp.h:95: warning: this is the location of the
previous definition
packet-snmp.c:332: warning: `SNMP_NOSUCHOBJECT' redefined
/usr/include/snmp/snmp.h:66: warning: this is the location of the
previous definition
packet-snmp.c:333: warning: `SNMP_NOSUCHINSTANCE' redefined
/usr/include/snmp/snmp.h:67: warning: this is the location of the
previous definition
packet-snmp.c:334: warning: `SNMP_ENDOFMIBVIEW' redefined
/usr/include/snmp/snmp.h:68: warning: this is the location of the
previous definition
packet-snmp.c: In function `dissect_snmp_pdu':
packet-snmp.c:1109: warning: implicit declaration of function
`sprint_objid'
packet-snmp.c: In function `proto_register_snmp':
packet-snmp.c:1156: warning: implicit declaration of function `init_mib'
I have cmu-snmp-linux-3.4 installed and snmp works fine on my notebook.
What am I missing to get ethereal with snmp support to work. It works
great without snmp support.
Could some one help me out to get this to run ?
Regards J.P...
jeepee@xxxxxxx