Wireshark-dev: Re: [Wireshark-dev] Wireshark Build Errors: airpcap.h, sync_pipe_write.c, #defin
From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Thu, 12 Oct 2006 07:01:06 +0200
Hi,
You are not stating which version version you are trying to build. At some
stage airpcap.h
Was missing from the distribution but that’s fixed now you could downloadit
from here:
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/airpcap.h?view=log
Or get a source tarball from the development tree here:
http://wireshark.org/download/automated/src/
BR
Anders

-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Turner, Jay
Skickat: den 11 oktober 2006 21:17
Till: wireshark-dev@xxxxxxxxxxxxx
Ämne: [Wireshark-dev] Wireshark Build Errors: airpcap.h,
sync_pipe_write.c,#defines, and ints

I installed, configured, and ran “nmake –f Makefile.nmake”. I noticed some
“warning: __int64 to int; possible loss of data” statements, some “already
defined” statements, etc. It compiled and linked quite far. Then I received:
ringbuffer.c
timestats.c
util.c
version_info.c
airpcap_loader.c
airpcap_loader.c(47) : fatal error C1083: Cannot open include file:
'airpcap.h':
 No such file or directory
alert_box.c
Generating Code...
Compiling...
capture.c
capture_info.c
capture_opts.c
capture_sync.c
color_filters.c
file.c
fileset.c
filters.c
g711.c
merge.c
proto_hier_stats.c
sync_pipe_write.c
sync_pipe_write.c(59) : warning C4013: 'write' undefined; assuming extern
return
ing int
summary.c
tempfile.c
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I’m using Wireshark 0.99.3a, Windows XP Professional 5.1.2600 SP2, MSVS EE
6.0, Cygwin Bash 3.1.17(6)-release.
I assume the “warning” messages should be ignored.
The airpcap.h file is nowhere in the wireshark directory tree. I downloaded
the developer package for airpcap, but it has no header file.
The README.win32 and Developer’s Guide have no reference to airpcap. I do
not need wireless protocol support.
How can I resolve this?
Thank you,
Jay Turner