Hi all, I need some help with this. someone compiled this code for me as a 32 bit exe however i need to compile it for DOS use. I have tried DJGPP compiler, but i get errors which I dont understand. maybee someone can tell me what they mean? C:\djgpp>gcc lpt_3bc.c -o test.exe lpt_3bc.c: In function `main': lpt_3bc.c:19: warning: return type of `main' is not `int' c:/djgpp/tmp\cciWvzN3.o(.text+0x29c):lpt_3bc.c: undefined reference to `_outp' c:/djgpp/tmp\cciWvzN3.o(.text+0x2b5):lpt_3bc.c: undefined reference to `_outp' c:/djgpp/tmp\cciWvzN3.o(.text+0x2ce):lpt_3bc.c: undefined reference to `_outp' c:/djgpp/tmp\cciWvzN3.o(.text+0x2eb):lpt_3bc.c: undefined reference to `_inp' c:/djgpp/tmp\cciWvzN3.o(.text+0x309):lpt_3bc.c: undefined reference to `_kbhit' c:/djgpp/tmp\cciWvzN3.o(.text+0x314):lpt_3bc.c: undefined reference to `_getch' c:/djgpp/tmp\cciWvzN3.o(.text+0x36a):lpt_3bc.c: undefined reference to `_inp' collect2: ld returned 1 exit status Content-Type: application/octet-stream; name="lpt_3bc.c" Content-Disposition: attachment; filename="lpt_3bc.c" Attachment converted: definition:lpt_3bc.c (????/----) (00011947)