Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
here is a huge list of errors i receive while running make for a window decoration for KDE 3.2:
how do i get it to install
Code:
crystalclient.h:102: error: expected class-name before '{' token
crystalclient.h:106: error: ISO C++ forbids declaration of `KDecoration' with no type
crystalclient.h:106: error: `KDecoration' declared as a `virtual' field
crystalclient.h:106: error: expected `;' before '*' token
crystalclient.h:142: error: expected class-name before '{' token
crystalclient.h:145: error: expected `)' before '*' token
crystalclient.h:160: error: `Position' does not name a type
crystalclient.h:160: error: extra semicolon
crystalclient.cc:36: error: expected constructor, destructor, or type conversion before '*' token
crystalclient.cc:36: error: expected `,' or `;' before '*' token
crystalclient.cc:71: error: expected constructor, destructor, or type conversion before '*' token
crystalclient.cc:71: error: expected `,' or `;' before '*' token
crystalclient.cc:220: error: expected `)' before '*' token
crystalclient.cc:220: error: expected `,' or `;' before '*' token
crystalclient.cc: In member function `virtual void CrystalClient::init()':
crystalclient.cc:241: error: `WResizeNoErase' undeclared (first use this function)
crystalclient.cc:241: error: (Each undeclared identifier is reported only once for each function it appears in.)
crystalclient.cc:241: error: `WRepaintNoErase' undeclared (first use this function)
crystalclient.cc:241: error: `createMainWidget' undeclared (first use this function)
crystalclient.cc:242: error: `widget' undeclared (first use this function)
crystalclient.cc:246: error: `NoBackground' undeclared (first use this function)
crystalclient.cc:263: error: `isPreview' undeclared (first use this function)
crystalclient.cc:283: error: `options' undeclared (first use this function)
crystalclient.cc:289: error: `connect' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::updateMask()':
crystalclient.cc:299: error: `options' undeclared (first use this function)
crystalclient.cc:299: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:299: error: `MaximizeFull' undeclared (first use this function)
crystalclient.cc:301: error: `widget' undeclared (first use this function)
crystalclient.cc:301: error: `setMask' undeclared (first use this function)
crystalclient.cc:306: error: `width' undeclared (first use this function)
crystalclient.cc:307: error: `height' undeclared (first use this function)
crystalclient.cc: In member function `CrystalButton* CrystalClient::addButtons(QBoxLayout*, const QString&)':
crystalclient.cc:363: error: `connect' undeclared (first use this function)
crystalclient.cc:370: error: `isOnAllDesktops' undeclared (first use this function)
crystalclient.cc:384: error: `providesContextHelp' undeclared (first use this function)
crystalclient.cc:394: error: `isMinimizable' undeclared (first use this function)
crystalclient.cc:408: error: `keepAbove' undeclared (first use this function)
crystalclient.cc:418: error: `keepBelow' undeclared (first use this function)
crystalclient.cc:426: error: `isShadeable' undeclared (first use this function)
crystalclient.cc:436: error: `isMaximizable' undeclared (first use this function)
crystalclient.cc:437: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:437: error: `MaximizeFull' undeclared (first use this function)
crystalclient.cc:453: error: `isCloseable' undeclared (first use this function)
crystalclient.cc: In member function `virtual void CrystalClient::captionChange()':
crystalclient.cc:496: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `virtual void CrystalClient::desktopChange()':
crystalclient.cc:506: error: `isOnAllDesktops' undeclared (first use this function)
crystalclient.cc: In member function `virtual void CrystalClient::maximizeChange()':
crystalclient.cc:535: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:535: error: `MaximizeFull' undeclared (first use this function)
crystalclient.cc:542: error: `options' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::updateLayout()':
crystalclient.cc:564: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `virtual void CrystalClient::borders(int&, int&, int&, int&) const':
crystalclient.cc:596: error: `isShade' undeclared (first use this function)
crystalclient.cc:598: error: `options' undeclared (first use this function)
crystalclient.cc:600: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:600: error: `MaximizeHorizontal' undeclared (first use this function)
crystalclient.cc:601: error: `MaximizeVertical' undeclared (first use this function)
crystalclient.cc: In member function `virtual void CrystalClient::resize(const QSize&)':
crystalclient.cc:616: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `virtual QSize CrystalClient::minimumSize() const':
crystalclient.cc:626: error: `widget' undeclared (first use this function)
crystalclient.cc: At global scope:
crystalclient.cc:634: error: `KDecoration' has not been declared
crystalclient.cc:634: error: expected constructor, destructor, or type conversion before "CrystalClient"
crystalclient.cc:634: error: expected `,' or `;' before "CrystalClient"
crystalclient.cc: In member function `bool CrystalClient::eventFilter(QObject*, QEvent*)':
crystalclient.cc:675: error: `widget' undeclared (first use this function)
crystalclient.cc:686: error: `ControlButton' undeclared (first use this function)
crystalclient.cc:689: error: `processMousePressEvent' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::ClientWindows(Window*, Window*, Window*)':
crystalclient.cc:725: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::mouseDoubleClickEvent(QMouseEvent*)':
crystalclient.cc:750: error: `LeftButton' undeclared (first use this function)
crystalclient.cc:750: error: `titlebarDblClickOperation' undeclared (first use this function)
crystalclient.cc:754: error: `processMousePressEvent' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::mouseWheelEvent(QWheelEvent*)':
crystalclient.cc:765: error: 'class CrystalClient' has no member named 'isActive'
crystalclient.cc:779: error: 'class CrystalClient' has no member named 'desktop'
crystalclient.cc:779: error: `desktop' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::paintEvent(QPaintEvent*)':
crystalclient.cc:803: error: `widget' undeclared (first use this function)
crystalclient.cc:806: error: `options' undeclared (first use this function)
crystalclient.cc:806: error: `KDecoration' has not been declared
crystalclient.cc:806: error: `ColorTitleBar' undeclared (first use this function)
crystalclient.cc:806: error: `isActive' undeclared (first use this function)
crystalclient.cc:833: error: `KDecoration' has not been declared
crystalclient.cc:833: error: `ColorFont' undeclared (first use this function)
crystalclient.cc:841: error: `AlignVCenter' undeclared (first use this function)
crystalclient.cc:841: error: `caption' undeclared (first use this function)
crystalclient.cc:879: error: `KDecoration' has not been declared
crystalclient.cc:879: error: `ColorFrame' undeclared (first use this function)
crystalclient.cc:884: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:884: error: `MaximizeFull' undeclared (first use this function)
crystalclient.cc:887: error: `width' undeclared (first use this function)
crystalclient.cc:888: error: `height' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::resizeEvent(QResizeEvent*)':
crystalclient.cc:937: error: `widget' undeclared (first use this function)
crystalclient.cc:944: error: `isActive' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::moveEvent(QMoveEvent*)':
crystalclient.cc:954: error: `widget' undeclared (first use this function)
crystalclient.cc:961: error: `isActive' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::showEvent(QShowEvent*)':
crystalclient.cc:975: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::Repaint()':
crystalclient.cc:981: error: `widget' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::maxButtonPressed()':
crystalclient.cc:995: error: `MidButton' undeclared (first use this function)
crystalclient.cc:996: error: `maximizeMode' undeclared (first use this function)
crystalclient.cc:996: error: `MaximizeVertical' undeclared (first use this function)
crystalclient.cc:996: error: `maximize' undeclared (first use this function)
crystalclient.cc:998: error: `RightButton' undeclared (first use this function)
crystalclient.cc:999: error: `MaximizeHorizontal' undeclared (first use this function)
crystalclient.cc:1002: error: `MaximizeFull' undeclared (first use this function)
crystalclient.cc:1002: error: `MaximizeRestore' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::minButtonPressed()':
crystalclient.cc:1012: error: `MidButton' undeclared (first use this function)
crystalclient.cc:1013: error: `LowerOp' undeclared (first use this function)
crystalclient.cc:1013: error: `performWindowOperation' undeclared (first use this function)
crystalclient.cc:1015: error: `RightButton' undeclared (first use this function)
crystalclient.cc:1016: error: `isShadeable' undeclared (first use this function)
crystalclient.cc:1016: error: `isShade' undeclared (first use this function)
crystalclient.cc:1016: error: `setShade' undeclared (first use this function)
crystalclient.cc:1019: error: `minimize' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::aboveButtonPressed()':
crystalclient.cc:1026: error: `keepAbove' undeclared (first use this function)
crystalclient.cc:1026: error: `setKeepAbove' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::belowButtonPressed()':
crystalclient.cc:1031: error: `keepBelow' undeclared (first use this function)
crystalclient.cc:1031: error: `setKeepBelow' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::keepAboveChange(bool)':
crystalclient.cc:1038: error: `keepAbove' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::keepBelowChange(bool)':
crystalclient.cc:1046: error: `keepBelow' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::shadeButtonPressed()':
crystalclient.cc:1054: error: `MidButton' undeclared (first use this function)
crystalclient.cc:1055: error: `RightButton' undeclared (first use this function)
crystalclient.cc:1059: error: `isShadeable' undeclared (first use this function)
crystalclient.cc:1059: error: `isShade' undeclared (first use this function)
crystalclient.cc:1059: error: `setShade' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::menuButtonPressed()':
crystalclient.cc:1083: error: `closeWindow' undeclared (first use this function)
crystalclient.cc:1088: error: no matching function for call to `QTimer::singleShot(int, CrystalClient* const, const char[13])'
/usr/lib/qt3//include/qtimer.h:59: note: candidates are: static void QTimer::singleShot(int, QObject*, const char*)
crystalclient.cc: In member function `void CrystalClient::menuPopUp()':
crystalclient.cc:1095: error: `KDecorationFactory' undeclared (first use this function)
crystalclient.cc:1095: error: `f' undeclared (first use this function)
crystalclient.cc:1095: error: `factory' cannot be used as a function
crystalclient.cc:1096: error: `showWindowMenu' undeclared (first use this function)
crystalclient.cc: In member function `void CrystalClient::ShowTabMenu(QMouseEvent*)':
crystalclient.cc:1105: error: `widget' undeclared (first use this function)
crystalclient.cc:1110: error: 'class CrystalClient' has no member named 'caption'
crystalclient.cc:1114: error: 'class CrystalFactory' has no member named 'exists'
crystalclient.cc:1135: error: `grabXServer' undeclared (first use this function)
crystalclient.cc:1142: error: `ungrabXServer' undeclared (first use this function)
In file included from crystalclient.cc:1156:
crystalclient.moc: In static member function `static QMetaObject* CrystalClient::staticMetaObject()':
crystalclient.moc:54: error: `KDecoration' has not been declared
crystalclient.moc: In member function `virtual void* CrystalClient::qt_cast(const char*)':
crystalclient.moc:100: error: `KDecoration' has not been declared
crystalclient.moc: In member function `virtual bool CrystalClient::qt_invoke(int, QUObject*)':
crystalclient.moc:117: error: `KDecoration' has not been declared
crystalclient.moc: In member function `virtual bool CrystalClient::qt_emit(int, QUObject*)':
crystalclient.moc:124: error: `KDecoration' has not been declared
crystalclient.moc: In member function `virtual bool CrystalClient::qt_property(int, int, QVariant*)':
crystalclient.moc:130: error: `KDecoration' has not been declared
crystalclient.cc: At global scope:
crystalclient.cc:1043: warning: unused parameter 'set'
crystalclient.cc:1035: warning: unused parameter 'set'
crystalclient.cc:83: warning: unused parameter 'changed'
make[3]: *** [crystalclient.lo] Error 1
make[3]: Leaving directory `/home/suhail/Installs/crystal-0.9.1/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/suhail/Installs/crystal-0.9.1/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/suhail/Installs/crystal-0.9.1'
make: *** [all] Error 2
I am posting the second half of ./configure coz its too long and I think it may be helpful. I am using mandrake 10.1
Code:
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3//lib, headers /usr/lib/qt3//include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/lib, headers /usr/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/bin/dcopidl
checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
checking for mcopidl... /usr/bin/mcopidl
checking for artsc-config... /usr/bin/artsc-config
checking for kde-config... /usr/bin/kde-config
checking for brockenboring... not found
checking for meinproc... /usr/bin/meinproc
checking if client should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating client/Makefile
fast creating client/config/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Good - your configure finished. Start make now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.