Searching \ for '[ot] can someone help me compile this dos C progra' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/language/index.htm?key=c
Search entire site for: 'can someone help me compile this dos C progra'.

Exact match. Not showing close matches.
PICList Thread
'[ot] can someone help me compile this dos C progra'
2000\05\01@004922 by Ryan Pogge

flavicon
face
part 0 934 bytes content-type:application/octet-stream;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)

2000\05\01@140359 by Craig Lee

flavicon
face
Remove the "_" from your function calls.

ie.  _outp = outp

Regarde',

Craig

-----Original Message-----
From: pic microcontroller discussion list
[spam_OUTPICLISTTakeThisOuTspamMITVMA.MIT.EDU]On Behalf Of Ryan Pogge
Sent: Sunday, April 30, 2000 10:46 PM
To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Subject: [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

2000\05\01@142654 by Ryan Pogge

flavicon
face
Awsome, works like a champ.
Regards,
Ryan

-----------------------------------------------------------------
"You think that's air you're breathing now?"

> Remove the "_" from your function calls.
>
> ie.  _outp = outp
>
> Regarde',
>
> Craig
>
> {Original Message removed}

2000\05\25@170303 by Daniel Vidal

picon face
       The error consist of that the linker has not found the libraries, try
install the libraries again.



-----Mensaje original-----
De: pic microcontroller discussion list
[PICLISTspamKILLspamMITVMA.MIT.EDU]En nombre de Ryan Pogge
Enviado el: lunes, 01 de mayo de 2000 6:46
Para: .....PICLISTKILLspamspam.....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

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...