LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-30-2005, 11:11 AM   #1
liljhand
Member
 
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90

Rep: Reputation: 15
installing a window decoration


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
 
Old 01-30-2005, 12:06 PM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
Hi,

in the extracted source dir make a

# ./configure

if this works properley, you get something like configuration
is okay start make now.

But you did this already. Make sure you have the current
libraries installed. That is KDE >= 3.2. and QT >= 3.2

Maybe you have a little bit old compiler. I tried it with gcc-3.3.4 under
slackware and it worked.

Good luck.
 
Old 01-30-2005, 12:25 PM   #3
liljhand
Member
 
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90

Original Poster
Rep: Reputation: 15
i ahve everything upto date
 
Old 01-30-2005, 12:33 PM   #4
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
The output that you posted, looks like a compiler problem. What is
the output of configure? And what os do you use?

I tried the installation instructions on kdeview (or something like that) and
it worked out quite well.
 
Old 01-30-2005, 04:31 PM   #5
liljhand
Member
 
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90

Original Poster
Rep: Reputation: 15
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
 
Old 01-31-2005, 12:07 PM   #6
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
Configure seems to be okay. Otherwise it would have failed.
But I have KDE 3.3 installed. Maybe that is the problem.

Try make again, otherwise update to KDE 3.3 and QT 3.3, i guess.

Cheers,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Window Decoration - hlp plz Oxyacetylene Linux - Software 7 12-08-2004 06:26 PM
how do i make a kwin window decoration? asi0917 Linux - Newbie 0 09-11-2004 12:17 PM
Fluxbox window decoration Hammett Linux - Software 3 03-06-2004 01:35 PM
using xfce window decoration is gnome xslf Linux - General 0 11-04-2003 02:24 AM
Kde 3.1 new window decoration frontier1 Linux - General 0 03-05-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration