Re: Porting code from 2.4.x to 2.6.x

From: Randy.Dunlap
Date: Sun Oct 19 2003 - 13:10:23 EST


On Sun, 19 Oct 2003 19:50:11 +0200 Emmanuel Fleury <fleury@xxxxxxxxx> wrote:

| Hi all,
|
| I'm trying to port some code from 2.4.x to 2.6.x.
| I got a very strange error, that I would like to submit here (it might
| help, we never know).
|
| I am working with a clean 2.6.0-test7 (the test8 is scaring me a little
| bit with all these reports I saw on the list :).
|
| irq.h
| =======
|
| /lib/modules/2.6.0-stable/build/include/asm/irq.h:16:25: irq_vectors.h:
| No such file or directory
|
| So basically, the "irq_vectors.h" file has disappeared...
|
| But, we still can find it in:
| ./include/asm-um/irq_vectors.h
| ./include/asm-i386/mach-default/irq_vectors.h
| ./include/asm-i386/mach-visws/irq_vectors.h
| ./include/asm-i386/mach-pc9800/irq_vectors.h
| ./include/asm-i386/mach-voyager/irq_vectors.h
|
|
| Any ideas ????

You are building a module outside of the kernel tree?

Use a Makefile in the form that is documented in
linux/Documentation/kbuild/{modules,makefiles}.txt
and it will find that file and work.

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