[Kde-imaging] [Bug 158176] New: linking errors in slideshow plugin (missing -lXrandr)

Rex Dieter rdieter at math.unl.edu
Thu Feb 21 19:09:48 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158176         
           Summary: linking errors in slideshow plugin (missing -lXrandr)
           Product: kipiplugins
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-imaging kde org
        ReportedBy: rdieter math unl edu


Version:           0.1.5 rc2 (using KDE 3.5.9)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.1.2 20070925 (Red Hat 4.1.2-27) 
OS:                Linux

Trying to build kipi-plugins-0.1.5rc2 (on fedora) fails:

/bin/sh ../../libtool --silent --tag=CXX   --mode=link g++  -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -L../../kipi-plugins/common/libkipiplugins -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined   -L/usr/lib64/qt-3.3/lib -L/usr/lib64 -Wl,--as-needed -Wl,--enable-new-dtags  -lkipiplugins -lgpod -lgobject-2.0 -lglib-2.0   -o kipiplugin_slideshow.la -rpath /usr/lib64/kde3 listimageitems.lo plugin_slideshow.lo slideshow.lo slideshowconfig.lo slideshowgl.lo slideshowloader.lo toolbar.lo imageloadthread.lo kbeffect.lo screenproperties.lo slideshowkb.lo slideshowconfigbase.lo -lkdefx -lGL -lkipi   -lkdcraw   -lkdeui -lkdecore -lkio -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread 
.libs/screenproperties.o: In function `KIPISlideShowPlugin::ScreenProperties::suggestFrameRate()':
/builddir/build/BUILD/kipi-plugins-0.1.5-rc2/kipi-plugins/slideshow/screenproperties.cpp:50: undefined reference to `XRRQueryExtension'
/builddir/build/BUILD/kipi-plugins-0.1.5-rc2/kipi-plugins/slideshow/screenproperties.cpp:60: undefined reference to `XRRGetScreenInfo'
/builddir/build/BUILD/kipi-plugins-0.1.5-rc2/kipi-plugins/slideshow/screenproperties.cpp:61: undefined reference to `XRRConfigCurrentRate'
/builddir/build/BUILD/kipi-plugins-0.1.5-rc2/kipi-plugins/slideshow/screenproperties.cpp:62: undefined reference to `XRRFreeScreenConfigInfo'
collect2: ld returned 1 exit status
make[3]: *** [kipiplugin_slideshow.la] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/kipi-plugins-0.1.5-rc2/kipi-plugins/slideshow'
make[2]: *** [all-recursive] Error 1

Would appear that a missing -lXrandr is the culprit.


More information about the Kde-imaging mailing list