[openmamba-devel-it] patch

gil puntogil a libero.it
Ven 27 Giu 2008 10:53:50 CEST


Silvan Calarco ha scritto:
> Credo che sia lo stesso problema che aveva compiz, risolto con la patch in 
> allegato, cioč aggiungendo:
>
> #include <X11/Xdefs.h>
>
> dove serve prima di:
>
> #include <fixx11h.h>
>
> ciao
> Silvan
>
> Alle venerdě 27 giugno 2008, gil ha scritto:
>   
>> ciao
>> visto che hai introdotto l'argomento ...
>> in questo  caso dovrei andare a modificare i file decorator.h
>> ,Xrender.h, ecc che sono riportati qui sotto e che creano il problema..
>> dovrei mdificare il tipo della variabile/costante?
>>
>>
>> In file included from /usr/include/beryl/beryl-decoration.h:26,
>>                  from decorator.h:44,
>>                  from decorator.cpp:44:
>> /usr/include/X11/extensions/Xrender.h:75: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:75: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:75: error: 'Bool' does not name a
>> type /usr/include/X11/extensions/Xrender.h:80: error: reference to 'Bool'
>> is ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:80: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:80: error: 'Bool' does not name a
>> type /usr/include/X11/extensions/Xrender.h:203: error: reference to 'Bool'
>> is ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:203: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:203: error: 'Bool' does not name a
>> type
>> /usr/include/X11/extensions/Xrender.h:213: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:213: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xrender.h:213: error: 'Bool' does not name a
>> type
>> In file included from window.h:36,
>>                  from decorator.h:46,
>>                  from decorator.cpp:44:
>> /usr/include/X11/extensions/Xdamage.h:39: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:39: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:39: error: 'Bool' does not name a
>> type /usr/include/X11/extensions/Xdamage.h:44: error: reference to 'Bool'
>> is ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:44: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:44: error: 'Bool' does not name a
>> type /usr/include/X11/extensions/Xdamage.h:52: error: reference to 'Bool'
>> is ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:52: error: reference to 'Bool' is
>> ambiguous
>> /usr/include/X11/Xdefs.h:49: error: candidates are: typedef int Bool
>> /opt/kde3/include/fixx11h.h:65: error:                 typedef X::XBool
>> X::Bool
>> /usr/include/X11/extensions/Xdamage.h:52: error: 'Bool' does not name a
>> type decorator.h: In constructor 'Aquamarine::Decorator::Decorator()':
>> decorator.h:179: warning: 'Aquamarine::Decorator::mConfig' will be
>> initialized after
>> decorator.h:174: warning:   'Aquamarine::Window*
>> Aquamarine::Decorator::mDecorNormal'
>> decorator.cpp:79: warning:   when initialized here
>> decorator.cpp:104: error: 'XDamageQueryExtension' was not declared in
>> this scope
>> decorator.cpp:122: warning: deprecated conversion from string constant
>> to 'char*'
>> make[2]: *** [decorator.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[2]: Leaving directory `/usr/src/RPM/BUILD/aquamarine-0.2.1/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/RPM/BUILD/aquamarine-0.2.1'
>> make: *** [all] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.49121 (%build)
>>     
>
>
>
>   
un po di confusione questo é l'errore di aquamarine...
la patch la applico a questo pacchetto o a quello che contiene
beryl-decoration.h
grazie
scusa per il disturbo





Maggiori informazioni sulla lista openmamba-devel-it