problem linking 'pango-1.14.4'



Hello All,

as I wrote recently, I'm checking my tool (see signature) on a different distro -
originally it was developed on Mandriva, now I'm checking it on MEPIS, which is
kind of Ubuntu.

'configure' for 'pango-1.14.4' completed with 0 status, however, 'make' fails; the
failing command is:

"
gcc -g -O2 -Wall -o .libs/pango-view renderdemo.o viewer-x.o viewer-main.o pango-view.o
viewer-pangox.o viewer-pangoft2.o viewer-cairo.o viewer-pangocairo.o -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/freetype-2.2.1/lib  -L/mnt/hdd2/sergei/install/zlib-1.2.3/lib
../pango/.libs/libpango-1.0.so -L/mnt/hdd2/sergei/install/glib-2.12.3/lib
../pango/.libs/libpangox-1.0.so -L/usr/X11R6/lib -L/mnt/hdd2/sergei/install/fontconfig-2.4.1/lib
-L/mnt/hdd2/sergei/install/freetype-2.2.1/lib ../pango/.libs/libpangoft2-1.0.so
../pango/.libs/libpangocairo-1.0.so -L/mnt/hdd2/sergei/install/cairo-1.2.4/lib
-L/mnt/hdd2/sergei/install/libpng-1.2.12/lib
/mnt/hdd2/sergei/build/pango-1.14.4/pango/.libs/libpangoft2-1.0.so
/mnt/hdd2/sergei/build/pango-1.14.4/pango/.libs/libpango-1.0.so
/mnt/hdd2/sergei/install/glib-2.12.3/lib/libgobject-2.0.so
/mnt/hdd2/sergei/install/glib-2.12.3/lib/libgmodule-2.0.so -ldl
/mnt/hdd2/sergei/install/glib-2.12.3/lib/libglib-2.0.so -lrt
/mnt/hdd2/sergei/install/cairo-1.2.4/lib/libcairo.so
/mnt/hdd2/sergei/install/fontconfig-2.4.1/lib/libfontconfig.so
/mnt/hdd2/sergei/install/freetype-2.2.1/lib/libfreetype.so /usr/lib/libexpat.so
/mnt/hdd2/sergei/install/libpng-1.2.12/lib/libpng12.so -lz -lXrender -lm -lX11 -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/pango-1.14.4/lib -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/glib-2.12.3/lib -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/cairo-1.2.4/lib -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/fontconfig-2.4.1/lib -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/freetype-2.2.1/lib -Wl,--rpath
-Wl,/mnt/hdd2/sergei/install/libpng-1.2.12/lib
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderFindDisplay': undefined reference to
`XextFindDisplay'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderFindDisplay': undefined reference to
`XextAddDisplay'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderCloseDisplay': undefined reference to
`XextRemoveDisplay'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderQueryVersion': undefined reference to
`XMissingExtension'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderQueryFormats': undefined reference to
`XMissingExtension'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderFindVisualFormat': undefined reference
to `XMissingExtension'
/usr/X11R6/lib/libXrender.a(Xrender.o): In function `XRenderFindFormat': undefined reference to
`XMissingExtension'
/usr/X11R6/lib/libXrender.a(Composite.o): In function `XRenderComposite': undefined reference to
`XMissingExtension'
/usr/X11R6/lib/libXrender.a(Glyph.o): more undefined references to `XMissingExtension' follow
collect2: ld returned 1 exit status
".

Seeing this I can't quite figure out where the problem is.

Is it the wrong (something missing in it) 'gcc g -O2 -Wall ...' command line ?

Is it defective /usr/X11R6/lib/libXrender.a ?

Should the latter be scanned more than once during linking ?

Should 'configure' have caught this problem ?

On Mandriva this all works fine.

Thanks,
  Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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