Ethereal-users: Re: [Ethereal-users] configure: error: UCD SNMP requires -lcrypto but --with-ssl
Hi Nathan,
There are a couple different ways. Given the simplicity of the patch
you could simply apply the patch by hand:
cd source/epan/dissectors/
vi packet-diameter.c
- go to line 2022
- go to the string "Request" and change it to "Request "
- ditto for the 2 other changes
Note that I found a 2nd workaround today (that further supports the
hypothesis that this is a compiler bug): use 'gcc32' (which IIRC FC3
uses for compiling the kernel?):
CC=gcc32 ./configure --without-ucd-snmp
- or -
CC=gcc32 ./configure --with-ssl
Regards,
-Jeff
ps. I'll add this info to the bug once the web pages are back up...
Kaplan, Nathan wrote:
Jeff,
Thank you very much for your help. Unfortunately I am coming from
Netware/Microsoft world and do not have any programming experience, how
should I apply this packet-diameter.c patch?
Thanks again,
Nathan
-----Original Message-----
From: Jeff Morriss [mailto:jeff.morriss@xxxxxxxxxxx]
Sent: Monday, May 09, 2005 11:32 AM
To: Ethereal user support
Subject: Re: [Ethereal-users] configure: error: UCD SNMP requires -lcrypto
but --with-ssl not specified
Hi Nathan,
Kaplan, Nathan wrote:
Jeff,
Thanks for your help,
./configure --with-ssl worked great, but make gave me another problem.
[root@laptop ethereal-0.10.11]# make
[...]
gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -
I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -
I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -
I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -g -O2 -Dlinux -I. -I/usr/local/include - o
.libs/ethereal pcap-util-unix.o capture_stop_conditions.o
capture_ui_utils.o
cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o
pcap-util.o print.o ps.o ringbuffer.o timestats.o util.o version_info.o
alert_box.o capture.o capture_opts.o capture_sync.o capture_loop.o
color_filters.o file.o fileset.o filters.o g711.o merge.o
proto_hier_stats.o
summary.o .libs/etherealS.o -Wl,-- export-dynamic -Wl,--export-dynamic
-L/usr/local/lib gtk/libui.a wiretap/.libs/libwiretap.so
epan/.libs/libethereal.so /usr/local/lib/libnetsnmp.so -lelf -lcrypto -
lpcap -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 - lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 - ldl
-lgthread-2.0 -lglib-2.0 -lkrb5 -lk5crypto -lcom_err -lresolv -lz -
Wl,--rpath -Wl,/usr/local/lib
epan/.libs/libethereal.so: undefined reference to `.LC771'
epan/.libs/libethereal.so: undefined reference to `.LC770'
epan/.libs/libethereal.so: undefined reference to `.LC772'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/usr/src/ethereal-0.10.11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ethereal-0.10.11'
make: *** [all] Error 2
[root@laptop ethereal-0.10.11]#
Oops, sorry, I meant to warn you about this problem in my last
response--I guess I got distracted. :-(
Anyway, this is bug #156:
http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=156
See comment #6 for a workaround.
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users