delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/16:34:02

Date: Thu, 4 Feb 1999 17:50:02 +0100 (MET)
From: Michael Uyttersprot <Michael DOT Uyttersprot AT rug DOT ac DOT be>
To: djgpp AT delorie DOT com
Subject: Errors when using ".h" headers
Message-ID: <Pine.GSO.3.96.990204172808.19537A-100000@eduserv2.rug.ac.be>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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?

- Raw text -


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