This forum has been archived. All content is frozen. Please use KDE Discuss instead.

compilying error on CentOS 4.3

Tags: None
(comma "," separated)
cholobodlaii
Registered Member
Posts
21
Karma
0

compilying error on CentOS 4.3

Sat Oct 21, 2006 1:46 am
i m getting this compilying error

make[4]: *** [infowidgetbase.lo] Error 1
make[4]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins/infowidget'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins/infowidget'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ktorrent-2.0.3'
make: *** [all] Error 2

any idea how can i resolve this? can i find any CentOS binary pacakge for 2.0.3? i just switched back to my CentOS from Ubuntu

i think its the problem with kde version. ii m using the older version 3.3.1
Moshroum
Registered Member
Posts
63
Karma
0

Sat Oct 21, 2006 8:58 am
Maybe you should post the real error not the things which came because of an error
George
Moderator
Posts
5421
Karma
1

Sat Oct 21, 2006 10:51 am
The bit before these lines, is where it goes wrong. So it would be helpfull to post this.
cholobodlaii
Registered Member
Posts
21
Karma
0

Sun Oct 22, 2006 5:19 am
i think this may help

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I./../../libktorrent -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o infowidgetbase.lo `test -f 'infowidgetbase.cpp' || echo './'`infowidgetbase.cpp
infowidgetbase.cpp: In constructor `InfoWidgetBase::InfoWidgetBase(QWidget*, const char*, uint)':
infowidgetbase.cpp:40: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:42: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:44: error: no matching function for call to `QWidget::QWidget(KTabWidget*&, const char[13])'
/usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(const QWidget&)
/usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QWidget*, const char*, uint)
infowidgetbase.cpp:213: error: no matching function for call to `QWidget::QWidget(KTabWidget*&, const char[12])'
/usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(const QWidget&)
/usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QWidget*, const char*, uint)
infowidgetbase.cpp:224: error: no matching function for call to `QHBoxLayout::addWidget(KTabWidget*&)'
/usr/lib/qt-3.3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int)
make[4]: *** [infowidgetbase.lo] Error 1
make[4]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins/infowidget'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins/infowidget'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/ktorrent-2.0.3/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ktorrent-2.0.3'
make: *** [all] Error 2
George
Moderator
Posts
5421
Karma
1

Sun Oct 22, 2006 10:25 am
Can you post the files named infowidgetbase.cpp and infowidgetbase.ui ?
cholobodlaii
Registered Member
Posts
21
Karma
0

Tue Oct 24, 2006 7:57 am
George wrote:Can you post the files named infowidgetbase.cpp and infowidgetbase.ui ?


Thanks George that helped and its up and running now, i will let u know how it works in centos 4.3, it was working very fine with ubuntu 6.06
cholobodlaii
Registered Member
Posts
21
Karma
0

Wed Oct 25, 2006 1:30 pm
getting better performance in CentOS 4.3 then Ubuntu 6.06T .. loving it.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]