Kismet Wireless

Kismet Forums

 

Posted by:hector
Subject:compile problem (windows 7)
Date:01:07:00 20/12/2011

Hello,

>
> Usually you can ignore those, but that it's not finding airpcap at all... >Check what config.log says, it will have a more detailed error message. Maybe >the airpcap devpack changed, or it needs something else now...

Thank you for the tip. Taking a look at the config.log, there were lots of error messages (shown below). The airpcap devpack files are unmodified (v4.1.1.1838). Could it be a problem with cygwin's configuration? Cygwin's version is:

$ uname -srv
CYGWIN_NT-6.1-WOW64 1.7.9(0.237/5/3) 2011-03-29 10:10

Thanks,
Hector

-----------------

configure:6541: checking airpcap.h usability
configure:6541: gcc -c -g -O2 -I/usr/include/ncurses -I./Airpcap_Devpack/Include -I./WinPcap_Devpack/Include conftest.c >&5
In file included from conftest.c:100:
./Airpcap_Devpack/Include/airpcap.h:77: error: parse error before "PCHAR"
./Airpcap_Devpack/Include/airpcap.h:77: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:78: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:79: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:87: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./Airpcap_Devpack/Include/airpcap.h:101: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:101: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:102: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:103: error: parse error before "KeyData"
./Airpcap_Devpack/Include/airpcap.h:103: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:104: error: parse error before '}' token
./Airpcap_Devpack/Include/airpcap.h:108: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:180: error: parse error before "BYTE"
./Airpcap_Devpack/Include/airpcap.h:180: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:185: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:207: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:207: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:208: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:209: error: parse error before '}' token
./Airpcap_Devpack/Include/airpcap.h:209: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:218: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:218: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:219: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:220: error: parse error before "Caplen"
./Airpcap_Devpack/Include/airpcap.h:220: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:221: error: parse error before "Originallen"
./Airpcap_Devpack/Include/airpcap.h:221: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:222: error: parse error before "Hdrlen"
./Airpcap_Devpack/Include/airpcap.h:222: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:227: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:238: error: parse error before "ULONGLONG"
./Airpcap_Devpack/Include/airpcap.h:238: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:239: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:240: error: parse error before "SoftwareTimestampAfter"
./Airpcap_Devpack/Include/airpcap.h:240: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:245: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:253: warning: #pragma pack (pop) encountered without matching #pragma pack (push, <n>)
./Airpcap_Devpack/Include/airpcap.h:274: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:274: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:285: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:286: error: parse error before "Flags"
./Airpcap_Devpack/Include/airpcap.h:286: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:287: error: parse error before "Reserved"
./Airpcap_Devpack/Include/airpcap.h:287: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:288: error: parse error before '}' token
./Airpcap_Devpack/Include/airpcap.h:289: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:323: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:323: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:326: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:328: error: parse error before "IfDrops"
./Airpcap_Devpack/Include/airpcap.h:328: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:330: error: parse error before "Capt"
./Airpcap_Devpack/Include/airpcap.h:330: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:332: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:341: error: parse error before "CHAR"
./Airpcap_Devpack/Include/airpcap.h:341: warning: no semicolon at end of struct or union
./Airpcap_Devpack/Include/airpcap.h:343: error: parse error before "CanTransmit"
./Airpcap_Devpack/Include/airpcap.h:343: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:344: error: parse error before "CanSetTransmitPower"
./Airpcap_Devpack/Include/airpcap.h:344: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:345: error: parse error before "ExternalAntennaPlug"
./Airpcap_Devpack/Include/airpcap.h:345: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:346: error: parse error before "SupportedMedia"
./Airpcap_Devpack/Include/airpcap.h:346: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:349: error: parse error before "SupportedBands"
./Airpcap_Devpack/Include/airpcap.h:349: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:351: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:384: error: parse error before "VersionMajor"
./Airpcap_Devpack/Include/airpcap.h:391: error: parse error before "AirpcapGetLastError"
./Airpcap_Devpack/Include/airpcap.h:391: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:422: error: parse error before "AirpcapGetDeviceList"
./Airpcap_Devpack/Include/airpcap.h:422: error: parse error before '*' token
./Airpcap_Devpack/Include/airpcap.h:422: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:428: error: parse error before "AirpcapFreeDeviceList"
./Airpcap_Devpack/Include/airpcap.h:428: error: parse error before "PAllDevs"
./Airpcap_Devpack/Include/airpcap.h:428: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:436: error: parse error before "DeviceName"
./Airpcap_Devpack/Include/airpcap.h:442: error: parse error before "AirpcapClose"
./Airpcap_Devpack/Include/airpcap.h:442: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:453: error: parse error before "AirpcapGetDeviceCapabilities"
./Airpcap_Devpack/Include/airpcap.h:453: error: parse error before "PAirpcapDeviceCapabilities"
./Airpcap_Devpack/Include/airpcap.h:453: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:468: error: parse error before "AirpcapSetDeviceMacFlags"
./Airpcap_Devpack/Include/airpcap.h:468: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:468: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:481: error: parse error before "AirpcapGetDeviceMacFlags"
./Airpcap_Devpack/Include/airpcap.h:481: error: parse error before "PUINT"
./Airpcap_Devpack/Include/airpcap.h:481: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:502: error: parse error before "AirpcapSetLinkType"
./Airpcap_Devpack/Include/airpcap.h:502: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:523: error: parse error before "AirpcapGetLinkType"
./Airpcap_Devpack/Include/airpcap.h:523: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:538: error: parse error before "AirpcapSetFcsPresence"
./Airpcap_Devpack/Include/airpcap.h:538: error: parse error before "BOOL"
./Airpcap_Devpack/Include/airpcap.h:538: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:553: error: parse error before "AirpcapGetFcsPresence"
./Airpcap_Devpack/Include/airpcap.h:553: error: parse error before "PBOOL"
./Airpcap_Devpack/Include/airpcap.h:553: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:563: error: parse error before "AirpcapSetFcsValidation"
./Airpcap_Devpack/Include/airpcap.h:563: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:573: error: parse error before "AirpcapGetFcsValidation"
./Airpcap_Devpack/Include/airpcap.h:573: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:596: error: parse error before "AirpcapSetDeviceKeys"
./Airpcap_Devpack/Include/airpcap.h:596: error: parse error before "PAirpcapKeysCollection"
./Airpcap_Devpack/Include/airpcap.h:596: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:623: error: parse error before "AirpcapGetDeviceKeys"
./Airpcap_Devpack/Include/airpcap.h:623: error: parse error before "PAirpcapKeysCollection"
./Airpcap_Devpack/Include/airpcap.h:623: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:646: error: parse error before "AirpcapSetDriverKeys"
./Airpcap_Devpack/Include/airpcap.h:646: error: parse error before "PAirpcapKeysCollection"
./Airpcap_Devpack/Include/airpcap.h:646: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:669: error: parse error before "AirpcapGetDriverKeys"
./Airpcap_Devpack/Include/airpcap.h:669: error: parse error before "PAirpcapKeysCollection"
./Airpcap_Devpack/Include/airpcap.h:669: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:680: error: parse error before "AirpcapSetDecryptionState"
./Airpcap_Devpack/Include/airpcap.h:680: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:691: error: parse error before "AirpcapGetDecryptionState"
./Airpcap_Devpack/Include/airpcap.h:691: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:702: error: parse error before "AirpcapSetDriverDecryptionState"
./Airpcap_Devpack/Include/airpcap.h:702: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:713: error: parse error before "AirpcapGetDriverDecryptionState"
./Airpcap_Devpack/Include/airpcap.h:713: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:726: error: parse error before "AirpcapSetDeviceChannel"
./Airpcap_Devpack/Include/airpcap.h:726: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:726: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:739: error: parse error before "AirpcapGetDeviceChannel"
./Airpcap_Devpack/Include/airpcap.h:739: error: parse error before "PUINT"
./Airpcap_Devpack/Include/airpcap.h:739: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:750: error: parse error before "AirpcapSetDeviceChannelEx"
./Airpcap_Devpack/Include/airpcap.h:750: error: parse error before "AirpcapChannelInfo"
./Airpcap_Devpack/Include/airpcap.h:750: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:761: error: parse error before "AirpcapGetDeviceChannelEx"
./Airpcap_Devpack/Include/airpcap.h:761: error: parse error before "PAirpcapChannelInfo"
./Airpcap_Devpack/Include/airpcap.h:761: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:777: error: parse error before "AirpcapGetDeviceSupportedChannels"
./Airpcap_Devpack/Include/airpcap.h:777: error: parse error before "PAirpcapChannelInfo"
./Airpcap_Devpack/Include/airpcap.h:777: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:787: error: parse error before "AirpcapConvertFrequencyToChannel"
./Airpcap_Devpack/Include/airpcap.h:787: error: parse error before "Frequency"
./Airpcap_Devpack/Include/airpcap.h:787: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:803: error: parse error before "AirpcapConvertChannelToFrequency"
./Airpcap_Devpack/Include/airpcap.h:803: error: parse error before "Channel"
./Airpcap_Devpack/Include/airpcap.h:803: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:819: error: parse error before "AirpcapSetKernelBuffer"
./Airpcap_Devpack/Include/airpcap.h:819: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:819: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:830: error: parse error before "AirpcapGetKernelBufferSize"
./Airpcap_Devpack/Include/airpcap.h:830: error: parse error before "PUINT"
./Airpcap_Devpack/Include/airpcap.h:830: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:847: error: parse error before "AirpcapSetTxPower"
./Airpcap_Devpack/Include/airpcap.h:847: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:847: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:863: error: parse error before "AirpcapGetTxPower"
./Airpcap_Devpack/Include/airpcap.h:863: error: parse error before "PUINT"
./Airpcap_Devpack/Include/airpcap.h:863: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:902: error: parse error before "AirpcapStoreCurConfigAsAdapterDefault"
./Airpcap_Devpack/Include/airpcap.h:902: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:922: error: parse error before "AirpcapSetFilter"
./Airpcap_Devpack/Include/airpcap.h:922: error: parse error before "PVOID"
./Airpcap_Devpack/Include/airpcap.h:922: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:930: error: parse error before "AirpcapGetMacAddress"
./Airpcap_Devpack/Include/airpcap.h:930: error: parse error before "PAirpcapMacAddress"
./Airpcap_Devpack/Include/airpcap.h:930: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:944: error: parse error before "AirpcapSetMacAddress"
./Airpcap_Devpack/Include/airpcap.h:944: error: parse error before "PAirpcapMacAddress"
./Airpcap_Devpack/Include/airpcap.h:944: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:959: error: parse error before "AirpcapSetMinToCopy"
./Airpcap_Devpack/Include/airpcap.h:959: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:959: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:971: error: parse error before "AirpcapGetReadEvent"
./Airpcap_Devpack/Include/airpcap.h:971: error: parse error before "HANDLE"
./Airpcap_Devpack/Include/airpcap.h:971: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:990: error: parse error before "AirpcapRead"
./Airpcap_Devpack/Include/airpcap.h:990: error: parse error before "PBYTE"
./Airpcap_Devpack/Include/airpcap.h:990: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1019: error: parse error before "AirpcapWrite"
./Airpcap_Devpack/Include/airpcap.h:1019: error: parse error before "PCHAR"
./Airpcap_Devpack/Include/airpcap.h:1019: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1027: error: parse error before "AirpcapGetStats"
./Airpcap_Devpack/Include/airpcap.h:1027: error: parse error before "PAirpcapStats"
./Airpcap_Devpack/Include/airpcap.h:1027: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1035: error: parse error before "AirpcapGetLedsNumber"
./Airpcap_Devpack/Include/airpcap.h:1035: error: parse error before "PUINT"
./Airpcap_Devpack/Include/airpcap.h:1035: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1043: error: parse error before "AirpcapTurnLedOn"
./Airpcap_Devpack/Include/airpcap.h:1043: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:1043: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1051: error: parse error before "AirpcapTurnLedOff"
./Airpcap_Devpack/Include/airpcap.h:1051: error: parse error before "UINT"
./Airpcap_Devpack/Include/airpcap.h:1051: warning: data definition has no type or storage class
./Airpcap_Devpack/Include/airpcap.h:1060: error: parse error before "AirpcapGetDeviceTimestamp"
./Airpcap_Devpack/Include/airpcap.h:1060: error: parse error before "PAirpcapDeviceTimestamp"
./Airpcap_Devpack/Include/airpcap.h:1060: warning: data definition has no type or storage class
configure:6541: $? = 1
configure: failed program was:


Reply to this message