Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Qtella (Linux/Unix) (https://www.gnutellaforums.com/qtella-linux-unix/)
-   -   error during make (https://www.gnutellaforums.com/qtella-linux-unix/60311-error-during-make.html)

Ax3 August 22nd, 2006 05:13 PM

error during make
 
Hello

I am not able to install Qtella 0.6.5. Iam getting the following error during 'make:

Making all in src
make[2]: Entering directory `/home/vincent/qtella/qtella-0.6.5/src'
if g++ -DHAVE_CONFIG_H -fexceptions -DUSEKDE -DPIXMAPDIR=\"/usr/local/share/qtella/pixmaps\" -DLANG_DIR=\"/usr/local/share/qtella/language\" -I. -I. -I.. -DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/lib/qt3/include -I/opt/kde3/include -I/usr/include/vorbis -g -O2 -MT AudioFile.o -MD -MP -MF ".deps/AudioFile.Tpo" -c -o AudioFile.o AudioFile.cpp; \
then mv -f ".deps/AudioFile.Tpo" ".deps/AudioFile.Po"; else rm -f ".deps/AudioFile.Tpo"; exit 1; fi
../include/AudioMp3.h:14: error: extra qualification ‘AudioMp3::’ on member ‘AudioMp3’
../include/AudioWav.h:14: error: extra qualification ‘AudioWav::’ on member ‘AudioWav’
../include/AudioOgg.h:14: error: extra qualification ‘AudioOgg::’ on member ‘AudioOgg’
make[2]: *** [AudioFile.o] Error 1
make[2]: Leaving directory `/home/vincent/qtella/qtella-0.6.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vincent/qtella/qtella-0.6.5'
make: *** [all] Error 2


I have searched to no avail. Plz help.

jasper.noid October 3rd, 2007 10:44 PM

Same here.
 
Same problem. Anyone know what's going on here?

jasper.noid October 3rd, 2007 10:57 PM

Oh well... fixed.
 
OK, so after my last post I figured, what the heck, why don't I actually just look at the source code that won't compile. The problem is pretty obvious: in the 3 header files AudioMp3.h, AudioOgg.h and AudioWav.h, the namespace/class qualifier is used inside the class declaration. AFAIK, this is simply broken code that no compiler will swallow, but who knows perhaps there are C++ compilers out there that think it's all good. Anyway, by simply deleting the qualifiers from the members in each of the three files, I got the code to compile cleanly. What's strange though, is that this broken code came straight out of a Qtella download. Oh well..

B4ckBOne January 30th, 2008 09:13 AM

Quote:

Originally Posted by jasper.noid (Post 291246)
Anyway, by simply deleting the qualifiers from the members in each of the three files, I got the code to compile cleanly.

Hello Jasper.noid,
could you please tell me what i have to delete?
im not that good at c++ programming.
Line Number or a Word to search for in these files would be great.

Thx Man

B4ckBOne

JBSlack February 6th, 2008 05:44 AM

What to edit.
 
You'll need to extract your .tar.gz file, and navigate to the folder 'Includes'.

In there you'll find the three files you're looking for, AudioWav.h, AudioOgg.h, and AudioMp3.h.

Open those files with your favorite editor, I used bluefish but I think your standard text editor will work fine as well. And change the following:

AudioMp3::AudioMp3( std::string filename );
CHANGE INTO:
AudioMp3 ( std::string filename );

and do the same for the other files, but ofcourse there will be AudioWav::AudioWav( std::string filename ); and AudioOgg::AudioOgg--etc
in the other files.

I hope this solves the problem.


JB.

B4ckBOne February 6th, 2008 09:14 AM

thanks man, it installed well

JBSlack February 6th, 2008 12:10 PM

np ;)


All times are GMT -7. The time now is 09:45 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.