ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 3152] New: Wireshark build fails on SVN 27056 using IGE MA

Date: Sun, 21 Dec 2008 20:29:54 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3152

           Summary: Wireshark build fails on SVN 27056 using IGE MAC
                    INTEGRATION
           Product: Wireshark
           Version: 1.1.x (Experimental)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: parrisimo@xxxxxxxxx


Build Information:
Last good compilation:

Version 1.1.2 (SVN Rev 27055)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.15.0, with GLib 2.19.4, with libpcap 0.9.5, with libz
1.2.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares,
without ADNS, without Lua, without GnuTLS, without Gcrypt, with MIT Kerberos,
without GeoIP, without PortAudio, without AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running on Darwin 9.6.0 (MacOS 10.5.6), with libpcap version 0.9.5.

Built using gcc 4.0.1 (Apple Inc. build 5490).

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Overview:
Changes made to acinclude.m4 in SVN 27056 prevents the make process using the
Jhbuild GTK+ libraries.  

Steps to Reproduce:
    1) Install GTK+ Mac OS X per build instructions
    (sh gtk-osx-build-setup.sh, jhbuild bootstrap, etc)

    2) Start jbuild shell

    3) Update wireshark sources to SVN 27056 or later

    4) In wireshark source directory, run ./autogen.sh, ./configure, and make

Actual Results:

Error found below:
gcc -Werror -DINET6 -no-cpp-precomp "-D_U_=__attribute__((unused))" -O2
-gstabs+3 -std=gnu89 -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security
-I/usr/local/include -D_REENTRANT -I/Users/mp/gtk/inst/include/gtk-2.0
-I/Users/mp/gtk/inst/lib/gtk-2.0/include -I/Users/mp/gtk/inst/include/atk-1.0
-I/Users/mp/gtk/inst/include/cairo -I/Users/mp/gtk/inst/include/pango-1.0
-I/Users/mp/gtk/inst/include/glib-2.0 -I/Users/mp/gtk/inst/lib/glib-2.0/include
-I/Users/mp/gtk/inst/include/pixman-1 -I/Users/mp/gtk/inst/include/libpng12
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -o .libs/wireshark
wireshark-capture-pcap-util-unix.o wireshark-capture_errs.o
wireshark-capture-pcap-util.o wireshark-capture_ui_utils.o wireshark-cfile.o
wireshark-clopts_common.o wireshark-disabled_protos.o wireshark-packet-range.o
wireshark-print.o wireshark-ps.o wireshark-sync_pipe_write.o
wireshark-timestats.o wireshark-util.o wireshark-tap-rtp-common.o
wireshark-version_info.o wireshark-airpcap_loader.o wireshark-alert_box.o
wireshark-capture.o wireshark-capture_info.o wireshark-capture_opts.o
wireshark-capture_sync.o wireshark-color_filters.o wireshark-file.o
wireshark-fileset.o wireshark-filters.o wireshark-g711.o wireshark-merge.o
wireshark-proto_hier_stats.o wireshark-summary.o wireshark-tempfile.o
.libs/wiresharkS.o -dynamic -DINET6 -no-cpp-precomp
"-D_U_=__attribute__((unused))" -O2 -gstabs+3 -std=gnu89 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Wcast-align -Wformat-security -I/usr/local/include -D_REENTRANT
-I/Users/mp/gtk/inst/include/gtk-2.0 -I/Users/mp/gtk/inst/lib/gtk-2.0/include
-I/Users/mp/gtk/inst/include/atk-1.0 -I/Users/mp/gtk/inst/include/cairo
-I/Users/mp/gtk/inst/include/pango-1.0 -I/Users/mp/gtk/inst/include/glib-2.0
-I/Users/mp/gtk/inst/lib/glib-2.0/include -I/Users/mp/gtk/inst/include/pixman-1
-I/Users/mp/gtk/inst/include/libpng12 -Wl,-search_paths_first -framework
ApplicationServices -framework CoreFoundation -framework CoreServices 
-L/Users/mp/gtk/inst/lib -L/usr/local/lib gtk/libui.a codecs/libcodec.a
wiretap/.libs/libwiretap.0.0.1.dylib epan/.libs/libwireshark.0.0.1.dylib
/Users/mp/source/wireshark/wsutil/.libs/libwsutil.0.0.0.dylib
wsutil/.libs/libwsutil.0.0.0.dylib -lpcap
/Users/mp/gtk/inst/lib/libgtk-quartz-2.0.dylib
/Users/mp/gtk/inst/lib/libgdk-quartz-2.0.dylib
/Users/mp/gtk/inst/lib/libatk-1.0.dylib
/Users/mp/gtk/inst/lib/libgdk_pixbuf-2.0.dylib
/Users/mp/gtk/inst/lib/libgio-2.0.dylib
/Users/mp/gtk/inst/lib/libpangocairo-1.0.dylib
/Users/mp/gtk/inst/lib/libpango-1.0.dylib /Users/mp/gtk/inst/lib/libcairo.dylib
/Users/mp/gtk/inst/lib/libpixman-1.dylib -lm
/Users/mp/gtk/inst/lib/libpng12.dylib
/Users/mp/gtk/inst/lib/libgobject-2.0.dylib
/Users/mp/gtk/inst/lib/libgmodule-2.0.dylib
/Users/mp/gtk/inst/lib/libgthread-2.0.dylib
/Users/mp/gtk/inst/lib/libglib-2.0.dylib /Users/mp/gtk/inst/lib/libintl.dylib
/usr/lib/libiconv.dylib -lc -lkrb5 -lk5crypto -lcom_err -lresolv -lz
Undefined symbols:
  "_ige_mac_menu_add_app_menu_group", referenced from:
      _main_menu_new in libui.a(main_menu.o)
      _main_menu_new in libui.a(main_menu.o)
  "_ige_mac_menu_add_app_menu_item", referenced from:
      _main_menu_new in libui.a(main_menu.o)
      _main_menu_new in libui.a(main_menu.o)
  "_ige_mac_menu_set_global_key_handler_enabled", referenced from:
      _main_menu_new in libui.a(main_menu.o)
  "_ige_mac_menu_set_quit_menu_item", referenced from:
      _main_menu_new in libui.a(main_menu.o)
  "_ige_mac_menu_set_menu_bar", referenced from:
      _main_menu_new in libui.a(main_menu.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Expected Results:
    Make process completes without error

Build Date & Platform:
    Build 2008-12-21 on Mac OS 10.5.6

Additional Builds and Platforms:
    Make process works using the GTK+ FRAMEWORK with SVN 27056.


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