>Cool, thanks. This is what I've assumed, however I read somewhere about
>how to make these calls not appear as undefined symbols. I've lost track
>of where that is and can't seem to find it. Do you have another similarly
>succinct example for this?
Read the man page:
man outb
This family of functions is used to do low level port
input and output. They are primarily designed for inter-
nal kernel use, but can be used from user space, given the
following information in addition to that given in outb(9)
You compile with -O or -O2 or similar. The functions are
defined as inline macros, and will not be substituted in
without optimization enabled, causing unresolved refer-
ences at link time.
You must compile with -O or -O2
Kind regards
Henning
-- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- hps@tanstaafl.de TANSTAAFL! Consulting - Unix, Internet, SecurityHutweide 15 Fon.: 09131 / 50654-0 "There ain't no such D-91054 Buckenhof Fax.: 09131 / 50654-20 thing as a free Linux"
- 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.altern.org/andrebalsa/doc/lkml-faq.html