WUSB11 version 2.8 (atmel) and Debian
I've been trying for 5 days to get a WUSB11 version 2.8 to work with Debian (Ubunutu). My latest try was to use the atmel driver. Unfortunately, the driver won't compile. Can someone, anyone, please help????
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.10\" -I/lib/modules/2.6.8.1-3-386/build/include -DMODVERSIONS -include /lib/modules/2.6.8.1-3-386/build/include/linux/modversions.h -c at76c503.c
<command line>:138473787:61824: /lib/modules/2.6.8.1-3-386/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.8.1-3-386/build/include/asm/processor.h:18,
from /lib/modules/2.6.8.1-3-386/build/include/asm/thread_info.h:16,
from /lib/modules/2.6.8.1-3-386/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.8.1-3-386/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.8.1-3-386/build/include/linux/capability.h:45,
from /lib/modules/2.6.8.1-3-386/build/include/linux/sched.h:7,
from at76c503.c:78:
/lib/modules/2.6.8.1-3-386/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.8.1-3-386/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.8.1-3-386/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.8.1-3-386/build/include/linux/irq.h:20,
from /lib/modules/2.6.8.1-3-386/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-3-386/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-3-386/build/include/linux/usb.h:15,
from at76c503.c:90:
/lib/modules/2.6.8.1-3-386/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.8.1-3-386/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-3-386/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-3-386/build/include/linux/usb.h:15,
from at76c503.c:90:
/lib/modules/2.6.8.1-3-386/build/include/linux/irq.h: At top level:
/lib/modules/2.6.8.1-3-386/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.8.1-3-386/build/include/linux/irq.h:72,
from /lib/modules/2.6.8.1-3-386/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-3-386/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-3-386/build/include/linux/usb.h:15,
from at76c503.c:90:
/lib/modules/2.6.8.1-3-386/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.8.1-3-386/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
In file included from at76c503.c:97:
at76c503.h:452: error: field `tqueue' has incomplete type
at76c503.h:458: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1396: error: `USB_ST_URB_PENDING' undeclared (first use in this function)
at76c503.c:1396: error: (Each undeclared identifier is reported only once
at76c503.c:1396: error: for each function it appears in.)
at76c503.c:1435: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1443: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1739: warning: passing arg 2 of `set_bit' from incompatible pointer type
at76c503.c:1740: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1763: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1763: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1771: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1775: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1775: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1802: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1806: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1806: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1810: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1813: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1813: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1814: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1819: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1819: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1821: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1858: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1858: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1859: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1929: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1929: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1930: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1980: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1980: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1981: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1986: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1986: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1987: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1995: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1995: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1996: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c: In function `submit_rx_urb':
at76c503.c:3060: warning: passing arg 6 of `usb_fill_bulk_urb' from incompatible pointer type
at76c503.c:3061: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3206: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3295: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3320: error: `USB_ASYNC_UNLINK' undeclared (first use in this function)
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4198: warning: implicit declaration of function `flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4229: warning: initialization from incompatible pointer type
at76c503.c:4235: error: structure has no member named `endpoint'
at76c503.c:4241: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4252: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4274: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4308: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4350: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4427: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4429: warning: implicit declaration of function `usb_get_configuration'
at76c503.c:4434: warning: implicit declaration of function `usb_set_configuration'
at76c503.c:4442: error: `USB_ST_STALL' undeclared (first use in this function)
at76c503.c:4457: error: structure has no member named `owner'
at76c503.c:4472: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Error 1
|