Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.

From: "Bill Meier" <wmeier@xxxxxxxxxxx>
Date: Mon, 11 Jun 2007 11:24:09 -0400
>  Add a capture_interface_list(), which works similar to
>  get_interface_list() except that it forks dumpcap instead of calling
>  the pcap routines directly.  Use it in the GUI.
>  
>  Add a "-I" flag to dumpcap, which prints out verbose interface
>  information.
>  
>  Tested under Windows and Linux.
> 

Seems not to compile on my Windows XP system:

capture.c(646) : warning C4013: 'getaddrinfo' undefined; assuming extern 
returning int
capture.c(648) : error C2037: left of 'ai_family' specifies undefined 
struct/union 'addrinfo'
capture.c(652) : error C2037: left of 'ai_addr' specifies undefined 
struct/union 'addrinfo'
capture.c(658) : error C2037: left of 'ai_addr' specifies undefined 
struct/union 'addrinfo'
capture.c(665) : warning C4013: 'freeaddrinfo' undefined; assuming extern 
returning int


capture_opts.c
capture_opts.c(444) : error C2065: 'NI_MAXHOST' : undeclared identifier
capture_opts.c(444) : error C2057: expected constant expression
capture_opts.c(444) : error C2466: cannot allocate an array of constant size 
0
capture_opts.c(444) : error C2133: 'addr_str' : unknown size
capture_opts.c(495) : warning C4013: 'getnameinfo' undefined; assuming extern 
returning int
capture_opts.c(496) : error C2065: 'NI_NUMERICHOST' : undeclared identifier


Bill