Ethereal-dev: [Ethereal-dev] Problems with shared libraries

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

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Sat, 13 Mar 2004 14:55:24 +0100
Dear all,

building the dynamic libs version does not work on Mac OS X 10.3.2
with glib-1.2.10. This was, I believe, pointed out earlier by
Guy. So I tried
./configure -disable-shared
This results in

gcc -DINET6 -no-cpp-precomp "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -o ethereal -Wl,-static -static pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o disabled_protos.o pcap-util.o print.o ps.o range.o ringbuffer.o timestats.o version_info.o alert_box.o capture.o file.o filters.o proto_hier_stats.o summary.o plugins/acn/packet-acn.o plugins/artnet/packet-artnet.o plugins/asn1/packet-asn1.o plugins/docsis/packet-bpkmattr.o plugins/docsis/packet-bpkmreq.o plugins/docsis/packet-bpkmrsp.o plugins/docsis/packet-docsis.o plugins/docsis/packet-dsaack.o plugins/docsis/packet-dsareq.o plugins/docsis/packet-dsarsp.o plugins/docsis/packet-dscack.o plugins/docsis/packet-dscreq.o plugins/docsis/packet-dscrsp.o plugins/docsis/packet-dsdreq.o plugins/docsis/packet-dsdrsp.o plugins/docsis/packet-macmgmt.o plugins/docsis/packet-map.o plugins/docsis/packet-regack.o plugins/docsis/packet-regreq.o plugins/docsis/packet-regrsp.o plugins/docsis/packet-rngreq.o plugins/docsis/packet-rngrsp.o plugins/docsis/packet-tlv.o plugins/docsis/packet-uccreq.o plugins/docsis/packet-uccrsp.o plugins/docsis/packet-ucd.o plugins/enttec/packet-enttec.o plugins/giop/packet-cosnaming.o plugins/giop/packet-coseventcomm.o plugins/gryphon/packet-gryphon.o plugins/irda/packet-irda.o plugins/lwres/packet-lwres.o plugins/megaco/packet-megaco.o plugins/mgcp/packet-mgcp.o plugins/pcli/packet-pcli.o plugins/rdm/packet-rdm.o plugins/rtnet/packet-rtnet.o plugins/v5ua/packet-v5ua.o -L/usr/local/lib wiretap/.libs/libwiretap.0.0.1.dylib gtk/libui.a epan/.libs/libethereal.a -lcrypto /usr/local/lib/libpcre.a -lpcap -L/usr/X11R6/lib /usr/local/lib/libgtk.a /usr/local/lib/libgdk.a /usr/local/lib/libgmodule.a /usr/local/lib/libglib.a -lXext -lX11 -lm -lz
ld: can't locate file for: -lcrt0.o
make[2]: *** [ethereal] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any hints?

If this is fixed, the default under Mac OS X should be --disable-shared unless you
use gtk2.

I'm trying to install gtk2, but this requires a lot of other things...

Best regards
Michael