lkml.org 
[lkml]   [1998]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Q: outb, outw et al?
judson@mcs.anl.gov (Ivan R. Judson) writes:

>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, Security

Hutweide 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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.182 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site