www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/19/19:00:14

Date: Thu, 20 Apr 1995 08:38:06 +1100
From: Bill Currie <BILLC AT teleng1 DOT tait DOT co DOT nz>
Subject: Re: Problems with gppconio
To: S DOT B DOT M DOT Verstege AT research DOT ptt DOT nl
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Tait Electronics Ltd.

In regards to your problem
 
> I have a strange error, every time i include gppconio.h (or conio.h) and
> compile the source to an object and link it with the other parts. I get the
> 'undeclared reference' error... What am i doing wrong ? Must is add an
> parameter to the compiler options (-l...)..

gcc does no automatically link in the C++ library libgpp.a (check the 
name) so you wolud need to include the library link option -lgpp in 
order to link.

Hope this helps
Bill

- Raw text -


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