Killertux
Legacy Member
Als ik mijn berlios drivers wil compilen (als root) krijg ik het volgende:
linux:/home/jonas/progs # tar -xzvf at76c503-0.11.tar.gz
at76c503-0.11/
at76c503-0.11/at76c503.c
at76c503-0.11/usbdfu.c
at76c503-0.11/at76c503-rfmd.c
at76c503-0.11/at76c505-rfmd.c
at76c503-0.11/at76c503-rfmd-acc.c
at76c503-0.11/at76c503-i3861.c
at76c503-0.11/at76c503-i3863.c
at76c503-0.11/at76c505-rfmd2958.c
at76c503-0.11/at76c503.h
at76c503-0.11/ieee802_11.h
at76c503-0.11/usbdfu.h
at76c503-0.11/fw-rfmd-0.90.2-140.h
at76c503-0.11/fw-rfmd-1.101.0-84.h
at76c503-0.11/fw-rfmd-acc-1.101.0-84.h
at76c503-0.11/fw-r505.h
at76c503-0.11/fw-505rfmd2958-1.101.0-86.h
at76c503-0.11/fw-i3861.h
at76c503-0.11/fw-i3863.h
at76c503-0.11/Makefile
at76c503-0.11/README
at76c503-0.11/COPYING
at76c503-0.11/CHANGELOG
at76c503-0.11/scripts/
at76c503-0.11/scripts/fwconvert
at76c503-0.11/scripts/fwversion
at76c503-0.11/scripts/CVS/
at76c503-0.11/scripts/CVS/Root
at76c503-0.11/scripts/CVS/Repository
at76c503-0.11/scripts/CVS/Entries
at76c503-0.11/scripts/fwbin2h
linux:/home/jonas/progs # ls
. .. at76c503-0.11 at76c503-0.11.tar.gz
linux:/home/jonas/progs # cd at76c503-0.11/
linux:/home/jonas/progs/at76c503-0.11 # ls
. at76c505-rfmd.c fw-rfmd-acc-1.101.0-84.h
.. CHANGELOG ieee802_11.h
at76c503.c COPYING Makefile
at76c503.h fw-505rfmd2958-1.101.0-86.h README
at76c503-i3861.c fw-i3861.h scripts
at76c503-i3863.c fw-i3863.h usbdfu.c
at76c503-rfmd-acc.c fw-r505.h usbdfu.h
at76c503-rfmd.c fw-rfmd-0.90.2-140.h
at76c505-rfmd2958.c fw-rfmd-1.101.0-84.h
linux:/home/jonas/progs/at76c503-0.11 # make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wn o-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSIO N=\"v0.11\" -I/lib/modules/2.6.4-52-default/build/include -DMODVERSIONS -include /lib/modules/2.6.4-52-default/build/include/linux/modversions.h -c at76c503.c
<command line>:138984685:48432: /lib/modules/2.6.4-52-default/build/include/linu x/modversions.h: Onbekend bestand of map
In file included from /lib/modules/2.6.4-52-default/build/include/linux/irq.h:20,
from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/asm/irq.h:16:25: irq_vectors.h: Onbekend bestand of map
In file included from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4-52-default/build/include/linux/irq.h:72,
from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.4-52-default/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from at76c503.c:100:
at76c503.h:459: error: field `tqueue' has incomplete type
at76c503.h:465: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1427: error: `USB_ST_URB_PENDING' undeclared (first use in this function)
at76c503.c:1427: error: (Each undeclared identifier is reported only once
at76c503.c:1427: error: for each function it appears in.)
at76c503.c:1466: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1474: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1757: warning: passing arg 2 of `set_bit' from incompatible pointer type
at76c503.c:1758: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1782: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1782: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1790: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1794: 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:1825: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1829: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1833: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1840: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1878: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1949: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2000: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2006: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2015: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c: In function `submit_rx_urb':
at76c503.c:3089: warning: passing arg 6 of `usb_fill_bulk_urb' from incompatible pointer type
at76c503.c:3090: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3235: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3321: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3346: error: `USB_ASYNC_UNLINK' undeclared (first use in this function)
at76c503.c: In function `ethtool_ioctl':
at76c503.c:3689: error: structure has no member named `owner'
at76c503.c:3695:41: missing binary operator before token "("
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4353: warning: implicit declaration of function `flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4384: warning: initialization from incompatible pointer type
at76c503.c:4390: error: structure has no member named `endpoint'
at76c503.c:4396: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4407: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4429: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4463: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4507: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4595: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4597: warning: implicit declaration of function `usb_get_configuration'
at76c503.c:4610: error: `USB_ST_STALL' undeclared (first use in this function)
at76c503.c:4625: error: structure has no member named `owner'
at76c503.c:4640: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Fout 1
Iemand die zit wat de n00b verkeerd doet?
linux:/home/jonas/progs # tar -xzvf at76c503-0.11.tar.gz
at76c503-0.11/
at76c503-0.11/at76c503.c
at76c503-0.11/usbdfu.c
at76c503-0.11/at76c503-rfmd.c
at76c503-0.11/at76c505-rfmd.c
at76c503-0.11/at76c503-rfmd-acc.c
at76c503-0.11/at76c503-i3861.c
at76c503-0.11/at76c503-i3863.c
at76c503-0.11/at76c505-rfmd2958.c
at76c503-0.11/at76c503.h
at76c503-0.11/ieee802_11.h
at76c503-0.11/usbdfu.h
at76c503-0.11/fw-rfmd-0.90.2-140.h
at76c503-0.11/fw-rfmd-1.101.0-84.h
at76c503-0.11/fw-rfmd-acc-1.101.0-84.h
at76c503-0.11/fw-r505.h
at76c503-0.11/fw-505rfmd2958-1.101.0-86.h
at76c503-0.11/fw-i3861.h
at76c503-0.11/fw-i3863.h
at76c503-0.11/Makefile
at76c503-0.11/README
at76c503-0.11/COPYING
at76c503-0.11/CHANGELOG
at76c503-0.11/scripts/
at76c503-0.11/scripts/fwconvert
at76c503-0.11/scripts/fwversion
at76c503-0.11/scripts/CVS/
at76c503-0.11/scripts/CVS/Root
at76c503-0.11/scripts/CVS/Repository
at76c503-0.11/scripts/CVS/Entries
at76c503-0.11/scripts/fwbin2h
linux:/home/jonas/progs # ls
. .. at76c503-0.11 at76c503-0.11.tar.gz
linux:/home/jonas/progs # cd at76c503-0.11/
linux:/home/jonas/progs/at76c503-0.11 # ls
. at76c505-rfmd.c fw-rfmd-acc-1.101.0-84.h
.. CHANGELOG ieee802_11.h
at76c503.c COPYING Makefile
at76c503.h fw-505rfmd2958-1.101.0-86.h README
at76c503-i3861.c fw-i3861.h scripts
at76c503-i3863.c fw-i3863.h usbdfu.c
at76c503-rfmd-acc.c fw-r505.h usbdfu.h
at76c503-rfmd.c fw-rfmd-0.90.2-140.h
at76c505-rfmd2958.c fw-rfmd-1.101.0-84.h
linux:/home/jonas/progs/at76c503-0.11 # make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wn o-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSIO N=\"v0.11\" -I/lib/modules/2.6.4-52-default/build/include -DMODVERSIONS -include /lib/modules/2.6.4-52-default/build/include/linux/modversions.h -c at76c503.c
<command line>:138984685:48432: /lib/modules/2.6.4-52-default/build/include/linu x/modversions.h: Onbekend bestand of map
In file included from /lib/modules/2.6.4-52-default/build/include/linux/irq.h:20,
from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/asm/irq.h:16:25: irq_vectors.h: Onbekend bestand of map
In file included from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.4-52-default/build/include/linux/irq.h:72,
from /lib/modules/2.6.4-52-default/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.4-52-default/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.4-52-default/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.4-52-default/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.4-52-default/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from at76c503.c:100:
at76c503.h:459: error: field `tqueue' has incomplete type
at76c503.h:465: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1427: error: `USB_ST_URB_PENDING' undeclared (first use in this function)
at76c503.c:1427: error: (Each undeclared identifier is reported only once
at76c503.c:1427: error: for each function it appears in.)
at76c503.c:1466: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1474: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1757: warning: passing arg 2 of `set_bit' from incompatible pointer type
at76c503.c:1758: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1782: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1782: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1790: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1794: 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:1825: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1829: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1833: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1840: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1878: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1949: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2000: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2006: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2015: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c: In function `submit_rx_urb':
at76c503.c:3089: warning: passing arg 6 of `usb_fill_bulk_urb' from incompatible pointer type
at76c503.c:3090: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3235: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3321: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3346: error: `USB_ASYNC_UNLINK' undeclared (first use in this function)
at76c503.c: In function `ethtool_ioctl':
at76c503.c:3689: error: structure has no member named `owner'
at76c503.c:3695:41: missing binary operator before token "("
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4353: warning: implicit declaration of function `flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4384: warning: initialization from incompatible pointer type
at76c503.c:4390: error: structure has no member named `endpoint'
at76c503.c:4396: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4407: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4429: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4463: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4507: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4595: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4597: warning: implicit declaration of function `usb_get_configuration'
at76c503.c:4610: error: `USB_ST_STALL' undeclared (first use in this function)
at76c503.c:4625: error: structure has no member named `owner'
at76c503.c:4640: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Fout 1
Iemand die zit wat de n00b verkeerd doet?

ad:
... indien je die niet kan bemachtigen wil ik ze ook wel doormailen hoor, heb hier een snapshot liggen van de cvs versie die wel compiled .