Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 21831: /trunk/ /trunk/epan/dissector

From: SAWADA Kentaro <sawa-ken@xxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2007 22:43:33 +0900
I'm still facing the same problem unless remove the following line in
config.nmake of 0.99.6-SVN-22098.

	AIRPCAP_DIR=$(WIRESHARK_LIBS)\AirPcap_Devpack_1_0_0_594\AirPcap_Devpack

If I keep AIRPCAP_DIR line, I've got this error.

    packet-ieee80211.c(83) : fatal error C1083: 'airpcap.h': No such file or directory

This is simply caused by the following experimental(?) codes in config.nmake.

	!IFDEF AIRPCAP_DIR
	AIRPCAP_CONFIG=^#define HAVE_AIRPCAP 1
	AIRPDCAP_CONFIG=^#define HAVE_AIRPDCAP 1
	#AIRPCAP_CFLAGS=/I$(AIRPCAP_DIR)\include <=== HERE!!
	!ELSE
	AIRPCAP_CONFIG=
	AIRPDCAP_CONFIG=
	!ENDIF

Then, I removed '#', but many errors mentioned by Stephen Fisher san
occur.

0.99.6 is about to be released, but this problem will be kept?
I'm just wondering why Windows buildbot doesn't have the same errors?
Commented out?

----------------------------------------------------------------------
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Fri, 18 May 2007 17:08:06 -0700
----------------------------------------------------------------------
We're working on a fix.  Sorry for any inconvenience.

Stephen Fisher wrote:
> I'm getting compilation errors on a Windows box with AirPcap installed 
> since I did an svn update.  I assume it's related to the check-in at the 
> bottom of this e-mail.  The errors start with:
> 
> C:\wireshark\airpcap_loader.h(84) : error C2146: syntax error : missing 
> ')' before identifier 'ChannelInfo'
> C:\wireshark\airpcap_loader.h(84) : error C2081: 'AirpcapChannelInfo' : 
> name in formal parameter list illegal
> C:\wireshark\airpcap_loader.h(84) : error C2061: syntax error : 
> identifier 'ChannelInfo'
> C:\wireshark\airpcap_loader.h(84) : error C2059: syntax error : ';'
> C:\wireshark\airpcap_loader.h(84) : error C2059: syntax error : ')'
> C:\wireshark\airpcap_loader.h(85) : error C2146: syntax error : missing 
> ')' before identifier 'PChannelInfo'
> C:\wireshark\airpcap_loader.h(85) : error C2081: 'PAirpcapChannelInfo' : 
> name in formal parameter list illegal
> 
> And so on for a total of 92 errors ;)
> 
> On Fri, May 18, 2007 at 09:06:26PM +0000, gerald@xxxxxxxxxxxxx wrote:
>> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21831
>>
>> User: gerald
>> Date: 2007/05/18 09:06 PM
>>
>> Log:
>>  From Dustin Johnson:
>>  
>>    - Update the wireless/AirPcap GUI code to support 802.11n as well as
>>      some related upcoming code changes.
>>    - Remove airpcap.h from the repository, since it exists in the AirPcap
>>      devpack (and will be superseded Real Soon Now).
>>    - Show the individual channel flag bits in radiotap.
>>    
>>  Fix the 802.11n MCS set display.
>>  
>>  This is a partial checkin, so hopefully nothing is broken.
>>
>> Directory: /trunk/epan/dissectors/
>>   Changes    Path                  Action
>>   +1 -1      Makefile.nmake        Modified
>>   +8 -8      packet-ieee80211.c    Modified
>>   +1 -0      packet-ieee80211.h    Modified
>>   +60 -4     packet-radiotap.c     Modified
>>
>> Directory: /trunk/gtk/
>>   Changes    Path                   Action
>>   +1 -1      Makefile.nmake         Modified
>>   +115 -257  airpcap_dlg.c          Modified
>>   +0 -29     airpcap_dlg.h          Modified
>>   +311 -129  airpcap_gui_utils.c    Modified
>>   +31 -3     airpcap_gui_utils.h    Modified
>>   +6 -2      capture_dlg.c          Modified
>>   +17 -3     capture_if_dlg.c       Modified

---
SAWADA Kentaro