[Bug 171349] New: Linker failure in OrgKdeKdedGlobalAccelInterface while linking libkdeui

Tadeusz Andrzej Kadłubowski yess at hell.org.pl
Fri Sep 19 19:04:56 BST 2008


http://bugs.kde.org/show_bug.cgi?id=171349

           Summary: Linker failure in OrgKdeKdedGlobalAccelInterface while
                    linking libkdeui
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: yess at hell.org.pl


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)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list