Version: (using KDE KDE 3.4.0) Installed from: Compiled From Sources Compiler: gcc version 3.3.5 OS: SunOS (sun4u) release 5.8 Compile failed due to missing include file. Need to add #include <X11/Xlib.h> to line 26 of GlobalParams.cc. Making all in xpdf make[4]: Entering directory `/var/tmp/kde/archive/3.4/kdegraphics-3.4.0/kpdf/xpdf/xpdf' creating libxpdf_la.all_cc.cc ... if /bin/bash ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I./../fofi -I./../splash -I./../goo -I/opt/kde3/3.4/include -I/opt/qt/qt-3.3.3/include -I/opt/kdeshared/include -I/opt/kdeshared/include/freetype2 -I/opt/kdeshared/include -I/opt/qt/qt-3.3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings-O2 -O3 -mcpu=ultrasparc -g -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT libxpdf_la.all_cc.lo -MD -MP -MF ".deps/libxpdf_la.all_cc.Tpo" -c -o libxpdf_la.all_cc.lo libxpdf_la.all_cc.cc; \ then mv -f ".deps/libxpdf_la.all_cc.Tpo" ".deps/libxpdf_la.all_cc.Plo"; else rm-f ".deps/libxpdf_la.all_cc.Tpo"; exit 1; fi In file included from /opt/kdeshared/include/X11/extensions/Xrender.h:33, from /opt/kdeshared/include/X11/Xft/Xft.h:43, from GlobalParams.cc:26, from libxpdf_la.all_cc.cc:48: /usr/include/X11/Xutil.h:117: error: 'Bool' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:120: error: 'Pixmap' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:121: error: 'Window' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:123: error: 'Pixmap' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:124: error: 'XID' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:161: error: 'Atom' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:207: error: 'XPointer' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:254: error: syntax error before `*' token /usr/include/X11/Xutil.h:255: error: 'VisualID' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:287: error: 'Colormap' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:295: error: 'VisualID' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:296: error: 'XID' is used as a type, but is not defined as a type. /usr/include/X11/Xutil.h:365: error: type specifier omitted for parameter ` XRectangle' /usr/include/X11/Xutil.h:365: error: parse error before `*' token /usr/include/X11/Xutil.h:384: error: type specifier omitted for parameter `XID' /usr/include/X11/Xutil.h:411: error: type specifier omitted for parameter `XID' /usr/include/X11/Xutil.h:413: error: type specifier omitted for parameter ` XPointer' /usr/include/X11/Xutil.h:413: error: parse error before `*' token /usr/include/X11/Xutil.h:417: error: syntax error before `(' token /usr/include/X11/Xutil.h:425: error: syntax error before `(' token /usr/include/X11/Xutil.h:434: error: syntax error before `(' token /usr/include/X11/Xutil.h:442: error: syntax error before `(' token /usr/include/X11/Xutil.h:452: error: syntax error before `(' token /usr/include/X11/Xutil.h:461: error: syntax error before `(' token /usr/include/X11/Xutil.h:470: error: syntax error before `(' token /usr/include/X11/Xutil.h:488: error: syntax error before `(' token /usr/include/X11/Xutil.h:501: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:503: error: syntax error before `(' token /usr/include/X11/Xutil.h:511: error: syntax error before `(' token /usr/include/X11/Xutil.h:519: error: syntax error before `(' token /usr/include/X11/Xutil.h:528: error: syntax error before `(' token /usr/include/X11/Xutil.h:538: error: syntax error before `(' token /usr/include/X11/Xutil.h:556: error: `KeySym' was not declared in this scope /usr/include/X11/Xutil.h:557: error: `KeySym' was not declared in this scope /usr/include/X11/Xutil.h:557: error: parse error before `,' token /usr/include/X11/Xutil.h:558: error: `KeySym' was not declared in this scope /usr/include/X11/Xutil.h:560: error: parse error before `)' token /usr/include/X11/Xutil.h:560: error: variable or field `XConvertCase' declared void /usr/include/X11/Xutil.h:560: error: initializer list being treated as compound expression /usr/include/X11/Xutil.h:564: error: `XKeyEvent' was not declared in this scope /usr/include/X11/Xutil.h:564: error: parse error before `,' token /usr/include/X11/Xutil.h:572: error: syntax error before `(' token /usr/include/X11/Xutil.h:590: error: syntax error before `(' token /usr/include/X11/Xutil.h:600: error: `XPoint' was not declared in this scope /usr/include/X11/Xutil.h:600: error: parse error before `,' token /usr/include/X11/Xutil.h:619: error: type specifier omitted for parameter `XID' /usr/include/X11/Xutil.h:628: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:636: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:645: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:653: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:658: error: type specifier omitted for parameter `Atom ' /usr/include/X11/Xutil.h:663: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:667: error: type specifier omitted for parameter `Atom ' /usr/include/X11/Xutil.h:672: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:675: error: type specifier omitted for parameter ` Pixmap' /usr/include/X11/Xutil.h:685: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:689: error: type specifier omitted for parameter `Atom ' /usr/include/X11/Xutil.h:694: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:702: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:710: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:718: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:726: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:734: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:748: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:762: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:766: error: type specifier omitted for parameter `Atom ' /usr/include/X11/Xutil.h:779: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:783: error: type specifier omitted for parameter `Atom ' /usr/include/X11/Xutil.h:788: error: type specifier omitted for parameter ` Window' /usr/include/X11/Xutil.h:801: error: syntax error before `(' token /usr/include/X11/Xutil.h:843: error: syntax error before `(' token /usr/include/X11/Xutil.h:871: error: `XRectangle' was not declared in this scope /usr/include/X11/Xutil.h:871: error: parse error before `,' token In file included from /opt/kdeshared/include/X11/Xft/Xft.h:43, from GlobalParams.cc:26, from libxpdf_la.all_cc.cc:48: /opt/kdeshared/include/X11/extensions/Xrender.h:51: error: 'Colormap' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:68: error: 'Bool' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:74: error: 'Pixmap' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:75: error: 'Bool' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:79: error: 'Atom' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:80: error: 'Bool' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:168: error: 'Cursor' is used as a type, but is not defined as a type. /opt/kdeshared/include/X11/extensions/Xrender.h:174: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:176: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:180: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:184: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:187: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:213: error: type specifier omitted for parameter `Drawable' /opt/kdeshared/include/X11/extensions/Xrender.h:213: error: parse error before `,' token /opt/kdeshared/include/X11/extensions/Xrender.h:229: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:381: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:442: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:447: error: parse error before `*' token /opt/kdeshared/include/X11/extensions/Xrender.h:453: error: type specifier omitted for parameter `Drawable' /opt/kdeshared/include/X11/extensions/Xrender.h:453: error: parse error before `)' token /opt/kdeshared/include/X11/extensions/Xrender.h:463: error: parse error before `*' token In file included from GlobalParams.cc:26, from libxpdf_la.all_cc.cc:48: /opt/kdeshared/include/X11/Xft/Xft.h:109: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:116: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:124: error: type specifier omitted for parameter `Visual' /opt/kdeshared/include/X11/Xft/Xft.h:124: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:140: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:143: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:152: error: type specifier omitted for parameter `Drawable' /opt/kdeshared/include/X11/Xft/Xft.h:152: error: parse error before `,' token /opt/kdeshared/include/X11/Xft/Xft.h:158: error: type specifier omitted for parameter `Pixmap' /opt/kdeshared/include/X11/Xft/Xft.h:158: error: parse error before `)' token /opt/kdeshared/include/X11/Xft/Xft.h:162: error: type specifier omitted for parameter `Pixmap' /opt/kdeshared/include/X11/Xft/Xft.h:162: error: parse error before `,' token /opt/kdeshared/include/X11/Xft/Xft.h:167: error: type specifier omitted for parameter `Drawable' /opt/kdeshared/include/X11/Xft/Xft.h:167: error: parse error before `)' token /opt/kdeshared/include/X11/Xft/Xft.h:173: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:176: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:178: error: syntax error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:281: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:286: error: parse error before `*' token /opt/kdeshared/include/X11/Xft/Xft.h:634: error: type specifier omitted for parameter `Bool' /opt/kdeshared/include/X11/Xft/Xft.h:634: error: parse error before `,' token make[4]: *** [libxpdf_la.all_cc.lo] Error 1 make[4]: Leaving directory `/var/tmp/kde/archive/3.4/kdegraphics-3.4.0/kpdf/xpdf/xpdf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/kde/archive/3.4/kdegraphics-3.4.0/kpdf/xpdf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/kde/archive/3.4/kdegraphics-3.4.0/kpdf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/kde/archive/3.4/kdegraphics-3.4.0' make: *** [all] Error 2
CVS commit by aacid: Compile on Solaris BUGS: 102337 M +1 -0 GlobalParams.cc 1.13 --- kdegraphics/kpdf/xpdf/xpdf/GlobalParams.cc #1.12:1.13 @@ -24,4 +24,5 @@ #include FT_FREETYPE_H // -- ---------------------------------------------------------- -- +#include <X11/Xlib.h> #include <X11/Xft/Xft.h> #include <X11/Xft/XftCompat.h>