LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-06-2005, 08:09 PM   #1
otterit
LQ Newbie
 
Registered: Aug 2002
Posts: 7

Rep: Reputation: 0
Unhappy 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
 
Old 03-07-2005, 04:31 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
<command line>:138473787:61824: /lib/modules/2.6.8.1-3-386/build/include/linux/modversions.h: No such file or directory

This line says it can't find the modversions.h file from the kernel sources..

Do you have the kernel-source and kernel-headers packages installed?
They should live in /usr/src/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What version Linksys WUSB11 do I Have? technodude90 Linux - Hardware 1 09-19-2004 08:27 PM
How do you configure the Atmel driver to work with my WUSB11 adapter? darkmastermatt Linux - Networking 0 09-06-2004 02:38 PM
I have Linksys WUSB11 Version 3 kewlmadisonguy Linux - Networking 6 05-26-2004 11:30 AM
Linksys WUSB11 Version 3.0 kewlmadisonguy Linux - Networking 1 05-25-2004 12:40 PM
Anyone know what chipset the WUSB11 Version 3.0 has!! kewlmadisonguy Linux - Networking 1 05-25-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration