> I try to compile this file[1] on my ppc sarge. But I get some linking
> errors with some functions (outb,...). This program compiles fine on
> x86. I suspect problems in asm/io.h.

It's not portably written. Unless you absolutely need to access the device
via the IO aperture, just map the corresponding MMIO aperture and replace
the outb by writeb etc. (or just byte-size memory access).

        Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to