> I have done work with msdos interrupt handlers but know I am switching
> over to linux. The program will compile fine but then when I insert it into
> the kernel it says it can't find ioperm or outb or anything dealing with
> io. It does find the interrupt stuff though like probe_irq_on and
> probe_irq_off. I just use a normal gcc -c fname.c to compile and insmod
> fname.o to insert the module. I am trying to do one of the snipets of
> code from the linux device drivers book by oreilly.
You need to compile with -D__KERNEL__ -O (yes, optimization).
Have a nice fortnight
-- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "COBOL -- Completely Outdated, Badly Overused Language"- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/