delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/23:13:06

Sender: nate AT cartsys DOT com
Message-ID: <36BA6F9A.FDE3C186@cartsys.com>
Date: Thu, 04 Feb 1999 20:12:10 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Errors when using ".h" headers
References: <Pine DOT GSO DOT 3 DOT 96 DOT 990204172808 DOT 19537A-100000 AT eduserv2 DOT rug DOT ac DOT be>
Reply-To: djgpp AT delorie DOT com

Michael Uyttersprot wrote:
> 
> Hello,
> 
> I tried to compile and make the file arctest.c (example file located under
> /djgpp/test/arctest.c). This file starts with the following include files;
> 
> #include <string.h>
> #include "test.h"
> .....
> ...
> 
> Compiling is no problem, but when I try to link it, there are errors like;
> 
> Error arctest.o: in function 'drawing'
> Arctest.c(16)Error: undefined reference to 'GrFilledBox'
> .....
> ...
> 
> I supose there are problems to locate the header "test.h", because any
> other c-file without #include "..." headers work.
> 
> I tried gcc and rhide but it doesn't work.
> 
> Can anyone explain me (exactly) what I need to do in rhide to make it
> work?

You need to add whatever library (not header) defines this function to
the Libraries box.  In this case, it's probably grx20.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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