delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/15/21:18:11

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4399
From: Borysiak Gregory - GusS - <borysgr AT iut DOT univ-metz DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Peter: Undefined reference & djgpp hlp
Date: Mon, 15 Jan 1996 09:26:21 +0000
Organization: Institut Universitaire de Technologie - Metz - France
Lines: 30
Message-ID: <30FA1DBD.2781E494@iut.univ-metz.fr>
References: <DL59I4 DOT KC2 AT jade DOT mv DOT net>
NNTP-Posting-Host: basix.iut.univ-metz.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi

Peter Plum wrote:
> 
> Hi!  I am constantly having troubel with the following error
> messages;   undefined reference to ...... (New at this)
> For example this is the error I get.....
> 
> GNU C++ Compile: WINDOCP2.c
> WINDOCP2.c(.text+0x17): undefined reference to `clrscr'
> WINDOCP2.c(.text+0x24): undefined reference to `window'
> WINDOCP2.c(.text+0x31): undefined reference to `cprintf'
> 
> .....when compiling this program
> 

Add -lpc when linking.

Greg

-- 
 /------------------------------------------\  Member of ED209 team work
and SWORD Group.
|   Borysiak Gregory                         | ed209 available on any
simtel20 site :  
|   Studies     : Computer science -IUT Metz | ->
/msdos/editor/ed209v13.zip 
|   Email       : borysgr AT iut DOT univ-metz DOT fr   |
|   - GusS - AnArCh'IUT                      |  
 \------------------------------------------/

- Raw text -


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