[ooo-build] Build problem with KDE4

Petr Mladek pmladek at suse.cz
Mon Dec 14 04:40:59 PST 2009


On Saturday 12 December 2009, KAMI911 KAMI911 wrote:
> I have problem to build ooo-build OOO320-m7 under Ubuntu 8.04 / 32 bit when
> KDE4 enabled. The failing modules are fpicker and shell.
>
> These are the build messages:
>
> Making: ../../unxlngi6.pro/misc/fps_office.fps_office.dprr
>
> : &&
>
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/ooo/ooo-build/b
>uild/ooo320-m7/solver/320/ unxlngi6.pro/lib
> /home/ooo/ooo-build/build/ooo320-m7/solver/320/
> unxlngi6.pro/bin/rscdep  -CHARSET_DONTKNOW -s  -I. -I  -I../inc -I../../inc
> -I../../unxlngi6.pro/inc -DUNX -DVCL -DGCC -DC341 -DSOLAR_JAVA -DPRODUCT
> -DPRODUCT_FULL -DNDEBUG -DOSL_DEBUG_LEVEL=0  -DUPDVER="320m7(Build:9461)"
> -fp=../../unxlngi6.pro/srs/fps_office.srs -fo=../../
> unxlngi6.pro/misc/fps_office.fps_office.dprr -p=fps_office
> OfficeFilePicker.src     iodlg.src
>
> Entering /home/ooo/ooo-build/build/ooo320-m7/fpicker/source/unx/kde4
> Making:    fps_kde4.uno.so

Please, provide build log generated with export VERBOSE="TRUE". See also 
the --enable-verbose configure option.

> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::setMultiSelectionMode(unsigned char)':
> KDE4FilePicker.cxx:(.text+0x450): undefined reference to
> `KFileDialog::setMode(QFlags<KFile::Mode>)'

Lubos, do you have any idea where the missing symbols come from?

> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::execute()':
> KDE4FilePicker.cxx:(.text+0x4a1): undefined reference to
> `KWindowSystem::setMainWindow(QWidget*, unsigned long)'
> KDE4FilePicker.cxx:(.text+0x4c8): undefined reference to
> `KApplication::kApplication()'
> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::setCurrentFilter(rtl::OUString const&)':
> KDE4FilePicker.cxx:(.text+0xb92): undefined reference to
> `KFileDialog::filterWidget() const'
> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::setDisplayDirectory(rtl::OUString const&)':
> KDE4FilePicker.cxx:(.text+0xc01): undefined reference to
> `KUrl::KUrl(QString const&)'
> KDE4FilePicker.cxx:(.text+0xc09): undefined reference to
> `KFileDialog::setStartDir(KUrl const&)'
> KDE4FilePicker.cxx:(.text+0xc19): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0xc26): undefined reference to `KUrl::~KUrl()'
> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::getDisplayDirectory()':
> KDE4FilePicker.cxx:(.text+0xd7c): undefined reference to
> `KFileDialog::baseUrl() const'
> KDE4FilePicker.cxx:(.text+0xd8a): undefined reference to
> `KUrl::url(KUrl::AdjustPathOption) const'
> KDE4FilePicker.cxx:(.text+0xd9a): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0xda5): undefined reference to `KUrl::~KUrl()'
> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::KDE4FilePicker(com::sun::star::uno::Reference<com::sun::st
>ar::lang::XMultiServiceFactory> const&)':
> KDE4FilePicker.cxx:(.text+0x1984): undefined reference to `KUrl::KUrl(char
> const*)'
> KDE4FilePicker.cxx:(.text+0x19b1): undefined reference to
> `KFileDialog::KFileDialog(KUrl const&, QString const&, QWidget*, QWidget*)'
> KDE4FilePicker.cxx:(.text+0x19f2): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0x19ff): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0x1a1d): undefined reference to
> `KFileDialog::setMode(QFlags<KFile::Mode>)'
> ../../../unxlngi6.pro/slo/KDE4FilePicker.o: In function
> `KDE4FilePicker::KDE4FilePicker(com::sun::star::uno::Reference<com::sun::st
>ar::lang::XMultiServiceFactory> const&)':
> KDE4FilePicker.cxx:(.text+0x1ca8): undefined reference to `KUrl::KUrl(char
> const*)'
> KDE4FilePicker.cxx:(.text+0x1cd5): undefined reference to
> `KFileDialog::KFileDialog(KUrl const&, QString const&, QWidget*, QWidget*)'
> KDE4FilePicker.cxx:(.text+0x1d16): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0x1d23): undefined reference to `KUrl::~KUrl()'
> KDE4FilePicker.cxx:(.text+0x1d41): undefined reference to
> `KFileDialog::setMode(QFlags<KFile::Mode>)'
> collect2: ld returned 1 exit status
> dmake:  Error code 1, while making '../../../
> unxlngi6.pro/lib/fps_kde4.uno.so'
>
> ERROR: Error 65280 occurred while making
> /home/ooo/ooo-build/build/ooo320-m7/fpicker/source/unx/kde4
> rmdir /tmp/QTrFQxZe9w
>
>
>
> ----
>
> Entering /home/ooo/ooo-build/build/ooo320-m7/shell/source/backends/kde4be
> Making:    all_kde4be.dpslo
> Making:    kde4be1.uno.so
> ../../../unxlngi6.pro/slo/kde4commonlayer.o: In function
> `KDECommonLayer::getTimestamp()':
> kde4commonlayer.cxx:(.text+0x30): undefined reference to
> `KEMailSettings::getSetting(KEMailSettings::Setting) const'
> ../../../unxlngi6.pro/slo/kde4commonlayer.o: In function
> `KDECommonLayer::readData(com::sun::star::uno::Reference<com::sun::star::co
>nfiguration::backend::XLayerHandler> const&)':
> kde4commonlayer.cxx:(.text+0x4fe): undefined reference to
> `KEMailSettings::getSetting(KEMailSettings::Setting) const'
> ../../../unxlngi6.pro/slo/kde4inetlayer.o: In function
> `KDEInetLayer::getTimestamp()':
> kde4inetlayer.cxx:(.text+0x349): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x355): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x398): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x3aa): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x3b6): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x3f6): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x408): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x414): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x44d): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x45d): undefined reference to `KUrl::~KUrl()'
> ../../../unxlngi6.pro/slo/kde4inetlayer.o: In function
> `KDEInetLayer::setProxy(com::sun::star::uno::Sequence<com::sun::star::confi
>guration::backend::PropertyInfo>&, long&, int, QString const&, QString
> const&, QString const&, QString const&) const':
> kde4inetlayer.cxx:(.text+0x95c): undefined reference to `KUrl::KUrl(QString
> const&)'
> kde4inetlayer.cxx:(.text+0xb89): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0xbc3): undefined reference to `KUrl::KUrl(QString
> const&)'
> kde4inetlayer.cxx:(.text+0xdf0): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0xe2a): undefined reference to `KUrl::KUrl(QString
> const&)'
> kde4inetlayer.cxx:(.text+0x1063): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x1099): undefined reference to `KUrl::~KUrl()'
> ../../../unxlngi6.pro/slo/kde4inetlayer.o: In function
> `KDEInetLayer::readData(com::sun::star::uno::Reference<com::sun::star::conf
>iguration::backend::XLayerHandler> const&)':
> kde4inetlayer.cxx:(.text+0x12e7): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x12f9): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x130b): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x131d): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x132f): undefined reference to `KUrl::KUrl(char
> const*)'
> kde4inetlayer.cxx:(.text+0x133b): undefined reference to
> `KProtocolManager::proxyForUrl(KUrl const&)'
> kde4inetlayer.cxx:(.text+0x13b2): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x13bf): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x13ec): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x13f9): undefined reference to `KUrl::~KUrl()'
> kde4inetlayer.cxx:(.text+0x1426): undefined reference to `KUrl::~KUrl()'
> ../../../unxlngi6.pro/slo/kde4inetlayer.o:kde4inetlayer.cxx:(.text+0x1436):
> more undefined references to `KUrl::~KUrl()' follow
> ../../../unxlngi6.pro/slo/kde4pathslayer.o: In function
> `KDEPathsLayer::getTimestamp()':
> kde4pathslayer.cxx:(.text+0x56): undefined reference to
> `KGlobalSettings::documentPath()'
> ../../../unxlngi6.pro/slo/kde4pathslayer.o: In function
> `KDEPathsLayer::readData(com::sun::star::uno::Reference<com::sun::star::con
>figuration::backend::XLayerHandler> const&)':
> kde4pathslayer.cxx:(.text+0x1b3): undefined reference to
> `KGlobalSettings::documentPath()'
> ../../../unxlngi6.pro/slo/kde4becdef.o: In function
> `createKDEBackend(com::sun::star::uno::Reference<com::sun::star::uno::XComp
>onentContext> const&)':
> kde4becdef.cxx:(.text+0x2f0): undefined reference to
> `KApplication::kApplication()'
> collect2: ld returned 1 exit status
> dmake:  Error code 1, while making
> '../../../unxlngi6.pro/lib/kde4be1.uno.so '
>
> ERROR: Error 65280 occurred while making
> /home/ooo/ooo-build/build/ooo320-m7/shell/source/backends/kde4be
> rmdir /tmp/uy7FYTm6oO
>
>
> Maybe my KDE4 headers too old or what is wrong? How can I solve this
> problem?

You should make sure that the -devel and binary packages have the same 
version, release number, ... 

Best Regards,
Petr


More information about the ooo-build mailing list