[Kflog-user] Problems compiling 2.2.0-beta

Oliver Burger oliver.burger at wizard-fire.de
Wed Jun 17 12:23:24 CEST 2009


Hi,
I'm trying to build an rpm package for Mandriva Linux due to a request of one 
of our users at mandrivauser.de
But the compile does stop with an error message.

I did a "normal" install

make -f Makefile.dist
./configure --prefix=/opt/kde3
make
make install

and got the following error during the "make"-run.
Could this be related to the - seemingly - very restrictive gcc-4.3 used by 
Mandriva? And what could be done to solve this?

make  all-recursive                                                            
make[1]: Entering directory `/home/obgr/tmp/kflog-2.2.0-beta'                  
Making all in kflog                                                            
make[2]: Entering directory `/home/obgr/tmp/kflog-2.2.0-beta/kflog'            
Making all in guicontrols                                                      
make[3]: Entering directory `/home/obgr/tmp/kflog-2.2.0-beta/kflog/guicontrols'
g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I.   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -
Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-
virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT 
kfloglistview.moc.o -MD -MP -MF .deps/kfloglistview.moc.Tpo -c -o 
kfloglistview.moc.o kfloglistview.moc.cpp                   
kfloglistview.moc.cpp:12:2: error: #error "The header file 'kfloglistview.h' 
doesn't include <QObject>."                                                        
kfloglistview.moc.cpp:20: error: expected constructor, destructor, or type 
conversion before 'static'                                                           
kfloglistview.moc.cpp:42: error: 'const QMetaObject 
KFLogListView::staticMetaObject' is not a static member of 'class 
KFLogListView'                            
kfloglistview.moc.cpp:42: error: variable 'const QMetaObject 
KFLogListView::staticMetaObject' has initializer but incomplete type                               
kfloglistview.moc.cpp:44: error: 'qt_meta_data_KFLogListView' was not declared 
in this scope
kfloglistview.moc.cpp:47: error: prototype for 'const QMetaObject* 
KFLogListView::metaObject() const' does not match any in class 'KFLogListView'
kfloglistview.h:32: error: candidate is: virtual QMetaObject* 
KFLogListView::metaObject() const
kfloglistview.moc.cpp:52: error: no 'void* KFLogListView::qt_metacast(const 
char*)' member function declared in class 'KFLogListView'
kfloglistview.moc.cpp:60: error: 'int KFLogListView::qt_metacall' is not a 
static member of 'class KFLogListView'
kfloglistview.moc.cpp:60: error: incomplete type 'QMetaObject' used in nested 
name specifier
kfloglistview.moc.cpp:60: error: expected primary-expression before 'int'
kfloglistview.moc.cpp:60: error: expected primary-expression before 'void'
kfloglistview.moc.cpp:60: error: initializer expression list treated as 
compound expression
kfloglistview.moc.cpp:61: error: expected ',' or ';' before '{' token
make[3]: *** [kfloglistview.moc.o] Error 1
make[3]: Leaving directory `/home/obgr/tmp/kflog-2.2.0-beta/kflog/guicontrols'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/obgr/tmp/kflog-2.2.0-beta/kflog'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/obgr/tmp/kflog-2.2.0-beta'
make: *** [all] Error 2

Thanks for your help,

Oliver

-- 
Do not meddle in the affairs of wizards,
'cause they are subtle and quick to anger!


More information about the Kflog-user mailing list