[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problems with undefined reference errors



On Thu, 2003-06-12 at 15:12, Mike A. Harris wrote:
> On 12 Jun 2003, Bill Baker wrote:
> 
> >Date: 12 Jun 2003 14:02:25 -0400
> >From: Bill Baker <bill_chris earthlink net>
> >To: xfree86-list redhat com, xfree86 XFree86 Org
> >Reply-To: xfree86-list redhat com
> >Content-Type: text/plain
> >Subject: Problems with undefined reference errors
> >
> >Ever since I upgraded to Red Hat 9, I have been having problems
> >compiling programs.  I tried searching the web, but have had no luck so
> >far.  I have a custom build of XFree86 (4.3.0-3) installed that I built
> >from the source RPM under Red Hat 8.0, however this problem did not
> >start showing up until I upgraded to Red Hat 9.  The problem is that I
> >keep getting "undefined reference" errors from certain X libraries. 
> >Here is an example of a small C program I tried to compile just today
> >under gcc-3.2.2-5:
> >
> >#include <X11/extensions/XTest.h>
> >#include <X11/keysym.h>
> 
> You're not including the proper X headers.
> 
> TTYL
> 

If you're talking about Xlib.h, I tried including that with no luck.  I
also tried compiling with -Wall.  Besides, this still wouldn't explain
why I am unable to compile other things, like the Mozilla SRPMs.

--Bill




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]