We're now a non-profit! Support open source packet analysis by making a donation.

Ethereal-dev: [Ethereal-dev] 0.10.4 & 0.10.5 Compile failure on Fedora Core 2

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

From: Craig Bumpstead <[email protected]>
Date: Sat, 10 Jul 2004 09:00:44 +1000 (EST)

I have the following error when trying to compile
0.10.4 & 0.10.5:

rm -f .libs/ethereal.nm .libs/ethereal.nmS
creating .libs/etherealS.c
(cd .libs && gcc -c -fno-builtin "etherealS.c")
rm -f .libs/etherealS.c .libs/ethereal.nm
.libs/ethereal.nmS .libs/ethereal.nmT
gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W
-g -O2 -I/usr/local/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/rpm -DINET6 -O2 -g
-pipe -march=i386 -mcpu=i686 -Dlinux
-I/usr/include/rpm -I. -I/usr/include/net-snmp -o
.libs/ethereal pcap-util-unix.o
capture_stop_conditions.o cfile.o conditions.o
disabled_protos.o pcap-util.o range.o ringbuffer.o
timestats.o version_info.o alert_box.o capture.o
file.o filters.o g711.o proto_hier_stats.o summary.o
.libs/etherealS.o -rdynamic -Wl,--export-dynamic 
-L/usr/local/lib gtk/libui.a
wiretap/.libs/libwiretap.so -L/usr/lib
epan/.libs/libethereal.so /usr/lib/libnetsnmp.so -lelf
-lcrypto /usr/local/lib/libpcre.so -lpcap
-L/usr/X11R6/lib /usr/lib/libgtk.so /usr/lib/libgdk.so
/usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi
-lXext -lX11 -lm -lz -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2

Is this an issue with ld? or the lack of something
with my system?
Can I provide/do anything else to help solve this
Is it looking for the elf (*.a) library's?


Find local movie times and trailers on Yahoo! Movies.