[kde-solaris] Strange problem compiling kdeutils

Mats Rojestal mats.rojestal at bredband.net
Tue Nov 9 23:34:09 CET 2004


Hi,

I get this an error compiling kdeutils from cvs and i really can't 
figure out whats going wrong here. All other packages arts kdelibs 
kdebase kdemultimedia kdeaddons koffice compiles fine ( only minor fixes 
and patches).

In kdeutils/khexedit/parts/kbytesediti get this error:

---------------------

gmake[4]: Entering directory 
`/usr/local/src/kde/kdeutils/khexedit/parts/kbytesedit'
if /bin/bash ../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../lib 
-I/usr/local/kde/include -I/usr/local/include   -I/usr/local/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 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kbyteseditwidget.lo -MD -MP -MF 
".deps/kbyteseditwidget.Tpo" \
   -c -o kbyteseditwidget.lo `test -f 'kbyteseditwidget.cpp' || echo 
'./'`kbyteseditwidget.cpp; \
then mv ".deps/kbyteseditwidget.Tpo" ".deps/kbyteseditwidget.Plo"; \
else rm -f ".deps/kbyteseditwidget.Tpo"; exit 1; \
fi
In file included from kbyteseditwidget.cpp:25:
./../../lib/kbytesedit.h:75: error: expected `,' or `...' before numeric 
constant
./../../lib/kbytesedit.h:83: error: expected `,' or `...' before numeric 
constant
./../../lib/kbytesedit.h:83: error: `KHE::KBytesEdit::KBytesEdit(char*, 
int)' and `KHE::KBytesEdit::KBytesEdit(char*, int)' cannot be overloaded
In file included from kbyteseditwidget.cpp:26:
kbyteseditwidget.h:59: error: expected `,' or `...' before numeric constant
kbyteseditwidget.cpp:42: error: prototype for `void 
KBytesEditWidget::setData(char*, int, int, bool)' does not match any in 
class `KBytesEditWidget'
kbyteseditwidget.h:59: error: candidate is: virtual void 
KBytesEditWidgt::setData(char*, int)
/usr/local/kde/include/kgenericfactory.tcc: In static member function 
`static Product* KDEPrivate::ConcreteFactory<Product, 
ParentType>::create(QWidget*, const char*, QObject*, const char*, const 
QStringList&, KDEPrivate::Type2Type<QWidget>) [with Product = 
KBytesEditWidget, ParentType = QObject]':
/usr/local/kde/include/kgenericfactory.tcc:132:   instantiated from 
`static Product* KDEPrivate::ConcreteFactory<Product, 
ParentType>::create(QWidget*, const char*, QObject*, const char*, const 
char*, const QStringList&) [with Product = KBytesEditWidget, ParentType 
= QObject]'
/usr/local/kde/include/kgenericfactory.tcc:183:   instantiated from 
`static QObject* KDEPrivate::MultiFactory<Product, 
ParentType>::create(QWidget*, const char*, QObject*, const char*, const 
char*, const QStringList&) [with Product = KBytesEditWidget, ParentType 
= QObject]'
/usr/local/kde/include/kgenericfactory.tcc:227:   instantiated from 
`static QObject* KDEPrivate::MultiFactory<KTypeList<T, U>, 
QObject>::create(QWidget*, const char*, QObject*, const char*, const 
char*, const QStringList&) [with Product = KBytesEditWidget, 
ProductListTail = KDE::NullType]'
/usr/local/kde/include/kgenericfactory.h:288:   instantiated from 
`QObject* KGenericFactory<KTypeList<T, U>, 
QObject>::createObject(QObject*, const char*, const char*, const 
QStringList&) [with Product = KBytesEditWidget, ProductListTail = 
KDE::NullType]'

---------------------------

Whats going on? The code looks OK and i cant figure out why it grooks.

HELP?

Regards Mats Röjestål




More information about the kde-solaris mailing list