Вот текст программы:
-----------------
#include <stdio.h>
#include <sys/io.h>
main()
{
iopl(3);
outb(255, 0x378);
}
-----------------
Берем Windows XP, ставим cygwin, выбираем gcc, make, ioperm, glib2.
делаем ioperm -i, ставим драйвер.
Делаем:
$ cc -lioperm test.c
/cygdrive/c/windows/temp/ccZz52dd.o(.text+0x26):test.c: undefined reference to `
_iopl'
collect2: ld returned 1 exit status
$
WTF ?