Re: 2.5.42: IrDA issues

From: Martin Diehl (lists@mdiehl.de)
Date: Wed Oct 23 2002 - 17:06:13 EST


On Wed, 23 Oct 2002, ALESSANDRO.SUARDI wrote:

> /usr/src/linux-2.5.44/include/linux/irq.h:67: `NR_IRQS' undeclared here (not in a function)
> In file included from /usr/src/linux-2.5.44/include/linux/irq.h:69,
> from /usr/src/linux-2.5.44/include/asm/hardirq.h:6,
> from /usr/src/linux-2.5.44/include/linux/interrupt.h:25,
> from /usr/src/linux-2.5.44/include/linux/netdevice.h:454,
> from smsc-ircc2.c:47:

I've no idea whether smcc-ircc2 is (already) meant to compile with 2.5.
However, when compiling stuff outside of an official 2.5.3x or later
kernel tree I've experienced the same problem. For me the solution was to
add the arch-specific asm-include explicitly in the Makefile - i.e. try
adding some "-I/usr/src/linux/arch/i386/mach-generic" or similar there.

Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:06 EST