delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/28/16:48:23

From: Damon Hogan <damonh AT pgmincorporated DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GNU pascal - unit problem
Date: Mon, 27 Dec 1999 16:56:07 -0700
Organization: XMission http://www.xmission.com/
Lines: 40
Message-ID: <3867FC97.3C2755BF@pgmincorporated.com>
References: <8406k8$cbk$1 AT lacerta DOT tiscalinet DOT it>
NNTP-Posting-Host: mail.pgmincorporated.com
Mime-Version: 1.0
X-Trace: news.xmission.com 946338888 25653 166.70.119.101 (27 Dec 1999 23:54:48 GMT)
X-Complaints-To: abuse AT xmission DOT com
NNTP-Posting-Date: 27 Dec 1999 23:54:48 GMT
X-Mailer: Mozilla 4.6 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am not a pascal programmer anymore but it sounds as if you are using a
Turbo
Pascal function to clear the screen rather than a GNU Pascal function.

When the compiler reports "undefined reference to " it is reporting that it
cannot
find the function specified in your code in the default or specified
libraries.

If this clear screen function is build into GNU pascal then your environment

"Library path" may be set incorrectly, If the function is part of an
external library then
you may need to add -l[library name] to get it to compile correctly.

Damon Hogan



Davide wrote:

> Hi
>
> i downloaded and configured on my Win95 computer all the 2.81 Djgpp gnu
> stuff.
>
> Then I downloaded Gnu Pascal. It works but when I try to use ClrScr (Crt
> Unit), I got the following error message:
>
> Error: undefined reference to `crt_clrscr'
>
> any suggestion ?
>
> thank you
>
> --
> Davide Cammarota
> tel/fax ++39-0832-345310
> dcammarota AT mail DOT clio DOT it

- Raw text -


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