![]() Registered Member ![]()
|
Hi all,
I know a solution would be to upgrade to Mandriva 2006 but I'd kinda like to get it working on this version. The configure completes cleanly but make produces the output below. Any help would be greatly appreciated. Thanks in advance. <snip> make all-recursive make[1]: Entering directory `/home/kev/tarballs/1/ktorrent-1.2' Making all in libktorrent make[2]: Entering directory `/home/kev/tarballs/1/ktorrent-1.2/libktorrent' Making all in util make[3]: Entering directory `/home/kev/tarballs/1/ktorrent-1.2/libktorrent/util' source='httprequest.cpp' object='httprequest.lo' libtool=yes \ depfile='.deps/httprequest.Plo' tmpdepfile='.deps/httprequest.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../libktorrent -I/usr/lib/qt3//include -I/usr/X11R6/include -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 httprequest.lo `test -f 'httprequest.cpp' || echo './'`httprequest.cpp In file included from httprequest.cpp:22: httprequest.h:25:27: kstreamsocket.h: No such file or directory In file included from httprequest.cpp:22: httprequest.h:85: error: `KNetwork' has not been declared httprequest.h:85: error: ISO C++ forbids declaration of `KStreamSocket' with no type httprequest.h:85: error: expected `;' before '*' token httprequest.cpp: In constructor `bt::HTTPRequest::HTTPRequest(const QString&, const QString&, const QString&, bt::Uint16)': httprequest.cpp:32: error: `sock' undeclared (first use this function) httprequest.cpp:32: error: (Each undeclared identifier is reported only once for each function it appears in.) httprequest.cpp:32: error: `KNetwork' has not been declared httprequest.cpp:32: error: `KStreamSocket' has not been declared httprequest.cpp: In destructor `virtual bt::HTTPRequest::~HTTPRequest()': httprequest.cpp:45: error: `sock' undeclared (first use this function) httprequest.cpp: In member function `void bt::HTTPRequest::start()': httprequest.cpp:51: error: `sock' undeclared (first use this function) httprequest.cpp: In member function `void bt::HTTPRequest::onReadyRead()': httprequest.cpp:69: error: `sock' undeclared (first use this function) httprequest.cpp: In member function `void bt::HTTPRequest::onError(int)': httprequest.cpp:92: error: `sock' undeclared (first use this function) httprequest.cpp: In member function `void bt::HTTPRequest::onTimeout()': httprequest.cpp:101: error: `sock' undeclared (first use this function) make[3]: *** [httprequest.lo] Error 1 make[3]: Leaving directory `/home/kev/tarballs/1/ktorrent-1.2/libktorrent/util' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kev/tarballs/1/ktorrent-1.2/libktorrent' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kev/tarballs/1/ktorrent-1.2' make: *** [all] Error 2 <snip>
kev.
|
![]() Registered Member ![]()
|
I think you need a newer version of KDE.
What happens if you "locate kstreamsocket.h"? If you can't find it, but configure succeeded, it means you have the KDE headers but not that header. If you can find it, maybe you have two different sets of KDE headers installed in two diferent places, and you're using the wrong set. Look at ./configure --help to see how to select the correct set. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
Indeed we use some functionality in the KDE libs which was only added in KDE 3.4. Allthough, I'm not sure if this applies for KT 1.2, it might be possible to run KT 1.2 on KDE 3.3. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]