Anonymous - 2005-01-23

Hi!
Seems that 0.12 doesn't compile for me..
0.11 doesn't too but due to the already reported PCI powerstate problem with 2.6.10.
Here what happen with 0.12

[root@bloodymary ndiswrapper-0.12]# make
make -C driver
make[1]: Entering directory `/home/user/wireless/ndiswrapper-0.12/driver'

WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel

sed: -e expression #3, char 89: Unknown option to 's'
sed: -e expression #3, char 89: Unknown option to 's'
sed: -e expression #3, char 89: Unknown option to 's'
sed: -e expression #3, char 89: Unknown option to 's'
sed: -e expression #3, char 89: Unknown option to 's'
make -C /lib/modules/2.6.10/build SUBDIRS=/home/user/wireless/ndiswrapper-0.12/driver \ NDISWRAPPER_VERSION=0.12 \ EXTRA_VERSION= modules
make[2]: Entering directory /usr/src/linux-2.6.10' CC [M] /home/user/wireless/ndiswrapper-0.12/driver/wrapper.o CC [M] /home/user/wireless/ndiswrapper-0.12/driver/iw_ndis.o CC [M] /home/user/wireless/ndiswrapper-0.12/driver/pe_loader.o CC [M] /home/user/wireless/ndiswrapper-0.12/driver/ndis.o /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:124: warning:NdisInitializeWrapper' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:133: warning: NdisTerminateWrapper' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:141: warning:NdisMRegisterMiniport' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:201: warning: NdisAllocateMemoryWithTag' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:207: warning:NdisFreeMemory' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:262: warning: NdisWriteErrorLogEntry' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:269: warning:NdisOpenConfiguration' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:280: warning: NdisOpenConfigurationKeyByName' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:290: warning:NdisOpenConfigurationKeyByIndex' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:299: warning: NdisCloseConfiguration' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:307: warning:NdisOpenFile' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:366: warning: NdisMapFile' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:382: warning:NdisUnmapFile' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:389: warning: NdisCloseFile' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:396: warning:NdisGetSystemUpTime' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:430: warning: NdisGetBufferPhysicalArraySize' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:511: warning:NdisReadConfiguration' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:563: warning: NdisWriteConfiguration' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:629: warning:NdisInitializeString' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:642: warning: NdisInitAnsiString' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:658: warning:NdisInitUnicodeString' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:679: warning: NdisAnsiStringToUnicodeString' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:694: warning:NdisUnicodeStringToAnsiString' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:718: warning: NdisMSetAttributesEx' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:785: warning:NdisReadPciSlotInformation' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:797: warning: NdisWritePciSlotInformation' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:809: warning:NdisMQueryAdapterResources' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:880: warning: NdisMMapIoSpace' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:896: warning:NdisMUnmapIoSpace' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:923: warning: NdisFreeSpinLock' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:974: warning:NdisDprAcquireSpinLock' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:982: warning: NdisDprReleaseSpinLock' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:991: warning:NdisMAllocateMapRegisters' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1016: warning: NdisMFreeMapRegisters' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1055: warning:NdisMAllocateSharedMemoryAsync' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1084: warning: NdisMFreeSharedMemory' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1093: warning:NdisAllocateBufferPool' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1101: warning: NdisFreeBufferPool' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1110: warning:NdisAllocateBuffer' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1136: warning: NdisFreeBuffer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1146: warning:NdisAdjustBufferLength' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1153: warning: NdisQueryBuffer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1164: warning:NdisQueryBufferSafe' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1174: warning: NdisBufferVirtualAddress' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1181: warning:NdisBufferLength' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1198: warning: NdisAllocatePacketPoolEx' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1206: warning:NdisPacketPoolUsage' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1213: warning: NdisFreePacketPool' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1273: warning:NdisMInitializeTimer' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1284: warning: NdisInitializeTimer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1295: warning:NdisSetTimer' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1306: warning: NdisMSetPeriodicTimer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1318: warning:NdisMCancelTimer' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1326: warning: NdisCancelTimer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1338: warning:NdisReadNetworkAddress' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1347: warning: NdisMRegisterAdapterShutdownHandler' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1355: warning:NdisMDeregisterAdapterShutdownHandler' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1420: warning: NdisMRegisterInterrupt' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1480: warning:NdisMSynchronizeWithInterrupt' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1892: warning: NdisMSleep' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1912: warning:NdisMRegisterIoPortRange' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1921: warning: NdisMDeregisterIoPortRange' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1927: warning:NdisInterlockedDecrement' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1940: warning: NdisInterlockedIncrement' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1954: warning:NdisInterlockedInsertHeadList' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1973: warning: NdisInterlockedInsertTailList' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:1991: warning:NdisInterlockedRemoveHeadList' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2007: warning: NdisMInitializeScatterGatherDma' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2015: warning:NdisMGetDmaAlignment' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2027: warning: NdisQueryBufferOffset' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2035: warning:NdisSystemProcessorCount' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2041: warning: NdisInitializeEvent' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2070: warning:NdisResetEvent' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2185: warning: IoAllocateWorkItem' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2198: warning:IoFreeWorkItem' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2206: warning: IoQueueWorkItem' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2237: warning:NdisScheduleWorkItem' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2260: warning: NdisUnchainBufferAtBack' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2289: warning:NdisUnchainBufferAtFront' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2319: warning: NdisGetFirstBufferFromPacketSafe' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2334: warning:NdisMStartBufferPhysicalMapping' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2376: warning: NdisMCompleteBufferPhysicalMapping' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2406: warning:NdisMRegisterDevice' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2415: warning: NdisMDeregisterDevice' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2422: warning:NdisMGetDeviceProperty' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2489: warning: NdisReadPcmciaAttributeMemory' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2497: warning:NdisWritePcmciaAttributeMemory' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2510: warning: NdisMSetAttributes' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2512: warning:EthFilterDprIndicateReceiveComplete' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2513: warning: EthFilterDprIndicateReceive' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2514: warning:NdisMPciAssignResources' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2515: warning: NdisMRemoveMiniport' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2518: warning:RndisMIndicateReceive' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2520: warning: NdisMCoActivateVcComplete' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2523: warning:NdisMRegisterUnloadHandler' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ndis.c:2529: warning: NdisMCoDeactivateVcComplete' defined but not used CC [M] /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.o /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:744:1: directives may not be used inside a macro argument /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:743:55: unterminated argument list invoking macro "kthread_run" /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c: In functionPsCreateSystemThread':
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:747: kthread_run' undeclared (first use in this function) /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:747: (Each undeclared identifier is reported only once /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:747: for each function it appears in.) /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:747: parse error before string constant /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.h: At top level: /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:29: warning:WRITE_REGISTER_ULONG' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:35: warning: WRITE_REGISTER_USHORT' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:41: warning:WRITE_REGISTER_UCHAR' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:47: warning: KeInitializeTimer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:56: warning:KeInitializeDpc' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:82: warning: KeSetTimer' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:89: warning:KeCancelTimer' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:143: warning: ExInterlockedPushEntrySList' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:162: warning:ExInterlockedPopEntrySList' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:206: warning: ExInitializeNPagedLookasideList' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:234: warning:ExDeleteNPagedLookasideList' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:250: warning: ExInterlockedAddLargeStatistic' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:265: warning:MmMapIoSpace' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:277: warning: MmUnmapIoSpace' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:285: warning:IoIsWdmVersionAvailable' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:341: warning: KeClearEvent' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:431: warning:IoBuildSynchronousFsdRequest' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:457: warning: DbgBreakPoint' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:463: warning:IoAllocateIrp' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:490: warning: IoInitializeIrp' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:513: warning:IoBuildDeviceIoControlRequest' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:617: warning: IoFreeIrp' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:715: warning:PsCreateSystemThread' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:760: warning: PsTerminateSystemThread' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:768: warning:KeGetCurrentThread' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:777: warning: KeSetPriorityThread' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:795: warning:KeDelayExecutionThread' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:823: warning: KeQueryPriorityThread' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:837: warning:KeQueryInterruptTime' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:843: warning: KeQueryTimeIncrement' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:849: warning:PoStartNextPowerIrp' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:856: warning: InterlockedDecrement' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:869: warning:InterlockedIncrement' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:882: warning: InterlockedExchange' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:895: warning:InterlockedCompareExchange' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:990: warning: WmiTraceMessage' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:998: warning:WmiQueryTraceInformation' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1005: warning: IoWMIRegistrationControl' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1013: warning:KeBugCheckEx' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1018: warning: IoReleaseCancelSpinLock' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1019: warning:IoDeleteDevice' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1020: warning: IoCreateSymbolicLink' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1021: warning:MmMapLockedPages' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1022: warning: IoCreateDevice' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1023: warning:IoDeleteSymbolicLink' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1024: warning: MmMapLockedPagesSpecifyCache' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1025: warning:MmProbeAndLockPages' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1026: warning: MmUnlockPages' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1027: warning:IoAllocateMdl' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1028: warning: IoFreeMdl' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1029: warning:ObfReferenceObject' defined but not used
/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1030: warning: ObReferenceObjectByHandle' defined but not used /home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.c:1031: warning:_except_handler3' defined but not used
make[3]: [/home/user/wireless/ndiswrapper-0.12/driver/ntoskernel.o] Error 1
make[2]:
[module/home/user/wireless/ndiswrapper-0.12/driver] Error 2
make[2]: Leaving directory /usr/src/linux-2.6.10' make[1]: *** [default] Error 2 make[1]: Leaving directory/home/user/wireless/ndiswrapper-0.12/driver'
make: *** [all] Error 2
[root@bloodymary ndiswrapper-0.12]#