www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/03/16:04:59

Date: Fri, 3 Mar 95 14:07:14 CST
From: "nels0988 AT maroon DOT tc DOT umn DOT edu" <nels0988 AT maroon DOT tc DOT umn DOT edu>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: CONIO functions don't link! Ack!

Help!  I've included <conio.h> in one of my programs, and it didn't link.
So, I wrote a test program to test the conio functions, here is the script:

Script V1.1 session started Fri Mar 03 14:01:47 1995


Microsoft(R) MS-DOS(R) Version 6.22
             (C)Copyright Microsoft Corp 1981-1994.

%cat test.c

#include <stdio.h>
#include <conio.h>

void main (void)

{
clrscr();
}

%gcc -Wall -o test test.c

test.c(.text+0x9): undefined reference to `clrscr'

%exit

Script completed Fri Mar 03 14:02:04 1995

Any ideas?  Most of my other programs compile fine!
Any help would be greatly appreciated!

Jon Nelson
nels0988 AT maroon DOT tc DOT umn DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019