The error consist of that the linker has not found the libraries, try install the libraries again. -----Mensaje original----- De: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]En nombre de Ryan Pogge Enviado el: lunes, 01 de mayo de 2000 6:46 Para: PICLIST@MITVMA.MIT.EDU Asunto: [ot] can someone help me compile this dos C program? 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