Hello,
i need help , i don't know what causes the error *_*
i have this code :
Code:#include <stdio.h> #include <stdlib.h> #include <dos.h> int main(void) { puts("Content-type: text/html\r\n\r\n"); puts("<b>Hello World!</b>"); outportb(0x378,0xFF); return 0; }
i want to convert it to cgi script by using the following command :
but i get this error :Code:gcc -Wall test.c -o test.cgi
undefined reference to 'outportb'
i'm using MinGW
please , any idea about this error ?????