Public bug reported: Binary package hint: libqt4-dev
As exemplified here: http://kubuntu-art.org/content/show.php?content=63928&forumpage=5 Adding "-lXrender" to the c++ command in the proper make file did indeed fix the problem, and the resulting app is working fine. In my case, I was actually building <http://kde-look.org/content/show.php/BeClock?content=117542 >, but it had the same problem, and the same solution fixed it. ---- by Loacoon Hi, I have a problem compiling Bespin. Here is the console log : Quote: g++ -Wl,--no-undefined -shared -o libbespin.so colors.o bespin.o tileset.o stylehint.o sizefromcontents.o qsubcmetrics.o pixelmetric.o stdpix.o styleanimator.o visualframe.o gradients.o init.o genpixmaps.o polish.o buttons.o docks.o frames.o input.o menus.o progress.o scrollareas.o shapes.o slider.o tabbing.o toolbars.o views.o window.o oxrender.o moc_bespin.o moc_eventkiller.o moc_visualframe.o moc_styleanimator.o -L/usr/X11R6/lib -L/usr/lib -lXext -lX11 -lm -lQt3Support -lQtGui -lQtCore -lpthread window.o: In function `drawTiledBackground': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/window.cpp:153: undefined reference to `XRenderComposite' /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/window.cpp:159: undefined reference to `XRenderComposite' oxrender.o: In function `OXRender::freePicture(unsigned long)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:227: undefined reference to `XRenderFreePicture' oxrender.o: In function `OXRender::setAlpha(QPixmap&, unsigned long const&)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:129: undefined reference to `XRenderChangePicture' oxrender.o: In function `OXRender::applyAlpha(QPixmap const&, unsigned long const&, QRect const&, QRect const&)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:120: undefined reference to `XRenderComposite' oxrender.o: In function `OXRender::composite(QPixmap const&, unsigned long, QPixmap const&, int, int, int, int, int, int, unsigned int, unsigned int, int)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:78: undefined reference to `XRenderComposite' oxrender.o: In function `OXRender::composite(unsigned long, unsigned long, QPixmap const&, int, int, int, int, int, int, unsigned int, unsigned int, int)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:71: undefined reference to `XRenderComposite' oxrender.o: In function `OXRender::composite(unsigned long, unsigned long, unsigned long, int, int, int, int, int, int, unsigned int, unsigned int, int)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:64: undefined reference to `XRenderComposite' oxrender.o: In function `createFill': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:48: undefined reference to `XRenderFindStandardFormat' /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:48: undefined reference to `XRenderCreatePicture' /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:54: undefined reference to `XRenderFillRectangle' oxrender.o: In function `OXRender::blend(QPixmap const&, QPixmap&, double)': /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:88: undefined reference to `XRenderComposite' /home/loacoon/Documents/Downloads/SVN/Bespin/cloudcity/oxrender.cpp:89: undefined reference to `XRenderFreePicture' collect2: ld a retourné 1 code d'état d'exécution make[1]: *** [libbespin.so] Erreur ---- by thomas12777 there seems to be a problem with your qt installation and/or ld in general, qt should be compiled with XRender support (otherwise the OXRender lib wouldn't be compiled) check (the path to the qt4 lib could differ) ldd /usr/lib/libQtGui.so | grep render should say: libXrender.so.1 => /usr/lib/libXrender.so.1 if not, Qt4 is compiled w/o render, but the render flag is set - best fix Qt4 (cause this could cause more trouble with other things...) next (if above succeeded): grep lXrender /usr/lib/libQtGui.la should say: dependency_libs=' [...stuff...] -lXrender [...prob. more stuff...] if not, the la is broken (during Qt4 installation) a simple solution would be to include the "-lXrender" flag into this line (but still theer can be other issues as the Qt installation seems to have failed) last: if you're sure you have render (probably) you can simply update the Bespin Makefile.bespin (after configuring) search the line that starts with "LIBS" an has couple of -l<somelib> entries. add -lXrender there - but this is a hack. ** Affects: qt4-x11 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/696669 Title: libQtGui.la is missing -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs