Sender: nate AT cartsys DOT com Message-ID: <36BA6F9A.FDE3C186@cartsys.com> Date: Thu, 04 Feb 1999 20:12:10 -0800 From: Nate Eldredge 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > #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