Re: 2.5.42: IrDA issues

Martin Diehl (lists@mdiehl.de)
Thu, 24 Oct 2002 00:06:13 +0200 (CEST)


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/