Build error on kdebase/workspace/kdm/kfronted/kdm_greet.c

Andreas Pakulat apaku at gmx.de
Wed Feb 21 23:59:32 GMT 2007


Hi,

it seems kdebase broke for me between now and tuesday evening.

[  0%] Building C object workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/kdm_greet.o
/usr/bin/gcc  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -g3 -fno-inline -I/home/andreas/KDE-work/4.0/build/kdebase/workspace/kdm/kfrontend -I/home/andreas/KDE-work/4.0/kdebase/workspace/kdm/kfrontend -I/home/andreas/KDE-work/4.0/kdebase -I/home/andreas/KDE-work/4.0/build/kdebase -I/home/andreas/KDE-work/4.0/build/kdebase/workspace/kicker/libkicker -I/home/andreas/KDE-work/4.0/kdebase/workspace/kicker/libkicker -I/home/andreas/KDE-work/4.0/kdebase/workspace/lib -I/home/andreas/KDE-work/4.0/build/kdebase/workspace -I/home/andreas/KDE-work/4.0/build/kdebase/workspace/kdm -I/home/andreas/KDE-work/4.0/kdebase/workspace/kdm/backend -I/home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol/background -I/home/andreas/KDE-work/4.0/kdebase/workspace/kdmlib -I/home/andreas/KDE-work/4.0/kdebase/libkonq -I/home/andreas/qt-copy/include -I/home/andreas/qt-copy/include/Qt -I/home/andreas/qt-copy/mkspecs/default -I/home/andreas/qt-copy/include/QtCore -I/home/andreas/qt-copy/include/QtGui -I/home/andreas/qt-copy/include/Qt3Support -I/home/andreas/qt-copy/include/QtAssistant -I/home/andreas/qt-copy/include/QtDesigner -I/home/andreas/qt-copy/include/QtNetwork -I/home/andreas/qt-copy/include/QtOpenGL -I/home/andreas/qt-copy/include/QtSql -I/home/andreas/qt-copy/include/QtXml -I/home/andreas/qt-copy/include/QtSvg -I/home/andreas/qt-copy/include/QtUiTools -I/home/andreas/qt-copy/include/QtTest -I/home/andreas/qt-copy/include/QtDBus -I/home/andreas/kde4/include -I/home/andreas/kde4/include/KDE -I/usr/local/include   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DHAVE_CONFIG_H=1 -o workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/kdm_greet.o   -c /home/andreas/KDE-work/4.0/kdebase/workspace/kdm/kfrontend/kdm_greet.c
/home/andreas/KDE-work/4.0/kdebase/workspace/kdm/kfrontend/kdm_greet.c: In function ‘SecureDisplay’:
/home/andreas/KDE-work/4.0/kdebase/workspace/kdm/kfrontend/kdm_greet.c:424: error: ‘XkbPCF_GrabsUseXKBStateMask’ undeclared (first use in this function)

This symbol is declared in /usr/include/X11/extensions/XKB.h, however it
seems HAVE_XKB is not defined for me. Doing a cmake run yields:
andreas at morpheus:~/KDE-work/4.0/build/kdebase>execkde4 cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4 -DCMAKE_BUILD_TYPE=debugfull -DKDE4_BUILD_TESTS=on ../../kdebase
-- Found Qt-Version 4.2.2
-- Found KDE4 include dir: /home/andreas/kde4/include
-- Found KDE4 library dir: /home/andreas/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /home/andreas/kde4/bin/kconfig_compiler
-- Found KDE PIM libraries
-- Create macro to display info at the end of install
-- PAM was not found
-- Found Freetype: -lfreetype -lz
-- option: USE_XKLAVIER  <ON>
Could not find glib, gobject or libxklavier >= 2.91 - old xkbfile code will be used to get keyboard layout configuration!
-- Logitech mouse support is disabled. Provide libusb to enable it.
-- /home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol: skipped subdir $(KSMCARD_SUBDIR)
-- taskbar panel extension disable (since taskbar lib is disabled), reactivate it when we use plasma or remove it
-- TODO: fix nsplugintest linking (cmake problem)
--
----------------------------------------------------------------------------------
-- The following list of OPTIONAL packages were located on your system.         --
-- You will have all the following features available from this software.       --
----------------------------------------------------------------------------------
> Samba: Sambas libsmbclient is required for the smb-ioslave. A version which already has smbc_set_context() is required; http://www.samba.org;


-- Configuring done

There's no indication of kdebase not finding xkb. The config-X11.h
doesn't define HAVE_XKB though. I'll try a full rebuild during the
night.

Andreas

-- 
You will soon forget this.




More information about the kde-core-devel mailing list