Wireshark-bugs: [Wireshark-bugs] [Bug 7910] New: Compile failure: redefinition of wmem_allocator

Date: Wed, 24 Oct 2012 03:52:01 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7910

           Summary: Compile failure: redefinition of wmem_allocator_t
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxx


Build Information:
[~/wireshark-trunk] edwin@t43>svn info
Path: .
Working Copy Root Path: /usr/home/edwin/wireshark-trunk
URL: https://anonsvn.wireshark.org/wireshark/trunk
Repository Root: https://anonsvn.wireshark.org/wireshark
Repository UUID: f5534014-38df-0310-8fa8-9805f1628bb7
Revision: 45755
Node Kind: directory
Schedule: normal
Last Changed Author: etxrab
Last Changed Rev: 45755
Last Changed Date: 2012-10-24 18:08:39 +1100 (Wed, 24 Oct 2012)

--
I just tried to recompile the trunk version of Wireshark and it ended up with a
compile failure:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DINET6
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE
-DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -D_FORTIFY_SOURCE=2
-I/usr/local/include -I/usr/include/pcap -I/usr/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.9.0\" -g -O2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Wcast-align -Wformat-security -Wold-style-definition -D_THREAD_SAFE
-D_REENTRANT -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/cairo
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1
-I/usr/local/include/freetype2 -MT wmem_strutl.lo -MD -MP -MF
.deps/wmem_strutl.Tpo -c wmem_strutl.c  -fPIC -DPIC -o .libs/wmem_strutl.o
In file included from wmem_strutl.c:32:
wmem_strutl.h:37: error: redefinition of typedef 'wmem_allocator_t'
wmem_core.h:37: error: previous declaration of 'wmem_allocator_t' was here
gmake[3]: *** [wmem_strutl.lo] Error 1
gmake[3]: Leaving directory `/usr/home/edwin/wireshark-trunk/epan/wmem'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/edwin/wireshark-trunk/epan'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/edwin/wireshark-trunk'
gmake: *** [all] Error 2

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