where is the reference of dtdParse function
"C:\Development\wsbuild32\Wireshark.sln" (default target) (1) -> "C:\Development\wsbuild32\epan\epan.vcxproj.metaproj" (default target) (20) -> "C:\Development\wsbuild32\epan\epan.vcxproj" (default target) (104) -> (ClCompile target) -> dtd_parse.c(2195): error C2059: syntax error: '<parameter-list>' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2200): error C2059: syntax error: '<parameter-list>' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): error C2143: syntax error: missing ')' before '(' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): error C2059: syntax error: ')' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): error C2143: syntax error: missing ')' before 'type' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): error C2091: function returns function [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): error C2373: 'free': redefinition; different type modifiers [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2206): error C2059: syntax error: '{' [C:\Development\wsbuild32\epan\epan.vcxproj] dtd_parse.c(2205): fatal error C1903: unable to recover from previous error(s); stopping compilation [C:\Development\wsbuild32\epan\epan.vcxproj]
Comments
Presumably you're asking why your build fails when attempting to compile dtd_parse.c?
This is a file generated during the build by flex, and as a generated file if it fails to compile it's likely that the generation process has failed. To see what's happened can you do the following:
msbuild /p:Configuration=RelWithDebInfo Wireshark.sln > build.txt
There are no C file under wsbuild32 all C files are place under the source code that I'd clone using git
It's not a file tracked by git, but a generated file, so it's generated into the build directory. Do you have any c files in
C:\Development\wsbuild32\epan
?No , There are no C file in that location
here is the build.txt content
Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved.
Build started 11/2/2017 3:41:00 PM. 1>Project "C:\Development\wsbuild32\Wireshark.sln" on node 1 (default targets). 1>ValidateSolutionConfiguration: Building solution configuration "RelWithDebInfo|X64". ValidateProjects: The project "INSTALL" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPI" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcapchild-base" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcapchild-todo" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcaputils-base" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcaputils-todo" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcodecs" is not selected for building in solution configuration "RelWithDebInfo|x64". The project "checkAPIcrypt" is ... (more)