Anonymous - 2010-11-28

As a beginner with ndiswrappers I'm having trouble compiling and installing
it. Please can someone advise?

I'm using Ubuntu 10.10, Linux-headers-2.6.35-22-generic.
I've unzipped the 1.56 tarball and then added all the files from svn on top to
take it to rev 2728. This includes the 3 files for rev 2727 to make it
compatible with the 2.6.35 headers. However, the compile bombs in usb.c with
the following messages::

root@D915GHA:~# cd Desktop/ndiswrapper-1.56
root@D915GHA:~/Desktop/ndiswrapper-1.56# ls
AUTHORS driver loadndisdriver.8 ndiswrapper.8 README
ChangeLog INSTALL Makefile ndiswrapper.spec utils
root@D915GHA:~/Desktop/ndiswrapper-1.56# make -B
make -C driver
make: Entering directory /root/Desktop/ndiswrapper-1.56/driver' make: Warning: FileMakefile' has modification time 1.4e+04 s in the future
make -C /usr/src/linux-headers-2.6.35-22-generic
M=/root/Desktop/ndiswrapper-1.56/driver
make: Entering directory /usr/src/linux-headers-2.6.35-22-generic' make: Warning: File/root/Desktop/ndiswrapper-1.56/driver/Makefile' has
modification time 1.4e+04 s in the future
LD /root/Desktop/ndiswrapper-1.56/driver/built-in.o
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/crt_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/hal_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/ndis_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/ntoskernel_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/ntoskernel_io_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/rtl_exports.h
MKEXPORT /root/Desktop/ndiswrapper-1.56/driver/usb_exports.h
CC /root/Desktop/ndiswrapper-1.56/driver/crt.o
CC /root/Desktop/ndiswrapper-1.56/driver/hal.o
CC /root/Desktop/ndiswrapper-1.56/driver/iw_ndis.o
CC /root/Desktop/ndiswrapper-1.56/driver/loader.o
CC /root/Desktop/ndiswrapper-1.56/driver/ndis.o
CC /root/Desktop/ndiswrapper-1.56/driver/ntoskernel.o
CC /root/Desktop/ndiswrapper-1.56/driver/ntoskernel_io.o
CC /root/Desktop/ndiswrapper-1.56/driver/pe_linker.o
CC /root/Desktop/ndiswrapper-1.56/driver/pnp.o
CC /root/Desktop/ndiswrapper-1.56/driver/proc.o
CC /root/Desktop/ndiswrapper-1.56/driver/rtl.o
CC /root/Desktop/ndiswrapper-1.56/driver/wrapmem.o
CC /root/Desktop/ndiswrapper-1.56/driver/wrapndis.o
CC /root/Desktop/ndiswrapper-1.56/driver/wrapper.o
CC /root/Desktop/ndiswrapper-1.56/driver/usb.o
In file included from /root/Desktop/ndiswrapper-1.56/driver/usb.c:19:
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:13: error:
‘USBD_CreateConfigurationRequest’ undeclared here (not in a function)
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:14: error:
‘USBD_CreateConfigurationRequestEx’ undeclared here (not in a function)
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:15: error:
‘USBD_GetUSBDIVersion’ undeclared here (not in a function)
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:16: error:
‘USBD_ParseConfigurationDescriptor’ undeclared here (not in a function)
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:17: error:
‘USBD_ParseConfigurationDescriptorEx’ undeclared here (not in a function)
/root/Desktop/ndiswrapper-1.56/driver/usb_exports.h:18: error:
‘USBD_ParseDescriptors’ undeclared here (not in a function)
make: Error 1
make:
Error 2
make: Leaving directory /usr/src/linux-headers-2.6.35-22-generic' make: *** Error 2 make: Leaving directory/root/Desktop/ndiswrapper-1.56/driver'
make: *** Error 2
root@D915GHA:~/Desktop/ndiswrapper-1.56#

Thanks in advance for any advice.