![]() |
Compiling 0.5.4 If you are compiling 0.5.4 with gcc-3.2, you will need to add the following to src/HostCacheConnection.cpp: #include <iostream> On the other hand, src/SHA1Storage.cpp fails to compile with: SHA1Storage.cpp: In member function `QString* SHA1Storage::get(SharedFile*)': SHA1Storage.cpp:103: no method `std::char_traits<char>::eos' This is a problem because of the imgration from strstream to stringstream. I don't have a solution yet, though :-( |
Yep... same problem here Gentoo 1.4. That would probably explain why Gentoo's portage is still using 0.5.3 |
From the qtella-dev list: -- As far as I can tell gcc 3.2 doesn't have an implementation for std::string::traits_type::eos() in the libstdc++ library. There is an implementation for std::string::traits_type::eof() which you can change the line in SHA1Storage.cpp to. This will allow the build to complete. However, all is still not right with the world as I get the following errors when I run qtella: WARNING: KLocale: trying to look up "" in catalouge. Fix the program WARNING: KLocale: trying to look up "" in catalouge. Fix the program WARNING: KLocale: trying to look up "" in catalouge. Fix the program fcntl: Bad file descriptor fcntl: Bad file descriptor I'll investigate the KLocale warnings, but since I'm not a KDE guru results aren't assured. As for the fcntl errors... these will require more intimate knowlegde of the codebase which I really don't have. --- HTH Florian |
eos() is a simple zero termination of the string needed for the later n.data() call I think replace std::string::traits_type::eos() with '\0' |
All times are GMT -7. The time now is 12:51 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.