sim-icq build error (XScreenSaverQueryInfo)

Pavel Volkovitskiy int at mtx.ru
Wed Sep 14 17:00:25 CDT 2005


Hello

I try to build sim-icq on breezy, but it breaks on auto-away plugin:
g++ -shared -nostdlib 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crti.o 
/usr/lib/gcc/i486-linux-gnu/4.0.2/crtbeginS.o  .libs/autoawaycfg.o 
.libs/autoaway.o .libs/autoawaycfgbase.o  -Wl,--rpath 
-Wl,/home/int/sim/sim-0.9.3-cvs20050914/sim/.libs -L/usr/lib 
-L/home/int/sim/sim-0.9.3-cvs20050914/sim/.libs -L/usr/share/qt3/lib 
-L/usr/X11R6/lib ../../sim/.libs/libsim.so -lqt-mt -lpng -lz -lXext 
-lX11 -lSM -lICE -lpthread /usr/lib/libart_lgpl_2.so 
-L/usr/lib/gcc/i486-linux-gnu/4.0.2 
-L/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib 
-L/usr/lib/gcc/i486-linux-gnu/4.0.2/../../.. -L/lib/../lib 
-L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/i486-linux-gnu/4.0.2/crtendS.o 
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crtn.o  
-Wl,--no-undefined -Wl,--allow-shlib-undefined -Wl,-soname 
-Wl,autoaway.so -o .libs/autoaway.so
.libs/autoaway.o: In function `AutoAwayPlugin::getIdleTime()':
autoaway.cpp:(.text+0x484): undefined reference to `XScreenSaverQueryInfo'
autoaway.cpp:(.text+0x52c): undefined reference to 
`XScreenSaverQueryExtension'
autoaway.cpp:(.text+0x599): undefined reference to `XScreenSaverAllocInfo'
collect2: ld returned 1 exit status
make: *** [autoaway.la] Error 1

$ dpkg -l | awk '/x11/{ print $1, $2, $3; }'
ii libx11-6 6.2.1+cvs.20050722-6
ii libx11-dev 6.2.1+cvs.20050722-6
ii x11perf 0.99.0-1
ii x11proto-core-dev 6.8.99.15+cvs.20050722-1
ii x11proto-gl-dev 1.4+cvs.20050524-4
ii x11proto-input-dev 1.3-1
ii x11proto-kb-dev 1.0+cvs.20050817-1
ii x11proto-randr-dev 1.1-1
ii x11proto-render-dev 0.9.0-1
ii x11proto-scrnsaver-dev 1.0-1
ii x11proto-xext-dev 6.9.99.0-1
ii x11proto-xinerama-dev 1.1-1


Does this sim's makefile error, or i doesn't install some dependencies?

-- 
Pavel



More information about the ubuntu-devel mailing list