Ethereal-users: [Ethereal-users] static compile ethereal-0.10.10 failed on solaris 8
Title: static compile ethereal-0.10.10 failed on solaris 8
I get this error message at the end of running ‘make’:
gcc -DINET6 -DSOLARIS8_INET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o ethereal -Wl,-static -static 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 filters.o g711.o merge.o proto_hier_stats.o summary.o -L/usr/local/lib -L/usr/local/ssl/lib gtk/libui.a wiretap/.libs/libwiretap.so -L/usr/lib -L/usr/openwin/lib -L/usr/local/BerkeleyDB.4.1/lib epan/.libs/libethereal.a -lcrypto plugins/acn/.libs/acn.a -L/bbnet/home/lliu/ethereal-0.10.10/epan plugins/agentx/.libs/agentx.a plugins/artnet/.libs/artnet.a plugins/asn1/.libs/asn1.a plugins/ciscosm/.libs/ciscosm.a plugins/docsis/.libs/docsis.a plugins/enttec/.libs/enttec.a plugins/giop/.libs/cosnaming.a plugins/giop/.libs/coseventcomm.a plugins/gryphon/.libs/gryphon.a plugins/irda/.libs/irda.a plugins/lwres/.libs/lwres.a plugins/megaco/.libs/megaco.a plugins/mgcp/.libs/mgcp.a plugins/opsi/.libs/opsi.a plugins/pcli/.libs/pcli.a plugins/rdm/.libs/rdm.a plugins/rlm/.libs/rlm.a plugins/rtnet/.libs/rtnet.a plugins/rudp/.libs/rudp.a plugins/v5ua/.libs/v5ua.a /usr/local/lib/libethereal.so -lnsl -lsocket -lpcap /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libiconv.so -lm -lz -R/bbnet/home/lliu/ethereal-0.10.10/wiretap/.libs -R/usr/local/lib -R/usr/local/lib -R/usr/local/ssl/lib -R/usr/lib:/usr/local/lib:/usr/local/ssl/lib
ld: fatal: option -dn and -c are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ethereal'
Current working directory /bbnet/home/lliu/ethereal-0.10.10
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /bbnet/home/XXXXX/ethereal-0.10.10
The platform is solaris8 and I’m using gcc and gnu ld. Please help. Thanks.
Lynny Liu