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

List:       koffice-devel
Subject:    [Bug 48391] New: koffice-1.2 fails to build
From:       Thomas Koeller <thomas () koeller ! dyndns ! org>
Date:       2002-09-28 0:05:32
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=48391     
           Summary: koffice-1.2 fails to build
           Product: koffice
           Version: 1.2
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: koffice-devel@kde.org
        ReportedBy: thomas@koeller.dyndns.org


Version:           1.2 (using KDE KDE 3.0.3)
Installed from:    Compiled From Sources
Compiler:          gcc-3.2 
OS:          Linux

When building koffice-1.2 from sources, I get an error (transcript below). I do not \
fully understand how uic works, but I noticed that guidessetupdialogbase.cpp uses \
KColorButton without including the associated header (nor does \
                guidessetupdialogbase.h).
-----
make[4]: Entering directory \
`/home/thomas/build/kde/apps/koffice-1.2/kivio/kiviopart/ui' \
source='guidessetupdialogbase.cpp' object='guidessetupdialogbase.lo' libtool=yes \ \
depfile='.deps/guidessetupdialogbase.Plo' \
tmpdepfile='.deps/guidessetupdialogbase.TPlo' \ depmode=gcc3 /bin/sh \
                /home/thomas/src/kde/apps/koffice-1.2/admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX /opt/gcc/bin/g++ \
-DHAVE_CONFIG_H -I. -I/home/thomas/src/kde/apps/koffice-1.2/kivio/kiviopart/ui \
-I../../.. -I/home/thomas/src/kde/apps/koffice-1.2/kivio/kiviopart \
-I/home/thomas/src/kde/apps/koffice-1.2/kivio/kiviopart/kiviosdk \
-I/home/thomas/src/kde/apps/koffice-1.2/kivio/kiviopart/tklib \
-I/home/thomas/src/kde/apps/koffice-1.2/lib/kofficeui -I../../../lib/kofficeui \
-I/home/thomas/src/kde/apps/koffice-1.2/lib/kofficecore -I../../../lib/kofficecore \
-I/home/thomas/src/kde/apps/koffice-1.2/lib/store -I../../../lib/store \
-I/home/thomas/src/kde/apps/koffice-1.2/lib/kwmf -I../../../lib/kwmf \
-I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  \
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall \
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -pipe -O3 \
-march=athlon -fomit-frame-pointer -fno-exceptions -fno-check-new \
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT  -c -o \
guidessetupdialogbase.lo `test -f guidessetupdialogbase.cpp || echo \
                '/home/thomas/src/kde/apps/koffice-1.2/kivio/kiviopart/ui/'`guidessetupdialogbase.cpp
                
guidessetupdialogbase.cpp: In constructor 
   `GuidesSetupDialogBase::GuidesSetupDialogBase(QWidget*, const char*, 
   unsigned int)':
guidessetupdialogbase.cpp:32: invalid use of undefined type `struct 
   KColorButton'
guidessetupdialogbase.h:17: forward declaration of `struct KColorButton'
guidessetupdialogbase.cpp:33: invalid use of undefined type `struct 
   KColorButton'
guidessetupdialogbase.h:17: forward declaration of `struct KColorButton'
guidessetupdialogbase.cpp:35: no matching function for call to `QGridLayout::
   addWidget(KColorButton*&, int, int)'
/opt/qt/include/qlayout.h:323: candidates are: void 
   QGridLayout::addWidget(QWidget*, int, int, int = 0)
guidessetupdialogbase.cpp:52: invalid use of undefined type `struct 
   KColorButton'
guidessetupdialogbase.h:17: forward declaration of `struct KColorButton'
guidessetupdialogbase.cpp:53: invalid use of undefined type `struct 
   KColorButton'
guidessetupdialogbase.h:17: forward declaration of `struct KColorButton'
guidessetupdialogbase.cpp:55: no matching function for call to `QGridLayout::
   addWidget(KColorButton*&, int, int)'
/opt/qt/include/qlayout.h:323: candidates are: void 
   QGridLayout::addWidget(QWidget*, int, int, int = 0)
guidessetupdialogbase.cpp:69: no matching function for call to `QLabel::
   setBuddy(KColorButton*&)'
/opt/qt/include/qlabel.h:94: candidates are: virtual void 
   QLabel::setBuddy(QWidget*)
guidessetupdialogbase.cpp:70: no matching function for call to `QLabel::
   setBuddy(KColorButton*&)'
/opt/qt/include/qlabel.h:94: candidates are: virtual void 
   QLabel::setBuddy(QWidget*)
make[4]: *** [guidessetupdialogbase.lo] Error 1
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel


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

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