Wireshark-dev: [Wireshark-dev] Windows compilation fails

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Fri, 5 Aug 2016 14:29:57 +0200

I'm trying to compile wireshark on windows, but it fails. I have low skills on windows, so maybe I'm missing something very basic.

Any hint? Thank you.


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\docbook\release_notes_html.vcxproj.metaproj" (default target) (50) ->
       "c:\Development\wsbuild64\docbook\release_notes_html.vcxproj" (default target) (102) ->
       (CustomBuild target) ->
         a2x : error : "xmllint" --nonet --noout --valid "/cygdrive/c/Development/wsbuild64/docbook/release-notes.xml" returned non-zero ex
       it status 4 [c:\Development\wsbuild64\docbook\release_notes_html.vcxproj]


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\ui\ui.vcxproj.metaproj" (default target) (61) ->
       "c:\Development\wsbuild64\ui\ui.vcxproj" (default target) (106) ->
       (ClCompile target) ->
         C:\Development\wireshark\ui\text_import.c(922): error C2065: 'yyscan_t' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vc
       xproj]
         C:\Development\wireshark\ui\text_import.c(922): error C2146: syntax error : missing ';' before identifier 'scanner' [c:\Developmen
       t\wsbuild64\ui\ui.vcxproj]
         C:\Development\wireshark\ui\text_import.c(922): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vcx
       proj]
         C:\Development\wireshark\ui\text_import.c(1035): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vc
       xproj]
         C:\Development\wireshark\ui\text_import.c(1041): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vc
       xproj]
         C:\Development\wireshark\ui\text_import.c(1043): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vc
       xproj]
         C:\Development\wireshark\ui\text_import.c(1045): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vc
       xproj]


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj.metaproj" (default target) (15) ->
       "c:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj" (default target) (114) ->
       (CustomBuild target) ->
         CUSTOMBUILD : I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [c:\Development\ws
       build64\docbook\developer_guide_chm.vcxproj]


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj" (default target) (63) ->
       "c:\Development\wsbuild64\docbook\user_guide_chm.vcxproj" (default target) (111) ->
         CUSTOMBUILD : I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [c:\Development\ws
       build64\docbook\user_guide_chm.vcxproj]


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj.metaproj" (default target) (18) ->
       "c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj" (default target) (116) ->
       (ClCompile target) ->
         C:\Development\wireshark\epan\dfilter\dfilter.c(216): error C2065: 'yyscan_t' : undeclared identifier [c:\Development\wsbuild64\ep
       an\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(216): error C2146: syntax error : missing ';' before identifier 'scanner' [c:\Deve
       lopment\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(216): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(217): error C2065: 'YY_BUFFER_STATE' : undeclared identifier [c:\Development\wsbui
       ld64\epan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(217): error C2146: syntax error : missing ';' before identifier 'in_buffer' [c:\De
       velopment\wsbuild64\epan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(217): error C2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\e
       pan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(237): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(245): error C2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\e
       pan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(245): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(252): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(258): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(321): error C2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\e
       pan\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(321): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]
         C:\Development\wireshark\epan\dfilter\dfilter.c(322): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epa
       n\dfilter\dfilter.vcxproj]


       "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
       "c:\Development\wsbuild64\ui\qt\qtui.vcxproj.metaproj" (default target) (44) ->
       "c:\Development\wsbuild64\ui\qt\qtui.vcxproj" (default target) (113) ->
         C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3050): error C2220: warning treated as error - no 'object
       ' file generated (C:\Development\wireshark\ui\qt\display_filter_expression_dialog.cpp) [c:\Development\wsbuild64\ui\qt\qtui.vcxproj]

    34 Warning(s)
    25 Error(s)

Time Elapsed 00:06:33