On 21 August 2014 11:19, Roland Knall <rkn...@gmail.com> wrote:

>
> The #include "config.h" statement is a mistake, it should refer to
> #include <config.h>
>
> I've committed a change to https://code.wireshark.org/review/#/c/3763/ .
>
> It builds find on my Linux and Mac (using GLib 2.36).
>
> Also looking at the Mac buildbot (GLib < 2.34 is the issue) right now, and
> maybe have a solution for that in the afternoon.
>
>
>
Just changing that include doesn't fix the Windows CMake build
unfortunately.  See attached file.

-- 
Graham Bloice
       "E:\Wireshark\build2013\Wireshark.sln" (default target) (1) ->
       "E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj.metaproj" (default target) 
(18) ->
       "E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj" (default target) (59) ->
       (ClCompile target) ->
         e:\wireshark\wireshark\config.h(191): warning C4005: 'HAVE_KERBEROS' : 
macro redefinition [E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         e:\wireshark\wireshark\config.h(256): warning C4005: 'VERSION' : macro 
redefinition [E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         e:\wireshark\wireshark\config.h(264): warning C4005: 'HTML_VIEWER' : 
macro redefinition [E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(566): warning C4013: 
'airpcap_set_toolbar_stop_capture' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(578): warning C4013: 
'airpcap_set_toolbar_start_capture' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1060): warning C4047: 
'function' : 'const gchar *' differs in levels of indirection from 'int' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1060): warning C4024: 
'g_object_set_data' : different types for formal and actual parameter 2 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1063): warning C4013: 
'airpcap_enable_toolbar_widgets' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1064): warning C4013: 
'display_airpcap_advanced_cb' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(2973): warning C4013: 
'get_airpcap_if_from_name' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(2974): warning C4047: '!=' 
: 'int' differs in levels of indirection from 'void *' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4590): warning C4013: 
'get_airpcap_interface_list' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4596): warning C4047: '==' 
: 'int' differs in levels of indirection from 'void *' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4602): warning C4047: 
'function' : 'const gchar *' differs in levels of indirection from 'int' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4602): warning C4024: 
'g_object_get_data' : different types for formal and actual parameter 2 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4604): warning C4013: 
'update_decryption_mode_list' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4606): warning C4013: 
'airpcap_get_default_if' undefined; assuming extern returning int 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]


       "E:\Wireshark\build2013\Wireshark.sln" (default target) (1) ->
       "E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj.metaproj" (default target) 
(18) ->
       "E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj" (default target) (59) ->
       (ClCompile target) ->
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(565): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(566): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(577): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(578): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1059): error C2065: 
'AIRPCAP_ADVANCED_FROM_OPTIONS' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1060): error C2065: 
'AIRPCAP_ADVANCED_FROM_KEY' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1062): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1062): error C2065: 
'airpcap_if_selected' : undeclared 
identifier[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1366): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1367): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1736): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1736): error C2065: 
'CAPTURE_SAMP_NONE' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1738): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1738): error C2065: 
'CAPTURE_SAMP_BY_COUNT' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1739): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1741): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1741): error C2065: 
'CAPTURE_SAMP_BY_TIMER' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1742): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1844): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1844): error C2065: 
'CAPTURE_SAMP_NONE' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1853): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1853): error C2065: 
'CAPTURE_SAMP_BY_COUNT' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1860): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1861): error C2198: 
'gtk_adjustment_new' : too few arguments for call 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1873): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1873): error C2065: 
'CAPTURE_SAMP_BY_TIMER' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1880): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(1881): error C2198: 
'gtk_adjustment_new' : too few arguments for call 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(2973): error C2065: 
'airpcap_if_selected' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(2973): error C2065: 
'airpcap_if_list' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(2974): error C2065: 
'airpcap_if_selected' : undeclared 
identifier[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(3288): error C2039: 
'sampling_method' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(3288): error C2039: 
'sampling_method' : is not a member of 'interface_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(3289): error C2039: 
'sampling_param' : is not a member of 'remote_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(3289): error C2039: 
'sampling_param' : is not a member of 'interface_options_tag' 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4590): error C2065: 
'airpcap_if_list' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4596): error C2065: 
'airpcap_if_list' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4597): error C2065: 
'CANT_GET_AIRPCAP_INTERFACE_LIST' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4602): error C2065: 
'AIRPCAP_TOOLBAR_DECRYPTION_KEY' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4606): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(4606): error C2065: 
'airpcap_if_list' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5310): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5310): error C2065: 
'airpcap_if_selected' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5311): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5312): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5847): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]
         E:\Wireshark\wireshark\ui\gtk\capture_dlg.c(5848): error C2065: 
'airpcap_if_active' : undeclared identifier 
[E:\Wireshark\build2013\ui\gtk\gtkui.vcxproj]


       "E:\Wireshark\build2013\Wireshark.sln" (default target) (1) ->
       "E:\Wireshark\build2013\auxiliary.vcxproj.metaproj" (default target) (3) 
->
       "E:\Wireshark\build2013\auxiliary.vcxproj" (default target) (53) ->
       (CustomBuild target) ->
         C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error 
MSB6006: "cmd.exe" exited with code 9009. 
[E:\Wireshark\build2013\auxiliary.vcxproj]

    17 Warning(s)
    48 Error(s)

Time Elapsed 00:00:06.28
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to