Ethereal-dev: [Ethereal-dev] FW: [Ethereal-users] Anyone seen this compile error?
[Forwarding to ethereal-dev]
Looks like there's a SNMP library configuration error.
Regards,
Olivier
-----Original Message-----
From: wma [at] cisco.com
Hi all,
This is a newly downloaded source code. I have not made any code
change. I got the compile error below. I could not find the file
that defines
sprint_realloc_objid()
sprint_realloc_value()
shutdown_mib()
DS_LIB_NO_TOKEN_WARNINGS
Any help will be appreciated.
--
Weimin
ryle-lnx%pwd
/users/wma/Ethereal/linux/ethereal-0.10.4
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include
-I/usr/include/pcap -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2
-I/usr/local/include -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/pcap -c ../packet-snmp.c -Wp,-MD,.deps/packet-snmp.TPlo
-fPIC -DPIC -o packet-snmp.lo
../packet-snmp.c: In function `format_oid':
../packet-snmp.c:579: warning: implicit declaration of function
`sprint_realloc_objid'
../packet-snmp.c: In function `format_var':
../packet-snmp.c:749: warning: implicit declaration of function
`sprint_realloc_value'
../packet-snmp.c: In function `process_prefs':
../packet-snmp.c:2340: warning: implicit declaration of function
`shutdown_mib'
../packet-snmp.c: In function `proto_register_snmp':
../packet-snmp.c:2466: `DS_LIB_NO_TOKEN_WARNINGS' undeclared (first use in
this function)
../packet-snmp.c:2466: (Each undeclared identifier is reported only once
../packet-snmp.c:2466: for each function it appears in.)
make[4]: *** [packet-snmp.lo] Error 1
make[4]: Leaving directory `/users/wma/Ethereal/linux/ethereal-0.10.4/epan'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/users/wma/Ethereal/linux/ethereal-0.10.4/epan'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/users/wma/Ethereal/linux/ethereal-0.10.4/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/wma/Ethereal/linux/ethereal-0.10.4'
make: *** [all] Error 2