[Konsole-devel] [Bug 145744] New: Compile error on Solaris 8 - kdebase/apps/konsole/src/start.cpp includes Xrender.h without including Xlib.h

stevee at zuken.co.uk stevee at zuken.co.uk
Mon May 21 13:00:05 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=145744         
           Summary: Compile error on Solaris 8 -
                    kdebase/apps/konsole/src/start.cpp includes Xrender.h
                    without including Xlib.h
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: stevee zuken co uk


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris:

[ 36%] Building CXX object apps/konsole/src/CMakeFiles/kdeinit_konsole.dir/start.o
In file included from /gorbag/exta/cad/externals/SOLARIS/include/X11/extensions/Xrender.h:33,
                 from /cad4/stevee/kde-svn/kdebase/apps/konsole/src/start.cpp:24:
/usr/include/X11/Xutil.h:117: error: `Bool' does not name a type
/usr/include/X11/Xutil.h:120: error: `Pixmap' does not name a type
/usr/include/X11/Xutil.h:121: error: `Window' does not name a type
/usr/include/X11/Xutil.h:123: error: `Pixmap' does not name a type
/usr/include/X11/Xutil.h:124: error: `XID' does not name a type
/usr/include/X11/Xutil.h:207: error: `XPointer' does not name a type
/usr/include/X11/Xutil.h:254: error: expected `;' before '*' token
/usr/include/X11/Xutil.h:255: error: `VisualID' does not name a type
/usr/include/X11/Xutil.h:287: error: `Colormap' does not name a type
/usr/include/X11/Xutil.h:295: error: `VisualID' does not name a type
/usr/include/X11/Xutil.h:296: error: `XID' does not name a type
/usr/include/X11/Xutil.h:365: error: `XRectangle' has not been declared
/usr/include/X11/Xutil.h:384: error: `XID' has not been declared
/usr/include/X11/Xutil.h:411: error: `XID' has not been declared
/usr/include/X11/Xutil.h:413: error: `XPointer' has not been declared
/usr/include/X11/Xutil.h:417: error: `Status' does not name a type
/usr/include/X11/Xutil.h:425: error: `Status' does not name a type
/usr/include/X11/Xutil.h:434: error: `Status' does not name a type
/usr/include/X11/Xutil.h:442: error: `Status' does not name a type
/usr/include/X11/Xutil.h:452: error: `Status' does not name a type

(plus many similar errors)

This is fixed by including <X11/Xlib.h> before <X11/extensions/Xrender.h>



More information about the konsole-devel mailing list