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 2702] New: Unsatisfied Symbols while building wireshark

Date: Fri, 11 Jul 2008 01:49:23 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702

           Summary: Unsatisfied Symbols while building wireshark
           Product: Wireshark
           Version: 1.0.1
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: ravindra1103@xxxxxxxxx


Build Information:
export PATH=/usr/local/bin:$PATH
export CC="gcc -static-libgcc "
export CFLAGS="-mpa-risc-2-0 -fPIC"
export CPPFLAGS="-I/opt/adns/include -I/opt/iexpress/zlib/include
-I/opt/iexpress/libpcap/include/ -I/usr/local/include"
export LDFLAGS="-L/opt/iexpress/libpcap/lib/ -L/usr/local/lib -L/usr/lib
-L/usr/lib/X11R5/"
./configure --prefix=/opt/iexpress/wireshark \
            --with-ssl=/opt/openssl \
            --with-zlib=/opt/iexpress \
            --with-pcap=/opt/iexpress/libpcap \
            --with-pcre \
            --with-adns=/opt/adns \
            --enable-shared \
            --enable-wireshark \
            --with-libiconv \
            --without-net-snmp \
            --without-ucd-snmp \
            --enable-ipv6 \
            --enable-randpkt \
            --enable-dftest \
            --enable-threads \
            --with-plugins \
            --with-glib-prefix=/usr/local \
            --disable-gtk2
--
When i try to build wireshark on HPUX 11.23PA  i am getting the following
errors Can any body help me regarding this.

creating .libs/wiresharkS.c
(cd .libs && gcc -static-libgcc   -mpa-risc-2-0 -fPIC -c -fno-builtin  -fPIC
-DPIC "wiresharkS.c")
rm -f .libs/wiresharkS.c .libs/wireshark.nm .libs/wireshark.nmS
.libs/wireshark.nmT
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `wireshark' will be relinked during installation
gcc -static-libgcc "-D_U_=__attribute__((unused))
" -mpa-risc-2-0 -fPIC -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -I/usr/local/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/include/X11R6
-I/opt/iexpress/libpcap/include -I/opt/iexpress/include -o .libs/wireshark
capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_ui_utils.o
cfile.o clopts_common.o disabled_protos.o packet-range.o print.o ps.o
sync_pipe_write.o timestats.o util.o tap-rtp-common.o version_info.o
airpcap_loader.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 summary.o tempfile.o .libs/wiresharkS.o -Wl,-E 
-L/opt/iexpress/libpcap/lib/ -L/usr/local/lib -L/usr/lib -L/usr/lib/X11R5/
-L/opt/iexpress/libpcap/lib -L/opt/openssl/lib gtk/libui.a codecs/libcodec.a
wiretap/.libs/libwiretap.sl -L/opt/iexpress/lib epan/.libs/libwireshark.sl
-lcrypto /usr/local/lib/libpcre.a -lpcap /usr/local/lib/libgtk.a -lgdk
-lgmodule -lglib /usr/local/lib/libintl.a -lXext -lX11 -lm
/usr/local/lib/libgcrypt.a -l:libgpg-error.a -lnsl
/usr/local/lib/libgpg-error.a /usr/local/lib/libiconv.a -lz  -Wl,+b
-Wl,/home/jaipal/ixpress/PHASE11/32bit/wireshark/wireshark-1.0.1/wiretap/.libs:/home/jaipal/ixpress/PHASE11/32bit/wireshark/wireshark-1.0.1/epan/.libs:/opt/iexpress/wireshark/lib
/usr/ccs/bin/ld: Unsatisfied symbols:
   protect_thread_critical_region (first referenced in
gtk/libui.a(rtp_analysis.o)) (data)
   unprotect_thread_critical_region (first referenced in
gtk/libui.a(rtp_analysis.o)) (data



I am using 4.2.1 version gcc


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