Re: Problem building kdeutils
"Albertson, Brett" <[email protected]>
| Newsgroups | gmane.comp.kde.solaris |
|---|---|
| Message-ID | <[email protected]> |
CS, DS, and FS are all reserved words. Either undef them, or change their names to get it to compile. Brett Albertson [email protected] 919-379-8449 -----Original Message----- From: Tom Baum [mailto:[email protected]] Sent: Friday, May 04, 2007 3:31 PM To: [email protected] Subject: [kde-solaris] Problem building kdeutils Hi! I'm trying to build kdeutils 3.5.6 on Solaris 10 x86 with gcc. make[3]: Entering directory `/var/playground/ULMkde3/src/kdeutils-3.5.6/khexedit /parts' Making all in kbytesedit make[4]: Entering directory `/var/playground/ULMkde3/src/kdeutils-3.5.6/khexedit /parts/kbytesedit' /bin/ksh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../lib -I/usr/local/kde-3.5.6/include -I/usr/local/qt3 /include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_S OLARIS -DSVR4 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEB UG -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLE AN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kbyteseditwidget.lo kbyteseditwidget.cpp In file included from kbyteseditwidget.cpp:25: ./../../lib/kbytesedit.h:76: error: expected `,' or `...' before numeric constant ./../../lib/kbytesedit.h:84: error: expected `,' or `...' before numeric constant ./../../lib/kbytesedit.h:84: 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(ch ar*, int, int, bool)' does not match any in class `KBytesEditWidget' kbyteseditwidget.h:59: error: candidate is: virtual void KBytesEditWidget::setData(char*, int) /usr/local/kde-3.5.6/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-3.5.6/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-3.5.6/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-3.5.6/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-3.5.6/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]' kbyteseditwidget.cpp:319: instantiated from here /usr/local/kde-3.5.6/include/kgenericfactory.tcc:157: error: cannot allocate an object of type `KBytesEditWidget' /usr/local/kde-3.5.6/include/kgenericfactory.tcc:157: error: because the following virtual functions are abstract: /usr/local/kde-3.5.6/include/khexedit/byteseditinterface.h:89: error: virtual void KHE::BytesEditInterface::setData(char*, int, int, bool) make[4]: *** [kbyteseditwidget.lo] Error 1 make[4]: Leaving directory `/var/playground/ULMkde3/src/kdeutils-3.5.6/khexedit/parts/kbytesedit' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/playground/ULMkde3/src/kdeutils-3.5.6/khexedit/parts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/playground/ULMkde3/src/kdeutils-3.5.6/khexedit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/playground/ULMkde3/src/kdeutils-3.5.6' make: *** [all] Error 2 I've configured kdeutils: ./configure --prefix=$KDE_PREFIX --disable-debug \ --disable-dependency-tracking \ --with-qt-dir=/usr/local/qt3 I've allready managed to build arts,libs,base,network,pim,edu,graphics,multimedia. Any ideas? regarts, Tom ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html. ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.