www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/04/18:26:26

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1875
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!wb3ffv!explorer.csc.com!uunet!in1.uu.net!gail.ripco.com!usenet
From: mambuhl AT ripco DOT com (Martin Ambuhl)
Subject: Re: libs..
Sender: usenet AT rci DOT ripco DOT com (Net News Admin)
Organization: Ripco Internet BBS Chicago
Date: Sat, 2 Sep 1995 02:12:14 GMT
Lines: 12
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Gary Preston <gary AT prestons DOT demon DOT co DOT uk> in
<809865423snz AT prestons DOT demon DOT co DOT uk> asks:

>  ...when I try to use
>  the clrscr() function I get an undefined reference error. I tried
>  including every library but still get the error.

I find this hard to believe.  Did you really try "gcc foo.c -lpc"?
"include" is a scary word here.  You "include" headers, you link libraries.
--
* Martin Ambuhl       net: mambuhl AT ripco DOT com
* Chicago, IL (USA)    

- Raw text -


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