Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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 <cbumpste@xxxxxxxxxxxx>
Date: Sat, 10 Jul 2004 09:00:44 +1000 (EST)
Hi,

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

rm -f .libs/ethereal.nm .libs/ethereal.nmS
.libs/ethereal.nmT
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
`/home/cbumpste/src/ethereal-0.10.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/cbumpste/src/ethereal-0.10.4'
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
problem?
Is it looking for the elf (*.a) library's?

Cheers,
Craig


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com