trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2010

Building Trinity on BLFS - fixx11h.h

From: Leandro Nini <drfiemost@...>
Date: Sun, 19 Sep 2010 11:09:58 +0200
Forgot to report another error:

In file included from /opt/qt/include/tqimage.h:32:0,
                 from /opt/trinity-3.5.12/include/kaboutdata.h:24,
                 from main.cc:24,
                 from libkdeinit_kdesktop_la.all_cc.cc:2:
/opt/qt/include/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/opt/qt/include/qimage.h:61:61: warning: suggest parentheses around ‘&&’
within ‘||’
In file included from main.cc:52:0,
                 from libkdeinit_kdesktop_la.all_cc.cc:2:
/usr/include/X11/extensions/Xrender.h: At global scope:
/usr/include/X11/extensions/Xrender.h:75:5: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/usr/include/X11/extensions/Xrender.h:75:5: error: ‘Bool’ does not name a
type
/usr/include/X11/extensions/Xrender.h:80:5: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/usr/include/X11/extensions/Xrender.h:80:5: error: ‘Bool’ does not name a
type
/usr/include/X11/extensions/Xrender.h:203:1: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/usr/include/X11/extensions/Xrender.h:203:1: error: ‘Bool’ does not name a
type
/usr/include/X11/extensions/Xrender.h:213:1: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/usr/include/X11/extensions/Xrender.h:213:1: error: ‘Bool’ does not name a
type
In file included from libkdeinit_kdesktop_la.all_cc.cc:2:0:
main.cc: In function ‘int kdemain(int, char**)’:
main.cc:220:67: error: ‘XRenderQueryExtension’ was not declared in this
scope
In file included from /opt/trinity-3.5.12/include/kfileitem.h:31:0,
                 from ../libkonq/konq_iconviewwidget.h:27,
                 from kdiconview.h:23,
                 from krootwm.cc:57,
                 from libkdeinit_kdesktop_la.all_cc.cc:3:
/opt/trinity-3.5.12/include/kfilemetainfo.h: At global scope:
/opt/trinity-3.5.12/include/kfilemetainfo.h:1237:34: warning: type
qualifiers ignored on function return type
In file included from krootwm.cc:62:0,
                 from libkdeinit_kdesktop_la.all_cc.cc:3:
/opt/trinity-3.5.12/include/netwm.h:1145:5: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/opt/trinity-3.5.12/include/netwm.h:1145:5: error: ‘Bool’ does not name a
type
/opt/trinity-3.5.12/include/netwm.h:1172:32: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/opt/trinity-3.5.12/include/netwm.h:1172:32: error: ‘Bool’ has not been
declared
/opt/trinity-3.5.12/include/netwm.h:1267:26: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/opt/trinity-3.5.12/include/netwm.h:1267:26: error: ‘Bool’ has not been
declared
/opt/trinity-3.5.12/include/netwm.h:1457:99: error: reference to ‘Bool’ is
ambiguous
/usr/include/X11/Xdefs.h:47:13: error: candidates are: typedef int Bool
/opt/trinity-3.5.12/include/fixx11h.h:65:15: error:                 typedef
X::XBool X::Bool
/opt/trinity-3.5.12/include/netwm.h:1457:99: error: ‘Bool’ has not been
declared
In file included from libkdeinit_kdesktop_la.all_cc.cc:3:0:
krootwm.cc: In member function ‘void KRootWm::initConfig()’:
krootwm.cc:248:10: warning: unused variable ‘startup’
In file included from libkdeinit_kdesktop_la.all_cc.cc:5:0:
kdiconview.cc: In member function ‘void KDIconView::updateWorkArea(const
QRect&)’:
kdiconview.cc:1507:13: warning: unused variable ‘dummy’
In file included from libkdeinit_kdesktop_la.all_cc.cc:8:0:
bgmanager.cc: At global scope:
bgmanager.cc:399:6: warning: unused parameter ‘viewport’
make[3]: *** [libkdeinit_kdesktop_la.all_cc.lo] Errore 1
make[3]: Leaving directory
`/usr/src/KDETrinity/20100918/kdebase-20100918/kdesktop'



Fixed this by removing the fixx11h.h include from headers in the kdesktop
directory, namely minicli_ui.ui and kdesktopapp.h, as recommended in the
file itself:

[...]put #include <fixx11h.h> in the .cpp file 
 (not .h file!)[...]



Regards,
Leandro
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
 
 Sponsor:
 Prova subito Emailpaghe, e' in prova gratuita sino al 31 dicembre 2010 e in
pochi clik fai paghe e stipendi per la tua azienda!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10683&d=20100919