<div>Hi all,<BR> <BR>I installed WinCap and got my WinDump.exe running.<BR> <BR>However I wanted to build WinDump.exe from source .<BR> <BR>I extracted both WDumpSrc_3_9_3.zip and wpcapsrc_3_1.zip into same folder..<BR> <BR>While building WinDump I run into lot of errors.<BR> <BR>Few were about missing .h files which I had to point to in Wpcap source .<BR> <BR>But others are related to lack of declaration type.<BR> <BR>For instance <BR> <BR>ip6.h(88) : error C2079: 'ip6_src' uses undefined struct 'in6_addr' <BR>Running through entire source I see 'in6_addr' defined in 'ip6_misc.h'<BR>but I dont find this file included in ip6.h</div> <div>Am I missing out on anything here..<BR> <BR>Cannot attach the build log file since it is quite huge. Pasted snippets from the build log below <BR> <BR>Can somebody please help,<BR>Appreciate you help on this,<BR> <BR>thanks,<BR>Raghav</div> <div> </div>
<div>/==========================================/</div> <div>Compiling...<BR>addrtoname.c<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(87) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(88) : error C2079: 'ip6_dst' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(176) : error C2079: 'ip6r0_addr' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2061: syntax error : identifier 'thiszone'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2059: syntax error : ';'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(127) : error C2061: syntax error : identifier 'int32_t'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(149) : error C2059: syntax
error : '}'<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(119) : warning C4013: 'getnameinfo' undefined; assuming extern returning int<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(136) : error C2079: 'addr' uses undefined struct 'in6_addr'<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(245) : error C2037: left of 'ndo_nflag' specifies undefined struct/union 'netdissect_options'<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(252) : error C2037: left of 'ndo_Nflag' specifies undefined struct/union 'netdissect_options'<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(274) : error C2079: 'addr' uses undefined struct 'in6_addr'<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(280) : error C2224: left of '.s6_addr' must have struct/union
type<BR>C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(280) : fatal error C1903: unable to recover from previous error(s); stopping compilation<BR>bpf_dump.c<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(87) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(88) : error C2079: 'ip6_dst' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(176) : error C2079: 'ip6r0_addr' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2061: syntax error : identifier 'thiszone'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2059: syntax error : ';'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(127) : error C2061: syntax error : identifier
'int32_t'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(149) : error C2059: syntax error : '}'<BR>cpack.c<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(87) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(88) : error C2079: 'ip6_dst' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(176) : error C2079: 'ip6r0_addr' uses undefined struct 'in6_addr'<BR>datalinks.c<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(87) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(88) : error C2079: 'ip6_dst' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(176) : error C2079: 'ip6r0_addr' uses undefined struct
'in6_addr'<BR>dlnames.c<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(87) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(88) : error C2079: 'ip6_dst' uses undefined struct 'in6_addr'<BR>c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\ip6.h(176) : error C2079: 'ip6r0_addr' uses undefined struct 'in6_addr'</div> <div> </div><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com