Summary: | "reference to 'Bool' is ambiguous" compile error in libs/taskmanager | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Davide Madrisan <davide.madrisan> |
Component: | general | Assignee: | Alexander Neundorf <neundorf> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | johansson_fredric, silvan.calarco, the.timothy.jones |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Fixes the build of kdebase-workspace |
Description
Davide Madrisan
2007-11-06 12:16:09 UTC
Ok, this is a problem, but it seems like a problem in fixx11.h from kdelibs (?). Yes, it seems to be a problem with the "Bool" remapping in fixx11h.h Any idea to fix this issue? Same problem in KDE4 rc1 :( Please give me a hint to break this issue... Thanks, Davide I think this might belong to plasma.... ? the file in question is using fixxx11.h as it should be, and it seems to work pretty well everywhere else. something is not right with fixx11.h on Davide's system. i don't even know where to begin looking and don't really have the time to as it works everywhere else. this really isn't a plasma issue, either, afaict. Davide: if you simply comment out the fixxll.h line in the file does it work for you? do any other files containing fixx11.h compile foryou? No, it doesn't work. Same problem. I think because <fixx11h.h> is already included by the header file <netwm.h> And yes, I've compiled successfully kdelibs and kdepimlibs which make use of fixx11h.h. 26 Nov 2007 17:27:38 -0000, Aaron J. Seigo <aseigo@kde.org>: [bugs.kde.org quoted mail] I think the reason it's tiggered in taskmanager.cpp and nowhere else is that X11/extensions/Xrender.h is only included in one file across kdelibs and kdepimlibs, and that doesn't include fixx11h.h. You could try playing around with the includes, such as removing or moving fixx11h.h, but I'm not sure what the solution would be as presumably some systems need fixx11h.h there (mine doesn't, but I don't know about older Linuxes or *BSD or Solaris etc.) this builds on linux, solaris, bsd... not sure what the problem is here, but i don't think this is a real build issue. I hit this when I tried to install kwin and libtaskmanager for kde4. I managed to get it working by reinstalling some of the X libs and headers: libXdamage, libXfixes, libXrender,damageproto and renderproto. I have no clue which one that made it This was on Gentoo with xorg-server-1.4 Created attachment 27752 [details]
Fixes the build of kdebase-workspace
I still don't know why this not a general issue, anyway this workaround fixes the build on openmamba. I had the same problem with kde-base/plasma-workspace package on gentoo (amd64) installing KDE 4.2.1 (kde-meta:4.2 package) Following lead in comment #10, I manually modified /usr/include/fixx11h.h by adding line #include <X11/extensions/Xrender.h> just before #ifdef Q_WS_X11 Later had exact same problem with kde-base/kwin:4.2 package until I reapplied the mod to fxixx11h.h (it was overwritten after I reinstalled kdelibs) TJ |