Bug 171349 - Linker failure in OrgKdeKdedGlobalAccelInterface while linking libkdeui
Summary: Linker failure in OrgKdeKdedGlobalAccelInterface while linking libkdeui
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 20:04 UTC by Tadeusz Andrzej Kadłubowski
Modified: 2008-11-13 21:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tadeusz Andrzej Kadłubowski 2008-09-19 20:04:54 UTC
Version:            (using Devel)
Compiler:          GCC 4.0.1 from apple OS X 10.4 Also breaks with GCC 4.3.2 from vanilla gnu sources
OS:                OS X
Installed from:    Compiled sources

Hello. I want to compile KDE trunk (late september 2008 version) on Mac OS X 10.4. libkdeui can't be linked together. It might be problem with automoc, or build files... I'm not sure.

The linker is
>ld -v
Apple Computer, Inc. version cctools-622.9~2

The 2 compilers tested are:

gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

gcc-4 -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.3 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with-arch=nocona --with-tune=generic --build=i686-apple-darwin8 --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
Thread model: posix
gcc version 4.3.2 (GCC)

Below is a specific error message:

ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacallEN11QMetaObject4CallEiPPv
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacallEN11QMetaObject4CallEiPPv in section (__TEXT,__text)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacallEN11QMetaObject4CallEiPPv in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc in section (__TEXT,__text)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc.eh
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of absolute __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc.eh (value 0x0)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of absolute __ZN30OrgKdeKdedGlobalAccelInterface11qt_metacastEPKc.eh (value 0x0)
ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface12invokeActionERK11QStringListx
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZN30OrgKdeKdedGlobalAccelInterface12invokeActionERK11QStringListx in section (__TEXT,__text)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZN30OrgKdeKdedGlobalAccelInterface12invokeActionERK11QStringListx in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface16staticMetaObjectE
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZN30OrgKdeKdedGlobalAccelInterface16staticMetaObjectE in section (__DATA,__const)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZN30OrgKdeKdedGlobalAccelInterface16staticMetaObjectE in section (__DATA,__const)
ld: multiple definitions of symbol __ZN30OrgKdeKdedGlobalAccelInterface22yourShortcutGotChangedERK11QStringListRK5QListIiE
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZN30OrgKdeKdedGlobalAccelInterface22yourShortcutGotChangedERK11QStringListRK5QListIiE in section (__TEXT,__text)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZN30OrgKdeKdedGlobalAccelInterface22yourShortcutGotChangedERK11QStringListRK5QListIiE in section (__TEXT,__text)
ld: multiple definitions of symbol __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv in section (__TEXT,__text)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv in section (__TEXT,__text)
ld: multiple definitions of symbol __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv.eh
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of absolute __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv.eh (value 0x0)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of absolute __ZNK30OrgKdeKdedGlobalAccelInterface10metaObjectEv.eh (value 0x0)
ld: multiple definitions of symbol __ZTV30OrgKdeKdedGlobalAccelInterface
CMakeFiles/kdeui.dir/kdeui_automoc.o definition of __ZTV30OrgKdeKdedGlobalAccelInterface in section (__DATA,__const)
CMakeFiles/kdeui.dir/shortcuts/kglobalaccel.o definition of __ZTV30OrgKdeKdedGlobalAccelInterface in section (__DATA,__const)
Comment 1 Tadeusz Andrzej Kadłubowski 2008-11-13 21:22:49 UTC
The issue is fixed. It compiles on Mac