Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-dev] Problems linking ethereal-0.99 on solaris
Thanks for the reply (and sorry for the late reply). Yes I found that bug, and yes it seems very much like that problem. To that bug the solution seems to be to include libdissectors.a manually which lead to less undefined symbols, actually one. Close now! :) The undefined symbol g_assert_warning can be found in:
Binary file ./epan/dfilter/.libs/drange.o matches
Binary file ./epan/dfilter/.libs/sttype-test.o matches
Binary file ./epan/dfilter/.libs/libdfilter.a matches
I inserted the line here:
ethereal_additional_libs = \
gtk/libui.a \
wiretap/libwiretap.la \
epan/libethereal.la \
epan/dissectors/.libs/libdissectors.a \
Detailed information:
gcc -DINET6 -DSOLARIS8_INET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/opt/csw/include/gtk-1.2 -I/opt/csw/include/glib-1.2 -I/opt/csw/lib/glib/include -o .libs/ethereal
capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o
util.o version_info.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o .libs/etherealS.o -L/opt/pub/gnu34/5.8/lib -L/opt/pub/gnu34/lib -L/usr/local/lib wiretap/.libs/libwiretap -L/opt/csw/lib epan/.libs/libethereal gtk/libui.a epan/dissectors/.libs/libdissectors.a /opt/csw/lib/libpcre.so -lpcap /opt/csw/lib/libgtk.so /opt/csw/lib/libgdk.so /opt/csw/lib/libgmodule.so /opt/csw/lib/libglib.so -ldl -lXi -lXext -lX11 -lm /opt/csw/lib/libgnutls.so /opt/csw/lib/libgcrypt.so -lsocket /opt/csw/lib/libgpg-
error.so /opt/csw/lib/libintl.so /opt/csw/lib/libiconv.so -lc -lnsl -lz -R/usr/local/lib -R/opt/csw/lib -R/opt/csw/lib:/usr/lib:/usr/dt/lib:/usr/openwin/lib:/opt/as/apssys1/apscehome/lib/runtime:/opt/as/lib:/opt/pub/lib:/usr/local/pub/lib:/home/eniknum/installed/lib:/opt/pub/gnu34/5.8/lib:/opt/pub/gnu34/lib:/usr/lib
Undefined first referenced
symbol in file
g_assert_warning epan/.libs/libethereal
ld: fatal: Symbol referencing errors. No output written to .libs/ethereal
Regards Niklas Nummelin
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev