Re: Problems with undefined reference errors

Bill Baker <[email protected]>
Newsgroups gmane.linux.redhat.xfree86
Message-ID <1055445024.25637.37.camel@wbaker>
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 <[email protected]>
> >To: [email protected], [email protected]
> >Reply-To: [email protected]
> >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


_______________________________________________
xfree86-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/xfree86-list
IRC: #xfree86 on irc.redhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.