![]() Registered Member ![]()
|
I get the following error while compiling on Gentoo:
cachefile.cpp: In member function 'void bt::CacheFile::preallocate(bt::PreallocationThread*)': cachefile.cpp:455: error: 'XfsPreallocate' was not declared in this scope cachefile.cpp: At global scope: cachefile.cpp:428: warning: unused parameter 'prealloc' authenticationmonitor.cpp: In member function 'void bt::AuthenticationMonitor::update()': authenticationmonitor.cpp:93: warning: comparison between signed and unsigned integer expressions timeestimator.cpp: In member function 'bt::Uint32 bt::TimeEstimator::estimate()': timeestimator.cpp:59: warning: enumeration value 'ETA_WINX' not handled in switch timeestimator.cpp:59: warning: enumeration value 'ETA_MAVG' not handled in switch make[4]: *** [libtorrent_la.all_cpp.lo] Error 1 make[4]: Leaving directory `/tmp/portage/net-p2p/ktorrent-2.2_rc1/work/ktorrent-2.2rc1/libktorrent/torrent' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/portage/net-p2p/ktorrent-2.2_rc1/work/ktorrent-2.2rc1/libktorrent' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/portage/net-p2p/ktorrent-2.2_rc1/work/ktorrent-2.2rc1/libktorrent' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/net-p2p/ktorrent-2.2_rc1/work/ktorrent-2.2rc1' make: *** [all] Error 2 I wonder if I'm missing a dependency... this is not from an official Gentoo ebuild, just my own attempt at compiling which is why I posted here instead of Gentoo. |
![]() Registered Member ![]()
|
I also get this error (I missed it the first time)
multifilecache.cpp: In member function 'void bt::MultiFileCache::recreateFile(bt::TorrentFile*, const QString&, const QString&)': multifilecache.cpp:573: error: 'XfsPreallocate' was not declared in this scope multifilecache.cpp:573: error: expected `;' before ')' token |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
sent you an email with files attached |
![]() Registered Member ![]()
|
OMG, how did it get through?!
![]() First try this patch and if it still doesn't compile then apply this patch (in the same dir, after applying first patch). Patching: in unpacked KT dir (where the „configure†file):
<making_it_visible> ![]() </making_it_visible> |
![]() Registered Member ![]()
|
was there something I did with the configure that is different from normal? The reason I ask is because I have 2 Gentoo boxes that have reasonably the same config (only difference is one is AMD 64 X2 while the other is only AMD 64) and some packages differ. But overall they are the same. One of the systems (X2) failed compilation, while single core passed
The computer the compilation failed on has the sys-fs/xfsprogs installed, while the single core machine did not. Was that the only difference? John |
![]() Registered Member ![]()
|
Looks like applying both patches worked for me. Thanks for your help. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
I really don't know ![]()
Because of „config.h†not being included in „fileopsâ€, the syntax error between preprocessor „guards†(which evaluated as false due to missing hdr) passed through. |
![]() Moderator ![]()
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]