28 Apr 2007 08:08
Re: can't compile driver on debian etch
Pavel Roskin <proski <at> gnu.org>
2007-04-28 06:08:12 GMT
2007-04-28 06:08:12 GMT
Hello! On Fri, 2007-04-27 at 16:28 +0200, Dieter Bloms wrote: > I've tied to compile the driver on my fresh installed debian etch, but > can't do it for actual git-clone from http://honk.sigxcpu.org/git/at76c503a.git/ > > --(Continue reading)snip-- > video:/usr/src/neu/at76c503a# uname -a > Linux video 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux > make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686' > CC [M] /usr/src/neu/at76c503a/at76_usb.o > /usr/src/neu/at76c503a/at76_usb.c: In function ‘at76_dump_bss_table’: > /usr/src/neu/at76c503a/at76_usb.c:2639: warning: unused variable ‘obuf_s’ I don't know how you got this, but it's probably OK. It's just debugging. > /usr/src/neu/at76c503a/at76_usb.c:5862:52: error: macro "INIT_WORK" requires 3 arguments, but only 2 given The driver is written for newer kernels. INIT_WORK takes 2 arguments since Linux 2.6.20. > does anybody know a solution ? Pass the first argument to INIT_WORK as the third as well, e.g. INIT_WORK(&dev->work_assoc_done, at76_work_assoc_done, &dev->work_assoc_done); -- --
RSS Feed