unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk
@ 2003-01-24 10:00 Naru
  2003-01-24 20:13 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) Jan D.
  2003-01-26 16:48 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Raja R Harinath
  0 siblings, 2 replies; 5+ messages in thread
From: Naru @ 2003-01-24 10:00 UTC (permalink / raw)


hi everyone

after ./configure --prefix=/usr/local/emacs-cvs --with-gtk

and a flawless configure run, compiling eventually stops with:

gcc -nostdlib  `./prefix-args -Xlinker   -R/usr/X11R6/lib   -z nocombreloc
  `  -L/usr/X11R6/lib     -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o     charset.o coding.o categ
ory.o ccl.o     cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o x
smfns.o gtkutil.o       emacs.o keyboard.o macros.o keymap.o sysdep.o   buffer.o
 filelock.o insdel.o marker.o   minibuf.o fileio.o dired.o filemode.o   cmds.o c
asetab.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o edi
tfns.o callint.o        eval.o floatfns.o fns.o print.o lread.o         abbrev.o
 syntax.o unexelf.o  bytecode.o         process.o callproc.o    region-cache.o s
ound.o atimer.o         doprnt.o strftime.o intervals.o textprop.o composite.o m
d5.o      terminfo.o lastfile.o   vm-limit.o              -L/usr/X11R6/lib    -W
l,--export-dynamic -L/usr/local/gar200/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgm
odule-2.0 -ldl -lglib-2.0   -lSM -lICE -ltiff  -ljpeg  -lpng -lz -lm    -lXpm  -
lX11              -lncurses         -lm  -lgcc -lc -lgcc /usr/lib/crtn.o
/usr/local/gar200/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelO
rder'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/usr/local/src/emacs/src'
make: *** [bootstrap] Error 2

System is garnome 0.20.0 ( http://www.gnome.org/~jdub/garnome/ ) aka GNOME 2.2RC1 on top of debian sarge without the gnome stuff.

any hints?
TIA 
-- 
Fingerprint: 3A91 7265 D9C6 4B51 9E4A  4543 169E B68B 7D04 61AC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome)
  2003-01-24 10:00 build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Naru
@ 2003-01-24 20:13 ` Jan D.
  2003-01-25 18:05   ` Naru
  2003-01-26 16:48 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Raja R Harinath
  1 sibling, 1 reply; 5+ messages in thread
From: Jan D. @ 2003-01-24 20:13 UTC (permalink / raw)
  Cc: emacs-devel

> 
> /usr/local/gar200/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelO
> rder'

> any hints?

It seems that your libXft has been compiled against another version of X11
that the one you use to link Emacs with.  FWIW, XRenderQuerySubpixelOrder is
not present in XFree86 3.6 or 4.2.

	Jan D.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome)
  2003-01-24 20:13 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) Jan D.
@ 2003-01-25 18:05   ` Naru
  2003-01-26  8:48     ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Naru @ 2003-01-25 18:05 UTC (permalink / raw)
  Cc: emacs-devel, garnome-list

> > /usr/local/gar200/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelO
> > rder'
> 
> > any hints?
> 
> It seems that your libXft has been compiled against another version of X11
> that the one you use to link Emacs with.  FWIW, XRenderQuerySubpixelOrder is
> not present in XFree86 3.6 or 4.2.
>
FYI,

Gnome 2.2rc1 seems to use fcpackage 2.1 from www.fontconfig.org. Garnome rebuilds libXft (and possibly some other stuff that I don't understand since I'm no dev) when building the gnome desktop. This package includes this reference (cf grep below). Webpage says fcpackage stems from XFree86 CVS dated 2002-11-21. I'm assuming emacs gtk will eventually catch up? Or is it the other way around?

regards
 
naru@puffy:~/fcpackage.2_1$ grep -ri xrenderquerysubp *
Xft/xftdpy.c:   int render_order = XRenderQuerySubpixelOrder (dpy, screen);
Xrender/Xrender-def.cpp:XRenderQuerySubpixelOrder
Xrender/Xrender.c:XRenderQuerySubpixelOrder (Display *dpy, int screen)
Xrender/Xrender.h:int XRenderQuerySubpixelOrder (Display *dpy, int screen);

-- 
Fingerprint: 331A EE35 5794 5EAC 3444  BFB4 E094 C1B2 0930 8F0A
-- 
garnome-list mailing list
garnome-list@gnome.org
http://mail.gnome.org/mailman/listinfo/garnome-list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome)
  2003-01-25 18:05   ` Naru
@ 2003-01-26  8:48     ` Jan D.
  0 siblings, 0 replies; 5+ messages in thread
From: Jan D. @ 2003-01-26  8:48 UTC (permalink / raw)
  Cc: emacs-devel


lördagen den 25 januari 2003 kl 19.05 skrev Naru:

>>> /usr/local/gar200/lib/libXft.so.2: undefined reference to 
>>> `XRenderQuerySubpixelO
>>> rder'
>>
>>> any hints?
>>
>> It seems that your libXft has been compiled against another version of X11
>> that the one you use to link Emacs with.  FWIW, XRenderQuerySubpixelOrder 
>> is
>> not present in XFree86 3.6 or 4.2.
>>
> FYI,
>
> Gnome 2.2rc1 seems to use fcpackage 2.1 from www.fontconfig.org. Garnome 
> rebuilds libXft (and possibly some other stuff that I don't understand 
> since I'm no dev) when building the gnome desktop. This package includes 
> this reference (cf grep below). Webpage says fcpackage stems from XFree86 
> CVS dated 2002-11-21. I'm assuming emacs gtk will eventually catch up? Or 
> is it the other way around?
>
> regards
>
> naru@puffy:~/fcpackage.2_1$ grep -ri xrenderquerysubp *
> Xft/xftdpy.c:   int render_order = XRenderQuerySubpixelOrder (dpy, screen)
> ;
> Xrender/Xrender-def.cpp:XRenderQuerySubpixelOrder
> Xrender/Xrender.c:XRenderQuerySubpixelOrder (Display *dpy, int screen)
> Xrender/Xrender.h:int XRenderQuerySubpixelOrder (Display *dpy, int screen)
> ;

I think it is the other way around.  You must have XRenderQuerySubpixelOrder
in some library, otherwise Gnome apps would get the same error.  This
library is obviously missing when linking Emacs.  So, the Gtk+ and
Xft dependencies that pkg-config reports to Emacs must be wrong.

	Jan D.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk
  2003-01-24 10:00 build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Naru
  2003-01-24 20:13 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) Jan D.
@ 2003-01-26 16:48 ` Raja R Harinath
  1 sibling, 0 replies; 5+ messages in thread
From: Raja R Harinath @ 2003-01-26 16:48 UTC (permalink / raw)


Hi,

Naru <naru@gmx.ch> writes:
[snip]
> /usr/local/gar200/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelO
> rder'
> collect2: ld returned 1 exit status
> make[1]: *** [temacs] Error 1
> make[1]: Leaving directory `/usr/local/src/emacs/src'
> make: *** [bootstrap] Error 2
>
> System is garnome 0.20.0 ( http://www.gnome.org/~jdub/garnome/ ) aka
> GNOME 2.2RC1 on top of debian sarge without the gnome stuff. 

The /usr/local/gar200/lib directory probably has a libXrender.so that
is more suitable than /usr/X11R6/lib/libXrender.so.  However, emacs
uses '-R/usr/X11R6/lib', which would pick the version that came with
your distribution.

Try running

  make TEMACS_LDFLAGS="-R/usr/local/gar200/lib -R/usr/X11R6/lib -z nocombreloc"

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-26 16:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24 10:00 build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Naru
2003-01-24 20:13 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) Jan D.
2003-01-25 18:05   ` Naru
2003-01-26  8:48     ` Jan D.
2003-01-26 16:48 ` build failure cvs HEAD x86 debian sarge, gnome 2.2rc1 (garnome) --with-gtk Raja R Harinath

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).