Re: Mozilla compilation error

[email protected] (Mathieu MILLET)
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
On Sun, Jun 15, 2003 at 11:20:50PM +0200, wing tung Leung wrote:
> On Sun, Jun 15, 2003 at 08:12:41PM +0200, Mathieu MILLET wrote:
> > 
> > I tried to install mozilla on my fresh installed Gentoo on alpha and I
> > get the following error at some point :
> > 
> > in the repository mozilla-1.3-r2/work/mozilla/gfx/src/gtk
> > When it finally links everytinhg to gather, I ge the error :
> > 
> > nsDeviceContextGTK.o(<blabla..>): In function 'GetXftDPI()':
> > undefined reference to "XGetDefault"
> > nsDeviceContextGTK.o(<blabla..>): In function 'GetXftDPI()':
> > undefined reference to "XGetDefault"
> 
> Looks like the linker can't find a reference to some X library. Have
> you managed to install XFree86? I couldn't build the current portage
> version (xfree-4.3.0-r3), but it looks ok when I take the official
> XFree86 tarballs.

My current version is xfree-4.3.0-r2 and works fine.

the function XGetDefault seems to be standard function for X Lib and so
it is needed to link with libX11 (with a -lX11 which appears to be
missing) or with another lib that 'rewrites' this function.

This lib is present on my system :
$ locate libX11
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2

> http://bugs.gentoo.org/show_bug.cgi?id=22346

I will write to [email protected] for more information about this
problem.

Thanks for your help, Mathieu.

--
[email protected] mailing list
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.