Re: garnome-0.27.1 build failure on RH9



On Mon, Sep 15, 2003 at 08:12:45PM -0700, Joe Sanders wrote:
> I'm trying to build gnome-2.4 on my RedHat 9 system via garnome-0.27.1, 
> however I continue to encounter the following error(s):
> ...
[snip] 
> The applicable section from the config.log is:
> configure:4898: cc -o conftest -g -I/usr/local/garnome/include 
> -I/usr/X11R6/include -L/usr/local/garnome/lib -L/usr/X11R6/lib -O2 -pipe 
> -I/usr/local/garnome/include -I/usr/X11R6/include -L/usr/local/garnome/lib 
> -L/usr/X11R6/lib conftest.c -lXrandr -lXrender  -L/usr/X11R6/lib  -lSM 
> -lICE -lX11    >&5
> /usr/X11R6/lib/libXrandr.so: undefined reference to `XextAddDisplay'
> /usr/X11R6/lib/libXrandr.so: undefined reference to `XextFindDisplay'
> /usr/X11R6/lib/libXrandr.so: undefined reference to `XextRemoveDisplay'
> /usr/X11R6/lib/libXrandr.so: undefined reference to `XMissingExtension'

libXext needs to be linked as well as libXrandr.  I'm not sure how it's
coming up with the list of files to link in, but it's missing it.

A quick and dirty fix is to add -lXext to your LDFLAGS.

-- 
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762



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