documentation/3114: Undefined: _i386_iopl (needs -li386) >Number: 3114
>Category: documentation
>Synopsis: i386_iopl(2) does not mention you need -li386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: net
System : OpenBSD 3.2
Architecture: OpenBSD.i386
Machine : i386
>Description:
i386_iopl man page misses critical item: -li386 needed
Without this, compiler returns Undefined: _i386_iopl
>How-To-Repeat:
//This is according to man page, yet will not compile:
#include
#include
int main(void) {
return i386_iopl(0);
}
>Fix:
Add "Compile with -li386" to documentation.
NOTE: This thing was fixed in 1997 on NETBSD, see:
http://mail-index.netbsd.org/netbsd-bugs/1997/10/02/0002.html >Release-Note:
Received on Wed Feb 26 18:33:01 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:29:51 EDT
|