[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 100090] New: Compile error on Solaris 2.9 in kcmaccess.cpp
From:       Bernd Kuhls <bernd.kuhls () informatik ! uni-oldenburg ! de>
Date:       2005-02-23 14:08:24
Message-ID: 20050223150822.100090.bernd.kuhls () informatik ! uni-oldenburg ! de
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=100090         
           Summary: Compile error on Solaris 2.9 in kcmaccess.cpp
           Product: kcontrol
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: molkentin kde org
        ReportedBy: bernd.kuhls informatik uni-oldenburg de


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

uname -a
SunOS sunray 5.9 Generic_117171-14 sun4u sparc SUNW,Sun-Fire-880 Solaris

The following compile error can be fixed with this patch:

--- ./kdebase/kcontrol/access/kcmaccess.cpp     2005-02-03 00:40:11.000000000 +0100
+++ ./kdebase/kcontrol/access/kcmaccess.cpp     2005-02-16 13:05:44.697582000 +0100
 @ -29,6 +29,7  @
 #include <kshortcut.h>
 #include <kkeynative.h>

+#include <X11/Xlib.h>
 #include <X11/XKBlib.h>
 #define XK_MISCELLANY
 #define XK_XKB_KEYS



root sunray:/usr/local/lude/soft/KDE-3 4 \
0_CVS/src/orig/050222/kdebase-050222/kcontrol/access/> make if /bin/bash \
../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..  \
-I/usr/local/KDE-3.4.0_CVS/include -I/usr/local/qt-050201/include   \
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 \
-D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W \
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions \
-fno-check-new -fno-common -fno-exceptions-fno-check-new -fno-common \
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT \
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT kcmaccess.lo-MD -MP -MF ".deps/kcmaccess.Tpo" \
                \
  -c -o kcmaccess.lo `test -f 'kcmaccess.cpp' || echo './'`kcmaccess.cpp; \
then mv -f ".deps/kcmaccess.Tpo" ".deps/kcmaccess.Plo"; \
else rm -f ".deps/kcmaccess.Tpo"; exit 1; \
fi
In file included from /usr/include/X11/XKBlib.h:31,
                 from kcmaccess.cpp:32:
/usr/include/X11/extensions/XKBstr.h:77: error: 'Bool' is used as a type, but
   is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:328: error: syntax error before `*' token
/usr/include/X11/extensions/XKBstr.h:349: error: 'KeySym' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:425: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:426: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:467: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:468: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:471: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:473: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:475: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:477: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:479: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:481: error: 'KeyCode' is used as a type,
   but is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:490: error: 'Bool' is used as a type, but
   is not defined as a type.
/usr/include/X11/extensions/XKBstr.h:582: error: 'Bool' is used as a type, but
   is not defined as a type.
In file included from kcmaccess.cpp:32:
/usr/include/X11/XKBlib.h:36: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:38: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:46: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:48: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:64: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:66: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:73: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:74: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:75: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:76: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:77: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:78: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:79: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:80: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:93: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:95: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:113: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:122: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:124: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:131: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:140: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:142: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:152: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:154: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:174: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:176: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:188: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:190: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:199: error: 'Window' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:200: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:206: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:208: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:211: error: 'KeyCode' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:212: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:213: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:223: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:225: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:237: error: 'Bool' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:239: error: 'Time' is used as a type, but is not
   defined as a type.
/usr/include/X11/XKBlib.h:268: error: field `core' has incomplete type
/usr/include/X11/XKBlib.h:295: error: syntax error before `Bool'
/usr/include/X11/XKBlib.h:312: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:323: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:331: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:374: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:394: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:415: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:451: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:460: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:469: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:478: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:490: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:500: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:512: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:521: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:528: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:537: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:546: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:572: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:580: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:590: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:598: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:615: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:626: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:640: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:651: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:665: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:674: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:683: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:691: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:699: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:710: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:722: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:730: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:738: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:760: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:768: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:802: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:822: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:830: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:839: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:845: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:854: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:863: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:872: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:881: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:889: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:898: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:907: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:922: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:930: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:949: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:965: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:973: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:991: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1000: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1008: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1018: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1035: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1043: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1051: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1059: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1067: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1074: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1083: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1091: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1099: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1106: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1113: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1121: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1131: error: syntax error before `*' token
/usr/include/X11/XKBlib.h:1147: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1207: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1215: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1236: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1277: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1285: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1295: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1305: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1313: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1321: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1331: error: syntax error before `(' token
/usr/include/X11/XKBlib.h:1350: error: syntax error before `(' token
In file included from kcmaccess.h:12,
                 from kcmaccess.moc:11,
                 from kcmaccess.cpp:37:
/usr/local/KDE-3.4.0_CVS/include/kcmodule.h:30: error: syntax error before `;'
   token
kcmaccess.cpp: In function `QString mouseKeysShortcut(Display*)':
kcmaccess.cpp:49: error: `KeySym' undeclared (first use this function)
kcmaccess.cpp:49: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
kcmaccess.cpp:49: error: parse error before `=' token
kcmaccess.cpp:50: error: `KeyCode' undeclared (first use this function)
kcmaccess.cpp:51: error: `code' undeclared (first use this function)
kcmaccess.cpp:52: error: `sym' undeclared (first use this function)
kcmaccess.cpp:53: error: `XKeysymToKeycode' undeclared (first use this
   function)
kcmaccess.cpp:71: error: 'struct _XkbClientMapRec' has no member named 'syms'
kcmaccess.cpp:78: error: 'struct _XkbKTMapEntry' has no member named 'active'
kcmaccess.cpp:92: error: aggregate `XEvent ev' has incomplete type and cannot
   be defined
kcmaccess.cpp:112: error: `ShiftMask' undeclared (first use this function)
kcmaccess.cpp:112: error: `ControlMask' undeclared (first use this function)
kcmaccess.cpp:113: error: `LockMask' undeclared (first use this function)
make: *** [kcmaccess.lo] Error 1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic