LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-03-2006, 06:23 AM   #1
mrkoko
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
KDE Baghira theme installation headache


while trying to build Baghira KDE theme on Solaris machine, I ran into the error below. Does anyone know how to tackle this problem?

sunfire7:~/kde_themes/baghira-0.6c> make
make all-recursive
make[1]: Entering directory `/home/kihara/kde_themes/baghira-0.6c'
Making all in bab
make[2]: Entering directory `/home/kihara/kde_themes/baghira-0.6c/bab'
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/bash ../admin/depcomp \
/home/gnu/sparc-sun-solaris2.8/gcc-3.2-new/bin/g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/kihara/kde313/include -I/home/kihara/qt321/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 -fno-exceptions -fno-check-new -fno-common -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from main.cpp:41:
/usr/include/X11/extensions/shape.h:63: 'Bool' is used as a type, but is not
defined as a type.
/usr/include/X11/extensions/shape.h:65: 'Window' is used as a type, but is not
defined as a type.
/usr/include/X11/extensions/shape.h:69: 'Time' is used as a type, but is not
defined as a type.
/usr/include/X11/extensions/shape.h:70: 'Bool' is used as a type, but is not
defined as a type.
/usr/include/X11/extensions/shape.h:75: syntax error before `(' token
/usr/include/X11/extensions/shape.h:83: syntax error before `(' token
/usr/include/X11/extensions/shape.h:94: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:106: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:110: type specifier omitted for parameter `
XRectangle'
/usr/include/X11/extensions/shape.h:110: parse error before `*' token
/usr/include/X11/extensions/shape.h:120: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:124: type specifier omitted for parameter `
Pixmap'
/usr/include/X11/extensions/shape.h:132: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:136: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:145: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:152: syntax error before `(' token
/usr/include/X11/extensions/shape.h:172: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:182: type specifier omitted for parameter `
Window'
/usr/include/X11/extensions/shape.h:184: syntax error before `*' token
main.cpp: In member function `bab::bab()':
main.cpp:125: warning: unused variable `QLabel*DefStyleLabel'
main.cpp:134: warning: unused variable `QLabel*AquaTabLabel'
main.cpp:141: warning: unused variable `QLabel*BrushedTabLabel'
main.cpp:153: warning: unused variable `QLabel*ShowToolsLabel'
main.cpp: In constructor `Corner::Corner(Corner::Side)':
main.cpp:452: `XRectangle' undeclared (first use this function)
main.cpp:452: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cpp:452: `xrects' undeclared (first use this function)
main.cpp:452: parse error before `[' token
main.cpp:478: parse error before `[' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/kihara/kde_themes/baghira-0.6c/bab'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kihara/kde_themes/baghira-0.6c'
make: *** [all] Error 2

Thanks!
 
Old 09-03-2006, 10:27 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Your main.cpp is missing
Code:
#include <X11/Xlib.h>
 
Old 09-04-2006, 12:16 AM   #3
mrkoko
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
all the includes in the cpp

actually, that was one of the many thing I tried yesterday... is there something obvious that I forgot in here? Thank you for your help

#include "bab.h"
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qdir.h>
#include <qlayout.h>
#include <qsettings.h>
#include <qtooltip.h>
#include <qtimer.h>
#include <qvbox.h>
#include <qpainter.h>
#include <dcopclient.h>
#include <kapplication.h>
#include <kconfig.h>
#include <kiconloader.h>
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <klocale.h>
#include <kprocess.h>
#include <stdio.h>
#include <X11/extensions/shape.h>
#include <X11/Xlib.h>
 
Old 09-04-2006, 12:42 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
is there something obvious that I forgot in here?
Yes, Xlib.h should appear before extensions/shape.h
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
baghira theme wooot Linux - Software 7 01-01-2006 01:14 AM
can't install baghira theme dazer Linux - Software 4 11-24-2005 10:08 PM
KDE 3.2 theme installation!?!?! Commando Linux - Newbie 4 08-21-2005 10:58 PM
installing theme baghira... what does this mean? ickselglic Linux - Software 1 03-10-2004 10:33 AM
Baghira - Style/Theme Install Help muzicman82 Linux - General 0 11-16-2003 02:18 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:35 PM.

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