Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > Qtella (Linux/Unix)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Qtella (Linux/Unix) Qtella has been discontinued. We highly recommend you use an actively developed client instead.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 26th, 2002
Unregistered
Guest
 
Posts: n/a
Unhappy 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 :-(
Reply With Quote
  #2 (permalink)  
Old November 23rd, 2002
Unregistered
Guest
 
Posts: n/a
Angry

Yep... same problem here Gentoo 1.4.
That would probably explain why Gentoo's portage is still using 0.5.3
Reply With Quote
  #3 (permalink)  
Old November 24th, 2002
Florian Lindner
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #4 (permalink)  
Old December 21st, 2002
Novicius
 
Join Date: December 21st, 2002
Posts: 1
mobj is flying high
Default

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'
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling 0.6.1 jlb Qtella (Linux/Unix) 2 March 17th, 2003 06:54 PM
Compiling 0.6.0 J.B Qtella (Linux/Unix) 6 February 4th, 2003 02:22 PM
Compiling 0.5.4 Goog Qtella (Linux/Unix) 2 January 11th, 2003 07:45 PM
Compiling Unregistered Open Discussion topics 3 April 18th, 2002 04:45 AM
pb when compiling Unregistered Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 1 April 10th, 2002 04:40 AM


All times are GMT -7. The time now is 12:47 PM.


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.