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

Wireshark-bugs: [Wireshark-bugs] [Bug 1016] New: Compilation wipes out on OpenBSD 3.9

Date: Wed, 26 Jul 2006 12:45:04 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1016

           Summary: Compilation wipes out on OpenBSD 3.9
           Product: Wireshark
           Version: 0.99.0
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Severity: Blocker
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: clock@xxxxxxxxxxxxx


I took care to verify all libraries according to INSTALL, especially pcap:
clock@kestrel:~$ locate pcap
/usr/include/pcap-int.h
/usr/include/pcap-namedb.h
/usr/include/pcap.h
/usr/lib/libpcap.a
/usr/lib/libpcap.so.4.0
/usr/lib/libpcap_p.a
/usr/lib/libpcap_pic.a

Still, wireshark wipes out during compilation on this:
gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O3
-fomit-frame-pointer -march=pentium3 -pipe -I/usr/local/include -DXTHREADS
-D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/local/include/atk-1.0
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o wireshark
-Wl,-static -static 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  -L/usr/local/lib gtk/libui.a -Lwiretap/.libs -lwiretap -Lepan/.libs
-Lplugins/acn/.libs -lacn -L/home/clock/wireshark-0.99.2/epan
-Lplugins/agentx/.libs -lagentx -Lplugins/artnet/.libs -lartnet
-Lplugins/asn1/.libs -lasn1 -Lplugins/ciscosm/.libs -lciscosm
-Lplugins/docsis/.libs -ldocsis -Lplugins/enttec/.libs -lenttec
-Lplugins/giop/.libs -lcosnaming -lcoseventcomm -Lplugins/gryphon/.libs
-lgryphon -Lplugins/irda/.libs -lirda -Lplugins/lwres/.libs -llwres
-Lplugins/mate/.libs -lmate -Lplugins/megaco/.libs -lmegaco
-Lplugins/mgcp/.libs -lmgcp -Lplugins/opsi/.libs -lopsi -Lplugins/pcli/.libs
-lpcli -Lplugins/profinet/.libs -lprofinet -Lplugins/rdm/.libs -lrdm
-Lplugins/rlm/.libs -lrlm -Lplugins/rtnet/.libs -lrtnet -Lplugins/rudp/.libs
-lrudp -Lplugins/sbus/.libs -lsbus -Lplugins/stats_tree/.libs -lstats_tree
-Lplugins/v5ua/.libs -lv5ua -L/home/clock/wireshark-0.99.2/epan/.libs
-lwireshark /usr/local/lib/libpcre.a -lpcap -L/usr/X11R6/lib
/usr/local/lib/libgtk-x11-2.0.a /usr/local/lib/libgdk-x11-2.0.a
/usr/local/lib/libatk-1.0.a /usr/local/lib/libgdk_pixbuf-2.0.a
/usr/local/lib/libpangoxft-1.0.a -lXft -lXrender -lXext
/usr/local/lib/libpangox-1.0.a /usr/local/lib/libpangoft2-1.0.a -lfontconfig
-lfreetype -lX11 /usr/local/lib/libpango-1.0.a -lm
/usr/local/lib/libgobject-2.0.a /usr/local/lib/libgmodule-2.0.a
/usr/local/lib/libgthread-2.0.a -pthread /usr/local/lib/libglib-2.0.a
/usr/local/lib/libintl.a /usr/local/lib/libiconv.a -lz
-Wl,-rpath,/home/clock/wireshark-0.99.2/wiretap/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/epan/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/acn/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/agentx/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/artnet/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/asn1/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/ciscosm/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/docsis/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/enttec/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/giop/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/gryphon/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/irda/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/lwres/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/mate/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/megaco/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/mgcp/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/opsi/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/pcli/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/profinet/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/rdm/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/rlm/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/rtnet/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/rudp/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/sbus/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/stats_tree/.libs
-Wl,-rpath,/home/clock/wireshark-0.99.2/plugins/v5ua/.libs
-Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib/wireshark/plugins/0.99.2
/usr/bin/ld: cannot find -lwiretap
collect2: ld returned 1 exit status

There is a shell alias on make:
clock@kestrel:~$ alias
alias make='gmake'

clock@kestrel:~/wireshark-0.99.2$ find . -name '*wiretap*'
./image/wiretap.rc.in
./wiretap
./wiretap/.libs/libwiretap.so.0.1
./wiretap/.libs/libwiretap.lai
./wiretap/.libs/libwiretap.la
./wiretap/libwiretap.la


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.