Compilation error of v 0.11 with Mandrake
"Spike Spike" <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi again,
How can I get easly a .gz file of v0.12beta8 (without cvs management) ?
Well, when I try to compile v0.11 driver on Mandrake 10.0 I get this error :
# make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common
-Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB
-DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.6.3-4mdkenterprise/build/include
-c at76c503.c
In file included from /usr/include/linux/cpumask.h:8,
from /usr/include/linux/sched.h:14,
from at76c503.c:79:
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in
this function)
/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is
reported only once
/usr/include/linux/bitmap.h:85: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in
this function)
In file included from /usr/include/linux/sched.h:14,
from at76c503.c:79:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from /usr/include/asm/siginfo.h:4,
from /usr/include/linux/signal.h:7,
from /usr/include/linux/sched.h:24,
from at76c503.c:79:
/usr/include/asm-generic/siginfo.h: At top level:
/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too
large
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/sched.h:30,
from at76c503.c:79:
/usr/include/linux/mmzone.h:333: error: parse error before '(' token
/usr/include/linux/mmzone.h:334: error: parse error before numeric constant
In file included from /usr/include/linux/mm.h:206,
from /usr/include/linux/poll.h:10,
from at76c503.c:82:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a
constant
In file included from /usr/include/linux/module.h:20,
from at76c503.c:86:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a
function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not
in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a
function)
In file included from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
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: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] Erreur 1
Thanks for you help guys.
Regards.
S
_________________________________________________________________
Trouvez l'âme soeur sur MSN Rencontres http://g.msn.fr/FR1000/9551