Wireshark-dev: Re: [Wireshark-dev] Windows compilation fails
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\Wire
shark.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\u i.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\u i.vcx
proj]
C:\Development\wireshark\ui\text_import.c(1035): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vc
xproj]
C:\Development\wireshark\ui\text_import.c(1041): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vc
xproj]
C:\Development\wireshark\ui\text_import.c(1043): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vc
xproj]
C:\Development\wireshark\ui\text_import.c(1045): error C2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vc
xproj]
"c:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
"c:\Development\wsbuild64\docbook\developer_guide_chm.vcxpro j.metaproj" (default target) (15) ->
"c:\Development\wsbuild64\docbook\developer_guide_chm.vcxpro j" (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.metap roj" (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_di alog.cpp) [c:\Development\wsbuild64\ui\q t\qtui.vcxproj] 34 Warning(s)
25 Error(s)Time Elapsed 00:06:33
The docbook errors are due to missing the docbook-xml45 package from Cygwin.
- Follow-Ups:
- Re: [Wireshark-dev] Windows compilation fails
- From: Pascal Quantin
- Re: [Wireshark-dev] Windows compilation fails
- References:
- [Wireshark-dev] Windows compilation fails
- From: Dario Lombardo
- [Wireshark-dev] Windows compilation fails
- Prev by Date: [Wireshark-dev] Windows compilation fails
- Next by Date: Re: [Wireshark-dev] Windows compilation fails
- Previous by thread: [Wireshark-dev] Windows compilation fails
- Next by thread: Re: [Wireshark-dev] Windows compilation fails
- Index(es):