outportb()를 사용하려고하는 코드가 있지만 MinGw에서 컴파일하는 동안 오류가 발생합니다.outportb() 함수를 참조 할 때의 문제 C
C:\Users\A_TOMAR\AppData\Local\Temp\ccYPvctv.o:dsp.c:(.text+0x68): undefined reference to `outportb'
#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
int main(void)
{
outportb(0x378,0xFF);
return 0;
}
나는이 특정 기능을 갖는되는 헤더 파일을 알고 싶습니다?
'outportb' 도스 시대 착오 인 것은 - 당신이 얻을 수있는 경우에도이 그것을 컴파일 Windows 98보다 최신 버전에서는 작동하지 않습니다. –
MinGW를 사용하여 outportb에서 제공하는 것과 동일한 기능을 어떻게 얻을 수 있습니까? –
병렬 포트에 액세스하려는 경우보다 적절한 Windows API를 사용해야합니다. –