[Winpcap-users] Compiling issues while building WinDump.exe
Raghavendra .K.M
raghav_rkm at yahoo.com
Wed Jun 14 02:55:55 GMT 2006
Hi all,
I installed WinCap and got my WinDump.exe running.
However I wanted to build WinDump.exe from source .
I extracted both WDumpSrc_3_9_3.zip and wpcapsrc_3_1.zip into same folder..
While building WinDump I run into lot of errors.
Few were about missing .h files which I had to point to in Wpcap source .
But others are related to lack of declaration type.
For instance
ip6.h(88) : error C2079: 'ip6_src' uses undefined struct 'in6_addr'
Running through entire source I see 'in6_addr' defined in 'ip6_misc.h'
but I dont find this file included in ip6.h
Am I missing out on anything here..
Cannot attach the build log file since it is quite huge. Pasted snippets from the build log below
Can somebody please help,
Appreciate you help on this,
thanks,
Raghav
/==========================================/
Compiling...
addrtoname.c
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'
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'
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'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2061: syntax error : identifier 'thiszone'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2059: syntax error : ';'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(127) : error C2061: syntax error : identifier 'int32_t'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(149) : error C2059: syntax error : '}'
C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(119) : warning C4013: 'getnameinfo' undefined; assuming extern returning int
C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(136) : error C2079: 'addr' uses undefined struct 'in6_addr'
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'
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'
C:\QTV_Builds\WinDump\WinDumpNew\WDumpSrc_3_9_3\tcpdump-3.9.3\addrtoname.c(274) : error C2079: 'addr' uses undefined struct 'in6_addr'
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
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
bpf_dump.c
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'
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'
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'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2061: syntax error : identifier 'thiszone'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\interface.h(113) : error C2059: syntax error : ';'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(127) : error C2061: syntax error : identifier 'int32_t'
c:\qtv_builds\windump\windumpnew\wdumpsrc_3_9_3\tcpdump-3.9.3\netdissect.h(149) : error C2059: syntax error : '}'
cpack.c
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'
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'
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'
datalinks.c
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'
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'
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'
dlnames.c
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'
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'
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'
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060614/45999f47/attachment.htm
More information about the Winpcap-users
mailing list