Old driver compilation error

Pavel Roskin proski
Wed Mar 10 01:38:29 PST 2004


On Wed, 10 Mar 2004, [ISO-8859-1] Manuel S?nchez Cuenca wrote:

> Hello all, I need to build an old hostap driver version (2002-10-12),
> and when I run "make plx" I get a lot of errors like this:
>
> /usr/src/linux/include/linux/modversions.h: No such file or directory

You didn't compile the kernel.  You don't need to install it, but it
should be compiled.  Actually you can run "make all" in the kernel tree
for some time, interrupt it later and see if include/linux/modversions.h
has appeared.  If it's there, you can compile external drivers against it.

> In file included from /usr/src/linux/include/linux/irq.h:20,
>                  from /usr/src/linux/include/asm/hardirq.h:6,
>                  from /usr/src/linux/include/linux/interrupt.h:11,
>                  from /usr/src/linux/include/asm/highmem.h:24,
>                  from /usr/src/linux/include/linux/highmem.h:14,
>                  from /usr/src/linux/include/linux/skbuff.h:27,
>                  from /usr/src/linux/include/linux/netdevice.h:150,
>                  from /usr/src/linux/include/linux/if_arp.h:26,
>                  from driver/modules/hostap.c:22:
> /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or
> directory
> driver/modules/hostap.c:25:26: linux/tqueue.h: No such file or directory

This was fixed in the later versions of the driver.  A version from year
2002 could not support 2.6 kernel.  The build system in 2.6 kernels was
radically changed.

-- 
Regards,
Pavel Roskin




More information about the Hostap mailing list